Makefile (211773) | Makefile (212516) |
---|---|
1# $FreeBSD: head/lib/libthr/Makefile 211773 2010-08-24 20:50:08Z nwhitehorn $ | 1# $FreeBSD: head/lib/libthr/Makefile 212516 2010-09-13 01:43:10Z imp $ |
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) --- 17SHLIB_MAJOR= 3 18WARNS?= 3 19CFLAGS+=-DPTHREAD_KERNEL 20CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ 21 -I${.CURDIR}/../../include 22CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include 23CFLAGS+=-I${.CURDIR}/sys 24CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf | 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) --- 17SHLIB_MAJOR= 3 18WARNS?= 3 19CFLAGS+=-DPTHREAD_KERNEL 20CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ 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_ARCH} | 25CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_CPUARCH} |
26CFLAGS+=-I${.CURDIR}/../libthread_db 27CFLAGS+=-Winline 28LDFLAGS+=-Wl,-znodelete 29 30VERSION_DEF=${.CURDIR}/../libc/Versions.def 31SYMBOL_MAPS=${.CURDIR}/pthread.map 32 33MAN= libthr.3 34 35# enable extra internal consistancy checks 36CFLAGS+=-D_PTHREADS_INVARIANTS 37#CFLAGS+=-g 38 39PRECIOUSLIB= 40 | 26CFLAGS+=-I${.CURDIR}/../libthread_db 27CFLAGS+=-Winline 28LDFLAGS+=-Wl,-znodelete 29 30VERSION_DEF=${.CURDIR}/../libc/Versions.def 31SYMBOL_MAPS=${.CURDIR}/pthread.map 32 33MAN= libthr.3 34 35# enable extra internal consistancy checks 36CFLAGS+=-D_PTHREADS_INVARIANTS 37#CFLAGS+=-g 38 39PRECIOUSLIB= 40 |
41.PATH: ${.CURDIR}/arch/${MACHINE_CPUARCH}/${MACHINE_CPUARCH} 42 |
|
41.include "${.CURDIR}/arch/${MACHINE_CPUARCH}/Makefile.inc" 42.include "${.CURDIR}/sys/Makefile.inc" 43.include "${.CURDIR}/thread/Makefile.inc" 44 45.if ${MK_INSTALLLIB} != "no" 46SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a 47.endif 48.if !defined(NO_PIC) 49SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so 50.endif 51.if ${MK_PROFILE} != "no" 52SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a 53.endif 54 55.if !defined(WITHOUT_SYSCALL_COMPAT) 56CFLAGS+=-DSYSCALL_COMPAT 57.endif 58 59.include <bsd.lib.mk> | 43.include "${.CURDIR}/arch/${MACHINE_CPUARCH}/Makefile.inc" 44.include "${.CURDIR}/sys/Makefile.inc" 45.include "${.CURDIR}/thread/Makefile.inc" 46 47.if ${MK_INSTALLLIB} != "no" 48SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a 49.endif 50.if !defined(NO_PIC) 51SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so 52.endif 53.if ${MK_PROFILE} != "no" 54SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a 55.endif 56 57.if !defined(WITHOUT_SYSCALL_COMPAT) 58CFLAGS+=-DSYSCALL_COMPAT 59.endif 60 61.include <bsd.lib.mk> |