Makefile 833 B

12345678910111213141516171819202122232425262728293031323334
  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:=mklibs
  9. PKG_VERSION:=0.1.35
  10. PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
  11. PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mklibs/
  12. PKG_MD5SUM:=3d2a4bd0bbf5ba964b0a1ecdafd1ea9a
  13. HOST_FIXUP:=autoreconf
  14. include $(INCLUDE_DIR)/host-build.mk
  15. HOST_CFLAGS += -I$(CURDIR)/include
  16. define Host/Install
  17. $(INSTALL_BIN) \
  18. $(HOST_BUILD_DIR)/src/mklibs \
  19. $(HOST_BUILD_DIR)/src/mklibs-copy \
  20. $(HOST_BUILD_DIR)/src/mklibs-readelf/mklibs-readelf \
  21. $(STAGING_DIR_HOST)/bin/
  22. endef
  23. define Host/Clean
  24. rm -f $(STAGING_DIR_HOST)/bin/mklibs*
  25. endef
  26. $(eval $(call HostBuild))