summaryrefslogtreecommitdiff
path: root/lib-src/Makefile.in
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-17 20:26:22 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-17 20:26:22 +0000
commita502235cfd09d84302c130e86865823889401223 (patch)
tree16dcec34e29a8a57ec9c133ab70e05b31f7bc21b /lib-src/Makefile.in
parent4103a5ce4ee207d9e8b4bf44887ce9afcca5a604 (diff)
downloademacs-a502235cfd09d84302c130e86865823889401223.tar.gz
(etags): add dependency on regex.o, link with it.
(REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
Diffstat (limited to 'lib-src/Makefile.in')
-rw-r--r--lib-src/Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index f121f0aae29..408487812ee 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -301,8 +301,13 @@ getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
alloca.o: ${srcdir}/alloca.c
${CC} -c ${ALLOCA_CFLAGS} ${srcdir}/alloca.c
-etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h
- $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
+REGEXPOBJ = regex.o
+REGEXPDEPS = $(REGEXPOBJ) ../src/regex.h
+regex.o: ../src/regex.c ../src/regex.h
+ ${CC} -c ${CPP_CFLAGS} -Uemacs -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ../src/regex.c
+
+etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
+ $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags
/* We depend on etags to assure that parallel makes don't write two
etags.o files on top of each other. */