thread libs: move libc_r and libthread_xu to /usr/lib/thread
[dragonfly.git] / lib / libthread_xu / Makefile
CommitLineData
71b3fa15 1# $FreeBSD: src/lib/libpthread/Makefile,v 1.53 2004/10/24 15:32:32 ru Exp $
cf7109a0
SW
2# $DragonFly: src/lib/libthread_xu/Makefile,v 1.7 2008/10/28 17:23:46 swildner Exp $
3
71b3fa15 4LIB=thread_xu
f675e8b5 5SHLIB_MAJOR= 2
71b3fa15
DX
6CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE
7CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
8 -I${.CURDIR}/../../include
9CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include
3cd47da3 10CFLAGS+=-I${.CURDIR}/../libthread_db
71b3fa15 11
71b3fa15
DX
12# CFLAGS+=-DSYSTEM_SCOPE_ONLY
13
5e54f4dd
SS
14# XXX this breaks threaded applications
15#LDFLAGS=-Wl,-version-script=${.CURDIR}/pthread.map
71b3fa15
DX
16
17# enable extra internal consistancy checks
f7d9d915 18CFLAGS+=-D_PTHREADS_INVARIANTS
71b3fa15
DX
19
20PRECIOUSLIB= yes
21
54674d33
SS
22LIBDIR= /usr/lib/thread
23NOPROFILE= yes
24
71b3fa15 25.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
71b3fa15
DX
26.include "${.CURDIR}/thread/Makefile.inc"
27
28.include <bsd.lib.mk>