Makefile (177605) | Makefile (177714) |
---|---|
1# $FreeBSD: head/lib/libthr/Makefile 177605 2008-03-25 13:28:12Z ru $ | 1# $FreeBSD: head/lib/libthr/Makefile 177714 2008-03-29 17:44:40Z ru $ |
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. 10 11.include <bsd.own.mk> 12 | 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. 10 11.include <bsd.own.mk> 12 |
13.if (${DEFAULT_THREAD_LIB} == "libthr" || ${MK_LIBKSE} == "no") && \ 14 ${SHLIBDIR} == "/usr/lib" | 13.if ${SHLIBDIR} == "/usr/lib" |
15SHLIBDIR= /lib 16.endif 17 18LIB=thr 19SHLIB_MAJOR= 3 20WARNS?= 3 21CFLAGS+=-DPTHREAD_KERNEL 22CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ --- 15 unchanged lines hidden (view full) --- 38#CFLAGS+=-g 39 40PRECIOUSLIB= 41 42.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 43.include "${.CURDIR}/sys/Makefile.inc" 44.include "${.CURDIR}/thread/Makefile.inc" 45 | 14SHLIBDIR= /lib 15.endif 16 17LIB=thr 18SHLIB_MAJOR= 3 19WARNS?= 3 20CFLAGS+=-DPTHREAD_KERNEL 21CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ --- 15 unchanged lines hidden (view full) --- 37#CFLAGS+=-g 38 39PRECIOUSLIB= 40 41.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 42.include "${.CURDIR}/sys/Makefile.inc" 43.include "${.CURDIR}/thread/Makefile.inc" 44 |
46.if ${DEFAULT_THREAD_LIB} == "libthr" || ${MK_LIBKSE} == "no" | |
47SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a 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 | 45SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a 46.if !defined(NO_PIC) 47SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so 48.endif 49.if ${MK_PROFILE} != "no" 50SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a 51.endif |
54.endif | |
55 56.include <bsd.lib.mk> | 52 53.include <bsd.lib.mk> |