Makefile 868 B

12345678910111213141516171819202122232425262728293031
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= lzma
  5. PKG_VERSION:= 4.65
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 434e51a018b4c8ef377bf81520a53af0
  8. PKG_SITES:= http://downloads.openwrt.org/sources/
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  10. #WRKDIST= ${WRKDIR}/$(PKG_NAME)${PKG_VERSION}
  11. include ../rules.mk
  12. all: ${STAGING_HOST_DIR}/bin/lzma
  13. UTIL_DIR=$(WRKBUILD)/C/LzmaUtil
  14. ALONE_DIR=$(WRKBUILD)/CPP/7zip/Compress/LZMA_Alone
  15. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  16. $(MAKE) -C $(UTIL_DIR) -f makefile.gcc
  17. $(MAKE) -C $(ALONE_DIR) -f makefile.gcc
  18. touch $@
  19. ${STAGING_HOST_DIR}/bin/lzma: $(WRKBUILD)/.compiled
  20. $(INSTALL_BIN) $(WRKBUILD)/CPP/7zip/Compress/LZMA_Alone/lzma_alone \
  21. $(STAGING_DIR)/bin/lzma
  22. include $(TOPDIR)/mk/tools.mk