Makefile revision 103412
150476Speter# $FreeBSD: head/lib/libkse/Makefile 103412 2002-09-16 19:29:34Z mini $ 213546Sjulian# 394797Sobrien# All library objects contain FreeBSD revision strings by default; they may be 413546Sjulian# excluded as a space-saving measure. To produce a library that does 594797Sobrien# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS 694797Sobrien# below. Note, there are no IDs for syscall stubs whose sources are generated. 794797Sobrien# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS 894797Sobrien# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the 994797Sobrien# system call stubs. 10103388SminiLIB=pthread 1168699SobrienSHLIB_MAJOR= 5 1215635SpeterSHLIB_MINOR= 0 1394797SobrienCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 14103388SminiCFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ 1594797Sobrien -I${.CURDIR}/../../include 1636831Sjb 17103412Smini# Uncomment this if you want libpthread to contain debug information for 1836831Sjb# thread locking. 1948569SjasoneCFLAGS+=-D_LOCK_DEBUG 2036831Sjb 2153812Salfred# enable extra internal consistancy checks 2267099SdeischenCFLAGS+=-D_PTHREADS_INVARIANTS 2353812Salfred 24103388SminiAINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread 2513546SjulianPRECIOUSLIB= yes 2613546Sjulian 2717706Sjulian.include "${.CURDIR}/man/Makefile.inc" 28103388Smini.include "${.CURDIR}/thread/Makefile.inc" 2913546Sjulian.include "${.CURDIR}/sys/Makefile.inc" 3013546Sjulian 3113546Sjulian.include <bsd.lib.mk> 32