binutils: update to 2.43.1
[openadk.git] / package / libpthread-stubs / Makefile
blob3ada9f220c7f306b29552f6ba3f6d221f4d2f978
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libpthread-stubs
7 PKG_VERSION:= 0.3
8 PKG_RELEASE:= 2
9 PKG_HASH:= 3031f466cf0b06de6b3ccbf2019d15c4fcf75229b7d226a711bc1885b3a82cde
10 PKG_DESCR:= pthread stubs
11 PKG_SECTION:= dev/header
12 PKG_BUILDDEP:= libpthread-stubs-host
13 PKG_URL:= http://xcb.freedesktop.org/
14 PKG_SITES:= http://xcb.freedesktop.org/dist/
15 PKG_OPTS:= dev devonly
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include $(ADK_TOPDIR)/mk/host.mk
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call HOST_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE}))
23 $(eval $(call PKG_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
26 TARGET_LDFLAGS+= -pthread
27 endif
29 HOST_STYLE:= auto
31 include ${ADK_TOPDIR}/mk/host-bottom.mk
32 include ${ADK_TOPDIR}/mk/pkg-bottom.mk