comparison lib-src/Makefile.in @ 3160:ce5dcfc00c34

* Makefile.in (ALL_CFLAGS): Include -I${srcdir}. (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
author Jim Blandy <jimb@redhat.com>
date Thu, 27 May 1993 02:54:03 +0000
parents f877f11c8f20
children b901b5e04fbb
comparison
equal deleted inserted replaced
3159:f877f11c8f20 3160:ce5dcfc00c34
101 101
102 ### We need to #define emacs to get the right versions of some files. 102 ### We need to #define emacs to get the right versions of some files.
103 ### Some other files - those shared with other GNU utilities - need 103 ### Some other files - those shared with other GNU utilities - need
104 ### HAVE_CONFIG_H #defined before they know they can take advantage of 104 ### HAVE_CONFIG_H #defined before they know they can take advantage of
105 ### the information in ../src/config.h. 105 ### the information in ../src/config.h.
106 ALL_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H -I${srcdir}/../src ${CFLAGS} 106 ALL_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H -I${srcdir} -I${srcdir}/../src ${CFLAGS}
107 .c.o: 107 .c.o:
108 ${CC} -c ${CPPFLAGS} ${ALL_CFLAGS} $< 108 ${CC} -c ${CPPFLAGS} ${ALL_CFLAGS} $<
109 109
110 all: ${EXECUTABLES} 110 all: ${EXECUTABLES}
111 111
185 $(CC) -o test-distrib ${srcdir}/test-distrib.c 185 $(CC) -o test-distrib ${srcdir}/test-distrib.c
186 ./test-distrib ${srcdir}/testfile 186 ./test-distrib ${srcdir}/testfile
187 187
188 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA) 188 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA)
189 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h 189 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
190 getopt.o: getopt.c getopt.h 190 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
191 getopt1.o: getopt1.c getopt.h 191 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
192 192
193 etags: ${srcdir}/etags.c $(GETOPTDEPS) 193 etags: ${srcdir}/etags.c $(GETOPTDEPS)
194 $(CC) ${ALL_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags 194 $(CC) ${ALL_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
195 195
196 ctags: ${srcdir}/etags.c $(GETOPTDEPS) 196 ctags: ${srcdir}/etags.c $(GETOPTDEPS)