Makefile 810 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #
  2. # Copyright (C) 2009-2013 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
  9. PKG_VERSION:=0.18.1
  10. PKG_SOURCE_URL:=http://www.bastoul.net/cloog/pages/download/
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_MD5SUM:=e34fca0540d840e5d0f6427e98c92252
  13. HOST_FIXUP:=autoreconf
  14. HOST_BUILD_PARALLEL:=1
  15. HOST_CONFIGURE_PARALLEL:=1
  16. include $(INCLUDE_DIR)/host-build.mk
  17. unexport CFLAGS
  18. HOST_CONFIGURE_VARS += \
  19. LIBS=-lstdc++
  20. HOST_CONFIGURE_ARGS += \
  21. --enable-static \
  22. --disable-shared \
  23. --with-ppl=$(BUILD_DIR_HOST)
  24. define Host/Configure
  25. (cd $(HOST_BUILD_DIR)/$(3); \
  26. $(HOST_CONFIGURE_CMD) \
  27. $(HOST_CONFIGURE_VARS) \
  28. $(HOST_CONFIGURE_ARGS); \
  29. )
  30. endef
  31. $(eval $(call HostBuild))