cloog: update to 0.15.11
[openwrt/staging/mkresin.git] / 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 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=cloog-ppl
10 PKG_VERSION:=0.15.11
11
12 PKG_SOURCE_URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_MD5SUM:=060ae4df6fb8176e021b4d033a6c0b9e
15
16 HOST_FIXUP:=autoreconf
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 unexport CFLAGS
21
22 HOST_CONFIGURE_VARS += \
23 LIBS=-lstdc++
24
25 HOST_CONFIGURE_ARGS += \
26 --enable-static \
27 --disable-shared \
28 --with-ppl=$(BUILD_DIR_HOST)
29
30 define Host/Configure
31 (cd $(HOST_BUILD_DIR)/$(3); \
32 $(HOST_CONFIGURE_CMD) \
33 $(HOST_CONFIGURE_VARS) \
34 $(HOST_CONFIGURE_ARGS); \
35 )
36 endef
37
38
39 $(eval $(call HostBuild))