summaryrefslogtreecommitdiff
path: root/lib/libc/regex/grot
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2000-07-10 06:10:47 +0000
committerBrian Feldman <green@FreeBSD.org>2000-07-10 06:10:47 +0000
commitc98c98a8223bc8adeb36a3fa3be52e0c137dc1c9 (patch)
tree88c9e07e57e1dd4279ca39aad5921b5954165bd1 /lib/libc/regex/grot
parent612740bdcf428625dce46ea9f505762c85b3cf94 (diff)
Notes
Diffstat (limited to 'lib/libc/regex/grot')
-rw-r--r--lib/libc/regex/grot/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/regex/grot/Makefile b/lib/libc/regex/grot/Makefile
index 869a54bf4893..b7eefb956662 100644
--- a/lib/libc/regex/grot/Makefile
+++ b/lib/libc/regex/grot/Makefile
@@ -4,7 +4,14 @@
# internal assertion checking). Take -Dconst= out for an ANSI compiler.
# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's
# for my use in some special contexts).
-CFLAGS = -I. -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
+
+PATHS= ${.CURDIR}/.. ${.CURDIR}/../../locale ${.CURDIR}/../../../../include
+.PATH: ${PATHS}
+
+CFLAGS+= -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
+.for incpath in ${PATHS}
+CFLAGS+= -I${incpath}
+.endfor
# If you have an ANSI compiler, take -o out of MKHFLAGS. If you want
# the Berkeley __P macro, put -b in.