Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/regex/grot/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# You probably want to take -DREDEBUG out of CFLAGS, and put something like | # You probably want to take -DREDEBUG out of CFLAGS, and put something like | ||||
# -O in, *after* testing (-DREDEBUG strengthens testing by enabling a lot of | # -O in, *after* testing (-DREDEBUG strengthens testing by enabling a lot of | ||||
# internal assertion checking). Take -Dconst= out for an ANSI compiler. | # internal assertion checking). Take -Dconst= out for an ANSI compiler. | ||||
# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's | # Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's | ||||
# for my use in some special contexts). | # for my use in some special contexts). | ||||
PATHS= ${.CURDIR:H} ${.CURDIR:H:H}/locale ${SRCTOP}/include | PATHS= ${LIBC_SRCTOP}/regex ${LIBC_SRCTOP}/locale ${SRCTOP}/include | ||||
.PATH: ${PATHS} | .PATH: ${PATHS} | ||||
CFLAGS+= -static -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS) | CFLAGS+= -static -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS) | ||||
.for incpath in ${PATHS} | .for incpath in ${PATHS} | ||||
CFLAGS+= -I${incpath} | CFLAGS+= -I${incpath} | ||||
.endfor | .endfor | ||||
# If you have an ANSI compiler, take -o out of MKHFLAGS. If you want | # If you have an ANSI compiler, take -o out of MKHFLAGS. If you want | ||||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |