Deleted Added
full compact
Makefile (133775) Makefile (136910)
1# $FreeBSD: head/lib/libthr/Makefile 133775 2004-08-15 21:51:18Z dfr $
1# $FreeBSD: head/lib/libthr/Makefile 136910 2004-10-24 15:33:08Z ru $
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=thr
11SHLIB_MAJOR= 1
12DEBUG_FLAGS=-g
13CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE
14CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
15 -I${.CURDIR}/../../include
16CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
17
18# enable extra internal consistancy checks
19CFLAGS+=-D_PTHREADS_INVARIANTS
20
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=thr
11SHLIB_MAJOR= 1
12DEBUG_FLAGS=-g
13CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE
14CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
15 -I${.CURDIR}/../../include
16CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
17
18# enable extra internal consistancy checks
19CFLAGS+=-D_PTHREADS_INVARIANTS
20
21PRECIOUSLIB= yes
21PRECIOUSLIB=
22
23WARNS?= 2
24
25.include "${.CURDIR}/thread/Makefile.inc"
26.include "${.CURDIR}/sys/Makefile.inc"
27.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
28
29.include <bsd.lib.mk>
22
23WARNS?= 2
24
25.include "${.CURDIR}/thread/Makefile.inc"
26.include "${.CURDIR}/sys/Makefile.inc"
27.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
28
29.include <bsd.lib.mk>