Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= libXt
  5. PKG_VERSION:= 1.1.3
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 7a80ed7aba06668b12ebd0910318a1f1
  8. PKG_DESCR:= X Toolkit Intrinsics libraries
  9. PKG_SECTION:= x11/libs
  10. PKG_DEPENDS:= libsm libice libuuid libx11 libxau libxdmcp libxcb
  11. PKG_BUILDDEP:= autotool util-macros-host libICE-host libSM-host
  12. PKG_BUILDDEP+= libXt-host
  13. PKG_BUILDDEP+= libSM libX11 kbproto util-macros
  14. PKG_SITES:= ${MASTER_SITE_XORG}
  15. PKG_LIBNAME:= libxt
  16. PKG_OPTS:= dev
  17. include $(TOPDIR)/mk/host.mk
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. HOST_STYLE:= auto
  22. AUTOTOOL_STYLE:= autoreconf
  23. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  24. CONFIGURE_ENV+= CFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)"
  25. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  26. libxt-install:
  27. ${INSTALL_DIR} ${IDIR_LIBXT}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libXt.so* ${IDIR_LIBXT}/usr/lib
  29. include ${TOPDIR}/mk/host-bottom.mk
  30. include ${TOPDIR}/mk/pkg-bottom.mk