Root/tools/cloog/Makefile

1#
2# Copyright (C) 2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=cloog-ppl
10PKG_VERSION:=0.15.7
11
12PKG_SOURCE_URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_MD5SUM:=6455e7875daac5bd885545c71c3f2001
15
16include $(INCLUDE_DIR)/host-build.mk
17
18unexport CFLAGS
19
20ifeq ($(HOST_OS),Darwin)
21  GNU_HOST_NAME:=
22  HOST_CONFIGURE_ARGS:=$(filter-out --target= --build= --host=,$(HOST_CONFIGURE_ARGS))
23endif
24
25HOST_CONFIGURE_VARS += \
26    LIBS=-lstdc++
27
28HOST_CONFIGURE_ARGS += \
29    --enable-static \
30    --disable-shared \
31    --with-ppl=$(BUILD_DIR_HOST)
32
33define Host/Configure
34    (cd $(HOST_BUILD_DIR)/$(3); \
35        $(HOST_CONFIGURE_CMD) \
36        $(HOST_CONFIGURE_VARS) \
37        $(HOST_CONFIGURE_ARGS); \
38    )
39endef
40
41
42$(eval $(call HostBuild))
43

Archive Download this file



interactive