Makefile (212630) | Makefile (213153) |
---|---|
1# $FreeBSD: head/lib/libthr/Makefile 212630 2010-09-15 02:56:32Z davidxu $ | 1# $FreeBSD: head/lib/libthr/Makefile 213153 2010-09-25 01:57:47Z 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. --- 11 unchanged lines hidden (view full) --- 21 -I${.CURDIR}/../../include 22CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include 23CFLAGS+=-I${.CURDIR}/sys 24CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf 25CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_CPUARCH} 26CFLAGS+=-I${.CURDIR}/../libthread_db 27CFLAGS+=-Winline 28 | 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. --- 11 unchanged lines hidden (view full) --- 21 -I${.CURDIR}/../../include 22CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include 23CFLAGS+=-I${.CURDIR}/sys 24CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf 25CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_CPUARCH} 26CFLAGS+=-I${.CURDIR}/../libthread_db 27CFLAGS+=-Winline 28 |
29LIBTHR_UNWIND_STACK=yes 30 31.ifdef LIBTHR_UNWIND_STACK | 29.ifndef NO_THREAD_UNWIND_STACK |
32CFLAGS+=-I${.CURDIR}/../../contrib/gcc -fexceptions 33CFLAGS+=-D_PTHREAD_FORCED_UNWIND 34.endif 35 36LDFLAGS+=-Wl,-znodelete 37 38VERSION_DEF=${.CURDIR}/../libc/Versions.def 39SYMBOL_MAPS=${.CURDIR}/pthread.map --- 30 unchanged lines hidden --- | 30CFLAGS+=-I${.CURDIR}/../../contrib/gcc -fexceptions 31CFLAGS+=-D_PTHREAD_FORCED_UNWIND 32.endif 33 34LDFLAGS+=-Wl,-znodelete 35 36VERSION_DEF=${.CURDIR}/../libc/Versions.def 37SYMBOL_MAPS=${.CURDIR}/pthread.map --- 30 unchanged lines hidden --- |