Makefile 1000 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libpthread-stubs
  5. PKG_VERSION:= 0.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= a09d928c4af54fe5436002345ef71138
  8. PKG_DESCR:= pthread stubs
  9. PKG_SECTION:= dev/header
  10. PKG_BUILDDEP:= libpthread-stubs-host
  11. PKG_URL:= http://xcb.freedesktop.org/
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. PKG_OPTS:= dev devonly
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/host.mk
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE}))
  18. $(eval $(call PKG_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
  20. TARGET_LDFLAGS+= -pthread
  21. endif
  22. HOST_STYLE:= auto
  23. include ${ADK_TOPDIR}/mk/host-bottom.mk
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk