kernel - Fix issue w/ buffer ortation when doing non-blocking read from bpf
[dragonfly.git] / lib / libthread_xu / Makefile
blob14bbe53b0cc416eff702d335b187006bdfb73949
1 # $FreeBSD: src/lib/libpthread/Makefile,v 1.53 2004/10/24 15:32:32 ru Exp $
2 # $DragonFly: src/lib/libthread_xu/Makefile,v 1.7 2008/10/28 17:23:46 swildner Exp $
4 LIB=thread_xu
5 SHLIB_MAJOR= 2
6 CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE
7 CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
8 -I${.CURDIR}/../../include
9 CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include
10 CFLAGS+=-I${.CURDIR}/../libthread_db
12 # CFLAGS+=-DSYSTEM_SCOPE_ONLY
14 # XXX this breaks threaded applications
15 #LDFLAGS=-Wl,-version-script=${.CURDIR}/pthread.map
17 # enable extra internal consistancy checks
18 CFLAGS+=-D_PTHREADS_INVARIANTS
20 PRECIOUSLIB= yes
22 LIBDIR= /usr/lib/thread
23 NOPROFILE= yes
25 .include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
26 .include "${.CURDIR}/thread/Makefile.inc"
28 .include <bsd.lib.mk>