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 $
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
22 LIBDIR
= /usr
/lib
/thread
25 .
include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
26 .
include "${.CURDIR}/thread/Makefile.inc"