Makefile revision 120533
197403Sobrien# $FreeBSD: head/lib/libthr/Makefile 120533 2003-09-27 23:27:19Z marcel $ 297403Sobrien# 3169691Skan# All library objects contain FreeBSD revision strings by default; they may be 497403Sobrien# excluded as a space-saving measure. To produce a library that does 597403Sobrien# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS 697403Sobrien# below. Note, there are no IDs for syscall stubs whose sources are generated. 797403Sobrien# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS 897403Sobrien# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the 997403Sobrien# system call stubs. 1097403SobrienLIB=thr 1197403SobrienSHLIB_MAJOR= 1 1297403SobrienDEBUG_FLAGS=-g 1397403SobrienCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 1497403SobrienCFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ 1597403Sobrien -I${.CURDIR}/../../include 1697403Sobrien 1797403Sobrien# enable extra internal consistancy checks 1897403SobrienCFLAGS+=-D_PTHREADS_INVARIANTS 19169691Skan 2097403SobrienPRECIOUSLIB= yes 2197403Sobrien 2297403SobrienWARNS?= 2 2397403Sobrien 2497403Sobrien.include "${.CURDIR}/thread/Makefile.inc" 2597403Sobrien.include "${.CURDIR}/sys/Makefile.inc" 2697403Sobrien.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 2797403Sobrien 2897403Sobrien.include <bsd.lib.mk> 2997403Sobrien