Makefile (180012) | Makefile (188583) |
---|---|
1# $FreeBSD: head/lib/libthr/Makefile 180012 2008-06-25 21:33:28Z ru $ | 1# $FreeBSD: head/lib/libthr/Makefile 188583 2009-02-13 16:51:36Z jkim $ |
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. --- 29 unchanged lines hidden (view full) --- 39#CFLAGS+=-g 40 41PRECIOUSLIB= 42 43.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 44.include "${.CURDIR}/sys/Makefile.inc" 45.include "${.CURDIR}/thread/Makefile.inc" 46 | 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. --- 29 unchanged lines hidden (view full) --- 39#CFLAGS+=-g 40 41PRECIOUSLIB= 42 43.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 44.include "${.CURDIR}/sys/Makefile.inc" 45.include "${.CURDIR}/thread/Makefile.inc" 46 |
47.if ${MK_INSTALLLIB} != "no" |
|
47SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a | 48SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a |
49.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.include <bsd.lib.mk> | 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.include <bsd.lib.mk> |