summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-07-19 08:48:17 +0000
committertjr <tjr@FreeBSD.org>2004-07-19 08:48:17 +0000
commit34d6f974a60b653184562e333479d8396dec7f42 (patch)
treeba6fb755cf0f7da06d45ee08f5e1f23dd41574be /lib/libc/regex
parent892503bdc7052b887c25076ecef5750b6df742a6 (diff)
downloadFreeBSD-src-34d6f974a60b653184562e333479d8396dec7f42.zip
FreeBSD-src-34d6f974a60b653184562e333479d8396dec7f42.tar.gz
Update paths to reg*.c and regex2.h. Add a target to build regex.h.
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/grot/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/regex/grot/Makefile b/lib/libc/regex/grot/Makefile
index b610c80..3e41724 100644
--- a/lib/libc/regex/grot/Makefile
+++ b/lib/libc/regex/grot/Makefile
@@ -48,12 +48,14 @@ re: $(OBJS)
o: $(OBJPRODN)
-REGEXHSRC = regex2.h reg*.c
+REGEXHSRC = ../regex2.h ../reg*.c
h: $(REGEXHSRC)
sh mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) >regex.tmp
cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
rm -f regex.tmp
+regex.h: h
+
regcomp.o regexec.o regfree.o debug.o: utils.h regex.h regex2.h
regcomp.o: cname.h regcomp.ih
regexec.o: engine.c engine.ih
OpenPOWER on IntegriCloud