Makefile 858 B

123456789101112131415161718192021222324252627282930
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= ltp-full
  7. PKG_VERSION:= 20061121
  8. PKG_RELEASE:= 2
  9. PKG_MD5SUM:= f01dd2119c5d4462e876229df394ecbf
  10. MASTER_SITES:= http://switch.dl.sourceforge.net/sourceforge/ltp/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LTP,ltp,${PKG_VERSION}-${PKG_RELEASE}))
  14. BUILD_STYLE:= auto
  15. INSTALL_STYLE:= auto
  16. XAKE_FLAGS+= CROSS_COMPILER="${TARGET_CROSS}" \
  17. CROSS_CFLAGS="${TCFLAGS} -I${WRKBUILD}/include" \
  18. CPPFLAGS="${TCPPFLAGS}" \
  19. LDFLAGS="${TLDFLAGS}"
  20. post-install:
  21. ${CP} ${WRKBUILD} ${IDIR_LTP}
  22. find ${IDIR_LTP} \( -name '*.c' -o -name '*.h' -o -name '*.o' \) -exec rm '{}' \;
  23. include ${TOPDIR}/mk/pkg-bottom.mk