diff options
author | green <green@FreeBSD.org> | 2000-07-10 06:10:47 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-07-10 06:10:47 +0000 |
commit | 04ee30c6c3149399ecf69e8ca956c386ee03938b (patch) | |
tree | 0634eef8572b4b1e42e254c05d0962757e1b74ab /lib | |
parent | 805d9e79e252a1d071126356dbfbd20dbf975720 (diff) | |
download | FreeBSD-src-04ee30c6c3149399ecf69e8ca956c386ee03938b.zip FreeBSD-src-04ee30c6c3149399ecf69e8ca956c386ee03938b.tar.gz |
Actually make it so this Makefile can build grot.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/regex/grot/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/regex/grot/Makefile b/lib/libc/regex/grot/Makefile index 869a54b..b7eefb9 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. |