summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-27 02:54:03 +0000
committerJim Blandy <jimb@redhat.com>1993-05-27 02:54:03 +0000
commitb90589d8fdd62be6edcc594620bf656c0c35d9e3 (patch)
tree342e07b91d7a0b7c8088b5b8e606884c849ec989 /lib-src
parent5e231e705806cd5a9fd01dd2c226a66684c1c3f2 (diff)
downloademacs-b90589d8fdd62be6edcc594620bf656c0c35d9e3.tar.gz
* Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
(getopt.o, getopt1.c): Use ${srcdir} as appropriate.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index a1a79c255cd..eae3e5537dc 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -103,7 +103,7 @@ SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \
### Some other files - those shared with other GNU utilities - need
### HAVE_CONFIG_H #defined before they know they can take advantage of
### the information in ../src/config.h.
-ALL_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H -I${srcdir}/../src ${CFLAGS}
+ALL_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H -I${srcdir} -I${srcdir}/../src ${CFLAGS}
.c.o:
${CC} -c ${CPPFLAGS} ${ALL_CFLAGS} $<
@@ -187,8 +187,8 @@ test-distrib: ${srcdir}/test-distrib.c
GETOPTOBJS = getopt.o getopt1.o $(ALLOCA)
GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
-getopt.o: getopt.c getopt.h
-getopt1.o: getopt1.c getopt.h
+getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
+getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
etags: ${srcdir}/etags.c $(GETOPTDEPS)
$(CC) ${ALL_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags