Deleted Added
full compact
Makefile (176054) Makefile (177605)
1# $FreeBSD: head/lib/libthr/Makefile 176054 2008-02-06 20:25:00Z des $
1# $FreeBSD: head/lib/libthr/Makefile 177605 2008-03-25 13:28:12Z 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
13.if (${DEFAULT_THREAD_LIB} == "libthr" || ${MK_LIBKSE} == "no") && \
14 ${SHLIBDIR} == "/usr/lib"
15SHLIBDIR= /lib
16.endif
17
18LIB=thr
19SHLIB_MAJOR= 3
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"
15SHLIBDIR= /lib
16.endif
17
18LIB=thr
19SHLIB_MAJOR= 3
20WARNS?= 3
20CFLAGS+=-DPTHREAD_KERNEL
21CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
22 -I${.CURDIR}/../../include
23CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include
24CFLAGS+=-I${.CURDIR}/sys
25CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
26CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
27CFLAGS+=-I${.CURDIR}/../libthread_db

--- 28 unchanged lines hidden ---
21CFLAGS+=-DPTHREAD_KERNEL
22CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
23 -I${.CURDIR}/../../include
24CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include
25CFLAGS+=-I${.CURDIR}/sys
26CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
27CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
28CFLAGS+=-I${.CURDIR}/../libthread_db

--- 28 unchanged lines hidden ---