Deleted Added
full compact
Makefile (117178) Makefile (117706)
1# $FreeBSD: head/lib/libkse/Makefile 117178 2003-07-02 20:51:30Z ru $
1# $FreeBSD: head/lib/libkse/Makefile 117706 2003-07-17 23:02:30Z 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.

--- 7 unchanged lines hidden (view full) ---

17CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
18CFLAGS+=-fno-builtin
19
20# Uncomment this if you want libpthread to contain debug information for
21# thread locking.
22CFLAGS+=-D_LOCK_DEBUG
23#CFLAGS+= -g
24
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.

--- 7 unchanged lines hidden (view full) ---

17CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
18CFLAGS+=-fno-builtin
19
20# Uncomment this if you want libpthread to contain debug information for
21# thread locking.
22CFLAGS+=-D_LOCK_DEBUG
23#CFLAGS+= -g
24
25# Uncomment this if you want to build a 1:1 threading mode library
26# however it is no longer strictly conformed to POSIX
27# CFLAGS+=-DSYSTEM_SCOPE_ONLY
28
25LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map
26
27# enable extra internal consistancy checks
28CFLAGS+=-D_PTHREADS_INVARIANTS -Wall
29
30PRECIOUSLIB= yes
31
32.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
33.include "${.CURDIR}/support/Makefile.inc"
34.include "${.CURDIR}/sys/Makefile.inc"
35.include "${.CURDIR}/thread/Makefile.inc"
36
37.include <bsd.lib.mk>
38
39# Can't put thr_support.c in SRCS but want it in .depend.
40${DEPENDFILE}: thr_support.c
41
42# LIBC_PIC is defined only after <bsd.lib.mk> is included.
43thr_libc.So: ${LIBC_PIC}
29LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map
30
31# enable extra internal consistancy checks
32CFLAGS+=-D_PTHREADS_INVARIANTS -Wall
33
34PRECIOUSLIB= yes
35
36.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
37.include "${.CURDIR}/support/Makefile.inc"
38.include "${.CURDIR}/sys/Makefile.inc"
39.include "${.CURDIR}/thread/Makefile.inc"
40
41.include <bsd.lib.mk>
42
43# Can't put thr_support.c in SRCS but want it in .depend.
44${DEPENDFILE}: thr_support.c
45
46# LIBC_PIC is defined only after <bsd.lib.mk> is included.
47thr_libc.So: ${LIBC_PIC}