aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog10
-rw-r--r--lib-src/Makefile.in43
2 files changed, 30 insertions, 23 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 1fc9fcdb1f5..64a73027915 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,13 @@
12014-06-26 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (blessmail): Depend on lisp/mail/blessmail.el.
4 Use $<, $@.
5 (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
6 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
7 (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}, ntlib.o)
8 (hexl${EXEEXT}, update-game-score${EXEEXT}, emacsclient.res): Use $<.
9 (ctags${EXEEXT}): Add $srcdir to dependency rather than using VPATH.
10
12014-06-17 Paul Eggert <eggert@cs.ucla.edu> 112014-06-17 Paul Eggert <eggert@cs.ucla.edu>
2 12
3 Omit redundant extern decls. 13 Omit redundant extern decls.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 35fe618a297..7eb13f667ec 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -1,7 +1,7 @@
1### @configure_input@ 1### @configure_input@
2 2
3# Copyright (C) 1985, 1987-1988, 1993-1994, 2001-2014 Free Software 3# Copyright (C) 1985, 1987-1988, 1993-1994, 2001-2014
4# Foundation, Inc. 4# Free Software Foundation, Inc.
5 5
6# This file is part of GNU Emacs. 6# This file is part of GNU Emacs.
7 7
@@ -211,9 +211,9 @@ $(EXE_FILES): ../lib/libgnu.a
211 211
212## Only used if we need blessmail, but no harm in always defining. 212## Only used if we need blessmail, but no harm in always defining.
213## This makes the actual blessmail executable. 213## This makes the actual blessmail executable.
214blessmail: 214blessmail: $(srcdir)/../lisp/mail/blessmail.el
215 $(EMACS) $(EMACSOPT) -l $(srcdir)/../lisp/mail/blessmail.el 215 $(EMACS) $(EMACSOPT) -l $<
216 chmod +x blessmail 216 chmod +x $@
217 217
218## This checks if we need to run blessmail. 218## This checks if we need to run blessmail.
219## Do not charge ahead and do it! Let the installer decide. 219## Do not charge ahead and do it! Let the installer decide.
@@ -311,7 +311,7 @@ TAGS: etags${EXEEXT}
311 $(MAKE) -C ../lib libgnu.a 311 $(MAKE) -C ../lib libgnu.a
312 312
313regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h $(config_h) 313regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h $(config_h)
314 ${CC} -c ${CPP_CFLAGS} ${srcdir}/../src/regex.c 314 ${CC} -c ${CPP_CFLAGS} $<
315 315
316 316
317etags_deps = ${srcdir}/etags.c regex.o $(NTLIB) $(config_h) 317etags_deps = ${srcdir}/etags.c regex.o $(NTLIB) $(config_h)
@@ -319,42 +319,41 @@ etags_cflags = -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"${version}\"" -o $@
319etags_libs = regex.o $(LOADLIBES) $(NTLIB) 319etags_libs = regex.o $(LOADLIBES) $(NTLIB)
320 320
321etags${EXEEXT}: ${etags_deps} 321etags${EXEEXT}: ${etags_deps}
322 $(CC) ${ALL_CFLAGS} $(etags_cflags) $(srcdir)/etags.c $(etags_libs) 322 $(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs)
323 323
324## ctags.c is distinct from etags.c so that parallel makes do not write two 324## ctags.c is distinct from etags.c so that parallel makes do not write two
325## etags.o files on top of each other. 325## etags.o files on top of each other.
326## FIXME? 326## FIXME?
327## Can't we use a wrapper that calls 'etags --ctags'? 327## Can't we use a wrapper that calls 'etags --ctags'?
328ctags${EXEEXT}: ctags.c ${etags_deps} 328ctags${EXEEXT}: ${srcdir}/ctags.c ${etags_deps}
329 $(CC) ${ALL_CFLAGS} $(etags_cflags) $(srcdir)/ctags.c $(etags_libs) 329 $(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs)
330 330
331ebrowse${EXEEXT}: ${srcdir}/ebrowse.c ${srcdir}/../lib/min-max.h $(NTLIB) \ 331ebrowse${EXEEXT}: ${srcdir}/ebrowse.c ${srcdir}/../lib/min-max.h $(NTLIB) \
332 $(config_h) 332 $(config_h)
333 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" \ 333 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" \
334 ${srcdir}/ebrowse.c $(LOADLIBES) $(NTLIB) -o $@ 334 $< $(LOADLIBES) $(NTLIB) -o $@
335 335
336profile${EXEEXT}: ${srcdir}/profile.c $(NTLIB) $(config_h) 336profile${EXEEXT}: ${srcdir}/profile.c $(NTLIB) $(config_h)
337 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c \ 337 $(CC) ${ALL_CFLAGS} $< \
338 $(LOADLIBES) $(NTLIB) $(LIB_CLOCK_GETTIME) -o $@ 338 $(LOADLIBES) $(NTLIB) $(LIB_CLOCK_GETTIME) -o $@
339 339
340make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(NTLIB) $(config_h) 340make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(NTLIB) $(config_h)
341 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) $(NTLIB) \ 341 $(CC) ${ALL_CFLAGS} $< $(LOADLIBES) $(NTLIB) -o $@
342 -o $@
343 342
344movemail${EXEEXT}: ${srcdir}/movemail.c pop.o $(NTLIB) $(config_h) 343movemail${EXEEXT}: ${srcdir}/movemail.c pop.o $(NTLIB) $(config_h)
345 $(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c pop.o \ 344 $(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} $< pop.o \
346 $(LOADLIBES) $(NTLIB) $(LIBS_MOVE) -o $@ 345 $(LOADLIBES) $(NTLIB) $(LIBS_MOVE) -o $@
347 346
348pop.o: ${srcdir}/pop.c ${srcdir}/pop.h ${srcdir}/../lib/min-max.h $(config_h) 347pop.o: ${srcdir}/pop.c ${srcdir}/pop.h ${srcdir}/../lib/min-max.h $(config_h)
349 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c 348 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} $<
350 349
351emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(config_h) 350emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(config_h)
352 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c \ 351 $(CC) ${ALL_CFLAGS} $< \
353 -DVERSION="\"${version}\"" $(NTLIB) $(LOADLIBES) $(LIB_FDATASYNC) \ 352 -DVERSION="\"${version}\"" $(NTLIB) $(LOADLIBES) $(LIB_FDATASYNC) \
354 $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@ 353 $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@
355 354
356emacsclientw${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(CLIENTRES) $(config_h) 355emacsclientw${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(CLIENTRES) $(config_h)
357 $(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows ${srcdir}/emacsclient.c \ 356 $(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows $< \
358 -DVERSION="\"${version}\"" $(LOADLIBES) $(LIB_FDATASYNC) \ 357 -DVERSION="\"${version}\"" $(LOADLIBES) $(LIB_FDATASYNC) \
359 $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@ 358 $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@
360 359
@@ -366,18 +365,16 @@ NTDEPS = $(NTINC)/ms-w32.h $(NTINC)/sys/stat.h $(NTINC)/inttypes.h \
366# The dependency on $(NTDEPS) is a trick intended to cause recompile of 365# The dependency on $(NTDEPS) is a trick intended to cause recompile of
367# programs on MinGW whenever some private header in nt/inc is modified. 366# programs on MinGW whenever some private header in nt/inc is modified.
368ntlib.o: ${srcdir}/ntlib.c ${srcdir}/ntlib.h $(NTDEPS) 367ntlib.o: ${srcdir}/ntlib.c ${srcdir}/ntlib.h $(NTDEPS)
369 $(CC) -c ${CPP_CFLAGS} ${srcdir}/ntlib.c 368 $(CC) -c ${CPP_CFLAGS} $<
370 369
371hexl${EXEEXT}: ${srcdir}/hexl.c $(NTLIB) $(config_h) 370hexl${EXEEXT}: ${srcdir}/hexl.c $(NTLIB) $(config_h)
372 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o $@ 371 $(CC) ${ALL_CFLAGS} $< $(LOADLIBES) -o $@
373 372
374update-game-score${EXEEXT}: ${srcdir}/update-game-score.c $(NTLIB) $(config_h) 373update-game-score${EXEEXT}: ${srcdir}/update-game-score.c $(NTLIB) $(config_h)
375 $(CC) ${ALL_CFLAGS} -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \ 374 $(CC) ${ALL_CFLAGS} -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
376 ${srcdir}/update-game-score.c $(LOADLIBES) $(NTLIB) \ 375 $< $(LOADLIBES) $(NTLIB) -o $@
377 -o $@
378 376
379emacsclient.res: $(NTINC)/../emacsclient.rc 377emacsclient.res: $(NTINC)/../emacsclient.rc
380 $(WINDRES) -O coff --include-dir=$(NTINC)/.. -o $@ \ 378 $(WINDRES) -O coff --include-dir=$(NTINC)/.. -o $@ $<
381 $(NTINC)/../emacsclient.rc
382 379
383## Makefile ends here. 380## Makefile ends here.