aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in48
1 files changed, 25 insertions, 23 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index e9b6f5e9291..e48ff1c36ad 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -98,7 +98,9 @@ SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \
98### HAVE_CONFIG_H #defined before they know they can take advantage of 98### HAVE_CONFIG_H #defined before they know they can take advantage of
99### the information in ../src/config.h. 99### the information in ../src/config.h.
100ALL_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H \ 100ALL_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H \
101 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CFLAGS} 101 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
102LINK_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H \
103 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
102CPP_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H \ 104CPP_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H \
103 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 105 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
104# This is the default compilation command. 106# This is the default compilation command.
@@ -186,51 +188,51 @@ getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
186 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c 188 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c
187 189
188etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h 190etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h
189 $(CC) ${CPP_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags 191 $(CC) ${ALL_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
190 192
191# We depend on etags to assure that parallel makes don't write two 193# We depend on etags to assure that parallel makes don't write two
192# etags.o files on top of each other. 194# etags.o files on top of each other.
193ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags 195ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
194 $(CC) ${CPP_CFLAGS} -DCTAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags 196 $(CC) ${ALL_CFLAGS} -DCTAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
195 197
196wakeup: ${srcdir}/wakeup.c 198wakeup: ${srcdir}/wakeup.c
197 $(CC) ${CPP_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup 199 $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup
198 200
199make-docfile: ${srcdir}/make-docfile.c 201make-docfile: ${srcdir}/make-docfile.c
200 $(CC) ${CPP_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile 202 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
201 203
202digest-doc: ${srcdir}/digest-doc.c 204digest-doc: ${srcdir}/digest-doc.c
203 $(CC) ${CPP_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc 205 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
204 206
205sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} 207sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
206 $(CC) ${CPP_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc 208 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
207 209
208b2m: ${srcdir}/b2m.c ../src/config.h 210b2m: ${srcdir}/b2m.c ../src/config.h
209 $(CC) ${CPP_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m 211 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m
210 212
211movemail: ${srcdir}/movemail.c ../src/config.h 213movemail: ${srcdir}/movemail.c ../src/config.h
212 $(CC) ${CPP_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail 214 $(CC) ${ALL_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail
213 215
214cvtmail: ${srcdir}/cvtmail.c 216cvtmail: ${srcdir}/cvtmail.c
215 $(CC) ${CPP_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail 217 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
216 218
217fakemail: ${srcdir}/fakemail.c ../src/config.h 219fakemail: ${srcdir}/fakemail.c ../src/config.h
218 $(CC) ${CPP_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail 220 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
219 221
220yow: ${srcdir}/yow.c ../src/paths.h 222yow: ${srcdir}/yow.c ../src/paths.h
221 $(CC) ${CPP_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow 223 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
222 224
223env: ${srcdir}/env.c ../src/config.h 225env: ${srcdir}/env.c ../src/config.h
224 $(CC) -DEMACS ${CPP_CFLAGS} ${srcdir}/env.c $(LOADLIBES) -o env 226 $(CC) -DEMACS ${ALL_CFLAGS} ${srcdir}/env.c $(LOADLIBES) -o env
225 227
226emacsserver: ${srcdir}/emacsserver.c ../src/config.h 228emacsserver: ${srcdir}/emacsserver.c ../src/config.h
227 $(CC) ${CPP_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver 229 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver
228 230
229emacsclient: ${srcdir}/emacsclient.c ../src/config.h 231emacsclient: ${srcdir}/emacsclient.c ../src/config.h
230 $(CC) ${CPP_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient 232 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient
231 233
232hexl: ${srcdir}/hexl.c 234hexl: ${srcdir}/hexl.c
233 $(CC) ${CPP_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 235 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
234 236
235TIMEROBJS=getdate.o timer.o $(ALLOCA) 237TIMEROBJS=getdate.o timer.o $(ALLOCA)
236getdate.o: ${srcdir}/getdate.y ../src/config.h 238getdate.o: ${srcdir}/getdate.y ../src/config.h
@@ -240,34 +242,34 @@ getdate.o: ${srcdir}/getdate.y ../src/config.h
240timer.o: ${srcdir}/timer.c ../src/config.h 242timer.o: ${srcdir}/timer.c ../src/config.h
241 $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c 243 $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c
242timer: ${TIMEROBJS} 244timer: ${TIMEROBJS}
243 $(CC) $(ALL_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer 245 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer
244 246
245make-path: ${srcdir}/make-path.c ../src/config.h 247make-path: ${srcdir}/make-path.c ../src/config.h
246 $(CC) $(CPP_CFLAGS) ${srcdir}/make-path.c -o make-path 248 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path
247 249
248# These are NOT included in INSTALLABLES or UTILITIES. 250# These are NOT included in INSTALLABLES or UTILITIES.
249# See ../src/ymakefile. 251# See ../src/ymakefile.
250emacstool: ${srcdir}/emacstool.c 252emacstool: ${srcdir}/emacstool.c
251 $(CC) ${srcdir}/emacstool.c -o emacstool ${CPP_CFLAGS} \ 253 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
252 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) 254 -lsuntool -lsunwindow -lpixrect $(LOADLIBES)
253 255
254# For SUN Japanese Language Environment 256# For SUN Japanese Language Environment
255nemacstool: ${srcdir}/emacstool.c 257nemacstool: ${srcdir}/emacstool.c
256 $(CC) -o nemacstool -DJLE ${CPP_CFLAGS} ${srcdir}/emacstool.c \ 258 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
257 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) 259 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
258 260
259xvetool: ${srcdir}/emacstool.c 261xvetool: ${srcdir}/emacstool.c
260 $(CC) -o xvetool -DXVIEW ${CPP_CFLAGS} ${srcdir}/emacstool.c \ 262 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
261 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ 263 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
262 $(LOADLIBES) 264 $(LOADLIBES)
263 265
264xveterm: ${srcdir}/emacstool.c 266xveterm: ${srcdir}/emacstool.c
265 $(CC) -o xveterm -DXVIEW -DTTERM ${CPP_CFLAGS} ${srcdir}/emacstool.c \ 267 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
266 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ 268 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
267 $(LOADLIBES) 269 $(LOADLIBES)
268 270
269aixcc: ${srcdir}/aixcc.c 271aixcc: ${srcdir}/aixcc.c
270 $(CC) $(CPP_CFLAGS) -o aixcc ${srcdir}/aixcc.c 272 $(CC) $(ALL_CFLAGS) -o aixcc ${srcdir}/aixcc.c
271 273
272aixcc.c: ${srcdir}/aixcc.lex 274aixcc.c: ${srcdir}/aixcc.lex
273 lex ${srcdir}/aixcc.lex 275 lex ${srcdir}/aixcc.lex