Makefile revision 113659
1# $FreeBSD: head/lib/libkse/Makefile 113659 2003-04-18 05:06:56Z deischen $ 2# 3# All library objects contain FreeBSD revision strings by default; they may be 4# excluded as a space-saving measure. To produce a library that does 5# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS 6# below. Note, there are no IDs for syscall stubs whose sources are generated. 7# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS 8# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the 9# system call stubs. 10LIB=kse 11SHLIB_MAJOR= 1 12CFLAGS+=-DPTHREAD_KERNEL 13CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ 14 -I${.CURDIR}/../../include 15CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include 16CFLAGS+=-I${.CURDIR}/sys 17 18# Uncomment this if you want libpthread to contain debug information for 19# thread locking. 20#CFLAGS+=-D_LOCK_DEBUG -g 21 22# enable extra internal consistancy checks 23CFLAGS+=-D_PTHREADS_INVARIANTS -Wall 24 25AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread 26PRECIOUSLIB= yes 27 28.include "${.CURDIR}/man/Makefile.inc" 29.include "${.CURDIR}/thread/Makefile.inc" 30.include "${.CURDIR}/sys/Makefile.inc" 31 32.include <bsd.lib.mk> 33