Deleted Added
full compact
Makefile (144710) Makefile (144921)
1# $FreeBSD: head/lib/libthr/Makefile 144710 2005-04-06 13:48:11Z davidxu $
1# $FreeBSD: head/lib/libthr/Makefile 144921 2005-04-12 03:00:28Z davidxu $
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
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
17CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
18CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
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
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
17CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
18CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
19CFLAGS+=-I${.CURDIR}/../libthread_db
19CFLAGS+=-Winline
20
21# CFLAGS+=-DSYSTEM_SCOPE_ONLY
22
23LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map
24
25# enable extra internal consistancy checks
26CFLAGS+=-D_PTHREADS_INVARIANTS -Wall
27CFLAGS+=-g
28
29PRECIOUSLIB=
30
31.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
32.include "${.CURDIR}/sys/Makefile.inc"
33.include "${.CURDIR}/thread/Makefile.inc"
34
35.include <bsd.lib.mk>
20CFLAGS+=-Winline
21
22# CFLAGS+=-DSYSTEM_SCOPE_ONLY
23
24LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map
25
26# enable extra internal consistancy checks
27CFLAGS+=-D_PTHREADS_INVARIANTS -Wall
28CFLAGS+=-g
29
30PRECIOUSLIB=
31
32.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
33.include "${.CURDIR}/sys/Makefile.inc"
34.include "${.CURDIR}/thread/Makefile.inc"
35
36.include <bsd.lib.mk>