Makefile (84e709f1f102d276a790c877c6a99376b554839e) Makefile (2b46c64c9c1bf1cb194e0f2b7c478f61a0e10cd9)
1# $FreeBSD$
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
1# $FreeBSD$
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.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
11.if ${MACHINE_ARCH} == "sparc64"
12SHLIBDIR?= /lib
13.endif
14
15.include <bsd.own.mk>
16
17LIB=thr
18SHLIB_MAJOR= 2
19CFLAGS+=-DPTHREAD_KERNEL

--- 17 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
12SHLIBDIR?= /lib
13.endif
14
15.include <bsd.own.mk>
16
17LIB=thr
18SHLIB_MAJOR= 2
19CFLAGS+=-DPTHREAD_KERNEL

--- 17 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
45.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
45.if ${MACHINE_ARCH} == "sparc64"
46SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
47.if !defined(NO_PIC)
48SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
49.endif
50.if ${MK_PROFILE} != "no"
51SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
52.endif
53.endif
54
55.include <bsd.lib.mk>
46SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
47.if !defined(NO_PIC)
48SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
49.endif
50.if ${MK_PROFILE} != "no"
51SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
52.endif
53.endif
54
55.include <bsd.lib.mk>