Changeset View
Changeset View
Standalone View
Standalone View
lib/libthr/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# All library objects contain FreeBSD revision strings by default; they may be | # All library objects contain FreeBSD revision strings by default; they may be | ||||
# excluded as a space-saving measure. To produce a library that does | # excluded as a space-saving measure. To produce a library that does | ||||
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS | # not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS | ||||
# below. Note, there are no IDs for syscall stubs whose sources are generated. | # below. Note, there are no IDs for syscall stubs whose sources are generated. | ||||
# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS | # To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS | ||||
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the | # (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the | ||||
# system call stubs. | # system call stubs. | ||||
SHLIBDIR?= /lib | SHLIBDIR?= /lib | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
MK_SSP= no | MK_SSP= no | ||||
MK_FORTIFY= no | |||||
LIB=thr | LIB=thr | ||||
SHLIB_MAJOR= 3 | SHLIB_MAJOR= 3 | ||||
WARNS?= 3 | WARNS?= 3 | ||||
CFLAGS+=-DPTHREAD_KERNEL | CFLAGS+=-DPTHREAD_KERNEL | ||||
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ | CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ | ||||
-I${.CURDIR}/../../include | -I${.CURDIR}/../../include | ||||
CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include | CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |