1# $FreeBSD: head/lib/libc/regex/grot/Makefile 62856 2000-07-09 18:13:35Z dcs $
| 1# $FreeBSD: head/lib/libc/regex/grot/Makefile 62872 2000-07-10 06:10:47Z green $
|
2# You probably want to take -DREDEBUG out of CFLAGS, and put something like 3# -O in, *after* testing (-DREDEBUG strengthens testing by enabling a lot of 4# internal assertion checking). Take -Dconst= out for an ANSI compiler. 5# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's 6# for my use in some special contexts).
| 2# You probably want to take -DREDEBUG out of CFLAGS, and put something like 3# -O in, *after* testing (-DREDEBUG strengthens testing by enabling a lot of 4# internal assertion checking). Take -Dconst= out for an ANSI compiler. 5# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's 6# for my use in some special contexts).
|
7CFLAGS = -I. -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
| |
8
| 7
|
| 8PATHS= ${.CURDIR}/.. ${.CURDIR}/../../locale ${.CURDIR}/../../../../include 9.PATH: ${PATHS} 10 11CFLAGS+= -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS) 12.for incpath in ${PATHS} 13CFLAGS+= -I${incpath} 14.endfor 15
|
9# If you have an ANSI compiler, take -o out of MKHFLAGS. If you want 10# the Berkeley __P macro, put -b in. 11MKHFLAGS = 12 13LDFLAGS = 14 15# If you have an ANSI environment, take limits.h and stdlib.h out of 16# HMISSING and take memmove out of SRCMISSING and OBJMISSING.
--- 101 unchanged lines hidden --- | 16# If you have an ANSI compiler, take -o out of MKHFLAGS. If you want 17# the Berkeley __P macro, put -b in. 18MKHFLAGS = 19 20LDFLAGS = 21 22# If you have an ANSI environment, take limits.h and stdlib.h out of 23# HMISSING and take memmove out of SRCMISSING and OBJMISSING.
--- 101 unchanged lines hidden --- |