Makefile 956 B

1234567891011121314151617181920212223242526272829303132
  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:= m4
  5. PKG_VERSION:= 1.4.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a5dfb4f2b7370e9d34293d23fd09b280
  8. PKG_DESCR:= macro processor
  9. PKG_SECTION:= lang
  10. PKG_BUILDDEP:= m4-host
  11. PKG_URL:= http://www.gnu.org/software/m4/
  12. PKG_SITES:= ${MASTER_SITE_GNU:=m4/}
  13. include ${TOPDIR}/mk/host.mk
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call HOST_template,M4,m4,${PKG_VERSION}-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,M4,m4,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. HOST_STYLE:= auto
  18. CONFIGURE_ENV+= ac_cv_func_posix_spawn=yes \
  19. ac_cv_func_posix_spawn_works=yes
  20. TARGET_LDFLAGS+= -lrt
  21. m4-install:
  22. ${INSTALL_DIR} ${IDIR_M4}/usr/bin
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/m4 ${IDIR_M4}/usr/bin
  24. include ${TOPDIR}/mk/host-bottom.mk
  25. include ${TOPDIR}/mk/pkg-bottom.mk