Makefile (156611) | Makefile (156774) |
---|---|
1# $FreeBSD: head/lib/libkse/Makefile 156611 2006-03-13 00:59:51Z deischen $ | 1# $FreeBSD: head/lib/libkse/Makefile 156774 2006-03-16 15:17:47Z 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. --- 16 unchanged lines hidden (view full) --- 26# thread locking. 27CFLAGS+=-D_LOCK_DEBUG 28#CFLAGS+= -g 29 30# Uncomment this if you want to build a 1:1 threading mode library 31# however it is no longer strictly conformed to POSIX 32# CFLAGS+=-DSYSTEM_SCOPE_ONLY 33 | 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. --- 16 unchanged lines hidden (view full) --- 26# thread locking. 27CFLAGS+=-D_LOCK_DEBUG 28#CFLAGS+= -g 29 30# Uncomment this if you want to build a 1:1 threading mode library 31# however it is no longer strictly conformed to POSIX 32# CFLAGS+=-DSYSTEM_SCOPE_ONLY 33 |
34LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map -Wl,-zmuldefs 35 36# enable extra internal consistancy checks | 34# Enable extra internal consistancy checks. |
37CFLAGS+=-D_PTHREADS_INVARIANTS -Wall | 35CFLAGS+=-D_PTHREADS_INVARIANTS -Wall |
36 37VERSION_MAP=${.CURDIR}/pthread.map 38 |
|
38.if defined(SYMVER_ENABLED) | 39.if defined(SYMVER_ENABLED) |
40# Remove this if library version is bumped and LIBPTHREAD_1_0 41# compatability hacks are removed (see thread/thr_private.h). 42LDFLAGS+=-Wl,-zmuldefs |
|
39CFLAGS+=-DSYMBOL_VERSIONING 40.endif 41 42PRECIOUSLIB= 43 44.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 45.include "${.CURDIR}/support/Makefile.inc" 46.include "${.CURDIR}/sys/Makefile.inc" 47.include "${.CURDIR}/thread/Makefile.inc" 48 49.include <bsd.lib.mk> | 43CFLAGS+=-DSYMBOL_VERSIONING 44.endif 45 46PRECIOUSLIB= 47 48.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 49.include "${.CURDIR}/support/Makefile.inc" 50.include "${.CURDIR}/sys/Makefile.inc" 51.include "${.CURDIR}/thread/Makefile.inc" 52 53.include <bsd.lib.mk> |