changeset 9573:398625d049db

(etags): add dependency on regex.o, link with it. (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
author Karl Heuer <kwzh@gnu.org>
date Mon, 17 Oct 1994 20:26:22 +0000
parents b36d5e88cccc
children 6792e29ae0b5
files lib-src/Makefile.in
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/Makefile.in	Mon Oct 17 08:42:36 1994 +0000
+++ b/lib-src/Makefile.in	Mon Oct 17 20:26:22 1994 +0000
@@ -301,8 +301,13 @@
 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.  */