Makefile 756 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. PKG_NAME:=cloog-ppl
  9. PKG_VERSION:=0.15.11
  10. PKG_SOURCE_URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_MD5SUM:=060ae4df6fb8176e021b4d033a6c0b9e
  13. HOST_FIXUP:=autoreconf
  14. include $(INCLUDE_DIR)/host-build.mk
  15. unexport CFLAGS
  16. HOST_CONFIGURE_VARS += \
  17. LIBS=-lstdc++
  18. HOST_CONFIGURE_ARGS += \
  19. --enable-static \
  20. --disable-shared \
  21. --with-ppl=$(BUILD_DIR_HOST)
  22. define Host/Configure
  23. (cd $(HOST_BUILD_DIR)/$(3); \
  24. $(HOST_CONFIGURE_CMD) \
  25. $(HOST_CONFIGURE_VARS) \
  26. $(HOST_CONFIGURE_ARGS); \
  27. )
  28. endef
  29. $(eval $(call HostBuild))