aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab2003-02-08 17:27:58 +0000
committerAndreas Schwab2003-02-08 17:27:58 +0000
commit108c7c97c1ad0da9bc240fa656826b3fe0276e19 (patch)
tree2b6501add6943c1aa02d76806f9903c50b08b34e /lib-src
parent7b76ca1c43fcaa58bf2c7c3503c8f33399eab8eb (diff)
downloademacs-108c7c97c1ad0da9bc240fa656826b3fe0276e19.tar.gz
emacs-108c7c97c1ad0da9bc240fa656826b3fe0276e19.zip
(EXEEXT): Define to @EXEEXT@ and use this variable
instead of the substitution.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in60
1 files changed, 31 insertions, 29 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index b8d853f8eac..c88d868e374 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -1,5 +1,6 @@
1# Makefile for lib-src subdirectory in GNU Emacs. 1# Makefile for lib-src subdirectory in GNU Emacs.
2# Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002 Free Software Foundation, Inc. 2# Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002, 2003
3# Free Software Foundation, Inc.
3 4
4# This file is part of GNU Emacs. 5# This file is part of GNU Emacs.
5 6
@@ -29,6 +30,7 @@ CFLAGS=@CFLAGS@
29ALLOCA=@ALLOCA@ 30ALLOCA=@ALLOCA@
30version=@version@ 31version=@version@
31configuration=@configuration@ 32configuration=@configuration@
33EXEEXT=@EXEEXT@
32 34
33# Program name transformation. 35# Program name transformation.
34TRANSFORM = @program_transform_name@ 36TRANSFORM = @program_transform_name@
@@ -100,15 +102,15 @@ INSTALL_STRIP =
100 102
101# Things that a user might actually run, 103# Things that a user might actually run,
102# which should be installed in bindir. 104# which should be installed in bindir.
103INSTALLABLES = etags@EXEEXT@ ctags@EXEEXT@ emacsclient@EXEEXT@ b2m@EXEEXT@ ebrowse@EXEEXT@ 105INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} b2m${EXEEXT} ebrowse${EXEEXT}
104INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog 106INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog
105 107
106# Things that Emacs runs internally, or during the build process, 108# Things that Emacs runs internally, or during the build process,
107# which should not be installed in bindir. 109# which should not be installed in bindir.
108UTILITIES= profile@EXEEXT@ digest-doc@EXEEXT@ sorted-doc@EXEEXT@ movemail@EXEEXT@ cvtmail@EXEEXT@ fakemail@EXEEXT@ \ 110UTILITIES= profile${EXEEXT} digest-doc${EXEEXT} sorted-doc${EXEEXT} movemail${EXEEXT} cvtmail${EXEEXT} fakemail${EXEEXT} \
109 yow@EXEEXT@ hexl@EXEEXT@ update-game-score@EXEEXT@ 111 yow${EXEEXT} hexl${EXEEXT} update-game-score${EXEEXT}
110 112
111DONT_INSTALL= test-distrib@EXEEXT@ make-docfile@EXEEXT@ 113DONT_INSTALL= test-distrib${EXEEXT} make-docfile${EXEEXT}
112 114
113# Like UTILITIES, but they're not system-dependent, and should not be 115# Like UTILITIES, but they're not system-dependent, and should not be
114# deleted by the distclean target. 116# deleted by the distclean target.
@@ -286,12 +288,12 @@ blessmail:
286maybe-blessmail: BLESSMAIL 288maybe-blessmail: BLESSMAIL
287#ifdef MOVEMAIL_NEEDS_BLESSING 289#ifdef MOVEMAIL_NEEDS_BLESSING
288/* Don\'t charge ahead and do it! Let the installer decide. 290/* Don\'t charge ahead and do it! Let the installer decide.
289 ./blessmail ${archlibdir}/movemail@EXEEXT@ */ 291 ./blessmail ${archlibdir}/movemail${EXEEXT} */
290 @if [ `wc -l <blessmail` != 2 ] ; then \ 292 @if [ `wc -l <blessmail` != 2 ] ; then \
291 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ 293 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
292 echo Assuming $$dir is really the mail spool directory, you should; \ 294 echo Assuming $$dir is really the mail spool directory, you should; \
293 echo run lib-src/blessmail ${archlibdir}/movemail@EXEEXT@; \ 295 echo run lib-src/blessmail ${archlibdir}/movemail${EXEEXT}; \
294 echo as root, to give movemail@EXEEXT@ appropriate permissions.; \ 296 echo as root, to give movemail${EXEEXT} appropriate permissions.; \
295 echo Do that after running make install.; \ 297 echo Do that after running make install.; \
296 fi 298 fi
297#endif 299#endif
@@ -372,14 +374,14 @@ check:
372 @echo "We don't have any tests for GNU Emacs yet." 374 @echo "We don't have any tests for GNU Emacs yet."
373 375
374tags: TAGS 376tags: TAGS
375TAGS: etags@EXEEXT@ 377TAGS: etags${EXEEXT}
376 etags *.[ch] 378 etags *.[ch]
377 379
378/* This verifies that the non-ASCII characters in the file \`testfile\' 380/* This verifies that the non-ASCII characters in the file \`testfile\'
379 have not been clobbered by whatever means were used to copy and 381 have not been clobbered by whatever means were used to copy and
380 distribute Emacs. If they were clobbered, all the .elc files were 382 distribute Emacs. If they were clobbered, all the .elc files were
381 clobbered too. */ 383 clobbered too. */
382test-distrib@EXEEXT@: ${srcdir}/test-distrib.c 384test-distrib${EXEEXT}: ${srcdir}/test-distrib.c
383 $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c 385 $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c
384 ./test-distrib ${srcdir}/testfile 386 ./test-distrib ${srcdir}/testfile
385 387
@@ -403,34 +405,34 @@ REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h
403regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h 405regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h
404 ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c 406 ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
405 407
406etags@EXEEXT@: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h 408etags${EXEEXT}: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
407 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags 409 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags
408 410
409ebrowse@EXEEXT@: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h 411ebrowse${EXEEXT}: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
410 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse 412 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse
411 413
412/* We depend on etags to assure that parallel makes don\'t write two 414/* We depend on etags to assure that parallel makes don\'t write two
413 etags.o files on top of each other. */ 415 etags.o files on top of each other. */
414ctags@EXEEXT@: etags@EXEEXT@ 416ctags${EXEEXT}: etags${EXEEXT}
415 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags 417 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags
416 418
417profile@EXEEXT@: ${srcdir}/profile.c ../src/config.h 419profile${EXEEXT}: ${srcdir}/profile.c ../src/config.h
418 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile 420 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
419 421
420make-docfile@EXEEXT@: ${srcdir}/make-docfile.c ../src/config.h 422make-docfile${EXEEXT}: ${srcdir}/make-docfile.c ../src/config.h
421 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile 423 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
422 424
423digest-doc@EXEEXT@: ${srcdir}/digest-doc.c 425digest-doc${EXEEXT}: ${srcdir}/digest-doc.c
424 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc 426 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
425 427
426sorted-doc@EXEEXT@: ${srcdir}/sorted-doc.c ${ALLOCA} 428sorted-doc${EXEEXT}: ${srcdir}/sorted-doc.c ${ALLOCA}
427 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc 429 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
428 430
429b2m@EXEEXT@: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS) 431b2m${EXEEXT}: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS)
430 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \ 432 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \
431 $(GETOPTOBJS) $(LOADLIBES) -o b2m 433 $(GETOPTOBJS) $(LOADLIBES) -o b2m
432 434
433movemail@EXEEXT@: movemail.o pop.o $(GETOPTDEPS) 435movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS)
434 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail 436 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail
435 437
436movemail.o: ${srcdir}/movemail.c ../src/config.h 438movemail.o: ${srcdir}/movemail.c ../src/config.h
@@ -439,45 +441,45 @@ movemail.o: ${srcdir}/movemail.c ../src/config.h
439pop.o: ${srcdir}/pop.c ../src/config.h 441pop.o: ${srcdir}/pop.c ../src/config.h
440 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c 442 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c
441 443
442cvtmail@EXEEXT@: ${srcdir}/cvtmail.c 444cvtmail${EXEEXT}: ${srcdir}/cvtmail.c
443 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail 445 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
444 446
445fakemail@EXEEXT@: ${srcdir}/fakemail.c ../src/config.h 447fakemail${EXEEXT}: ${srcdir}/fakemail.c ../src/config.h
446 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail 448 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
447 449
448yow@EXEEXT@: ${srcdir}/yow.c ../src/epaths.h 450yow${EXEEXT}: ${srcdir}/yow.c ../src/epaths.h
449 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow 451 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
450 452
451emacsclient@EXEEXT@: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS) 453emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
452 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \ 454 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \
453 -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \ 455 -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \
454 $(LOADLIBES) -o emacsclient 456 $(LOADLIBES) -o emacsclient
455 457
456hexl@EXEEXT@: ${srcdir}/hexl.c ../src/config.h 458hexl${EXEEXT}: ${srcdir}/hexl.c ../src/config.h
457 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 459 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
458 460
459update-game-score@EXEEXT@: ${srcdir}/update-game-score.c ../src/config.h 461update-game-score${EXEEXT}: ${srcdir}/update-game-score.c ../src/config.h
460 $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \ 462 $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \
461 -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \ 463 -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
462 $(LOADLIBES) -o update-game-score 464 $(LOADLIBES) -o update-game-score
463 465
464/* These are NOT included in INSTALLABLES or UTILITIES. 466/* These are NOT included in INSTALLABLES or UTILITIES.
465 See ../src/Makefile.in. */ 467 See ../src/Makefile.in. */
466emacstool@EXEEXT@: ${srcdir}/emacstool.c 468emacstool${EXEEXT}: ${srcdir}/emacstool.c
467 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ 469 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
468 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) 470 -lsuntool -lsunwindow -lpixrect $(LOADLIBES)
469 471
470/* For SUN Japanese Language Environment. */ 472/* For SUN Japanese Language Environment. */
471nemacstool@EXEEXT@: ${srcdir}/emacstool.c 473nemacstool${EXEEXT}: ${srcdir}/emacstool.c
472 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ 474 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
473 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) 475 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
474 476
475xvetool@EXEEXT@: ${srcdir}/emacstool.c 477xvetool${EXEEXT}: ${srcdir}/emacstool.c
476 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ 478 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
477 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ 479 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
478 $(LOADLIBES) 480 $(LOADLIBES)
479 481
480xveterm@EXEEXT@: ${srcdir}/emacstool.c 482xveterm${EXEEXT}: ${srcdir}/emacstool.c
481 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ 483 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
482 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ 484 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
483 $(LOADLIBES) 485 $(LOADLIBES)