aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-04-14 12:34:44 +0000
committerDave Love2000-04-14 12:34:44 +0000
commit33fef74ef0ff32f409073b6824647ce11f7a0220 (patch)
tree48d25fd04c7d1340b0a8b6e7c7d2e4c5a039a3c6
parent3218b63918f86e87373d860f01f1099f39fcf6ee (diff)
downloademacs-33fef74ef0ff32f409073b6824647ce11f7a0220.tar.gz
emacs-33fef74ef0ff32f409073b6824647ce11f7a0220.zip
New variable.
(INTERVAL_SRC): Convert to make variable. (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and @LIBOBJS@. (SOME_MACHINE_OBJECTS): Remove interval stuff. (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. (shortlisp): Add facemenu, float-sup, frame. (SOME_MACHINE_LISP): Remove them from here. (LIBES): Change unused LDLIBS to autoconf LIBS.
-rw-r--r--src/Makefile.in82
1 files changed, 29 insertions, 53 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 06990d2e455..0f777ca38e0 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,5 +1,5 @@
1# Makefile for GNU Emacs. 1# Makefile for GNU Emacs.
2# Copyright (C) 1985, 87, 88, 93, 94, 95, 1999 Free Software Foundation, Inc. 2# Copyright (C) 1985, 87, 88, 93, 94, 95, 99, 2000 Free Software Foundation, Inc.
3 3
4# This file is part of GNU Emacs. 4# This file is part of GNU Emacs.
5 5
@@ -31,6 +31,7 @@ LN_S=@LN_S@
31# Substitute an assignment for the MAKE variable, because 31# Substitute an assignment for the MAKE variable, because
32# BSD doesn't have it as a default. 32# BSD doesn't have it as a default.
33@SET_MAKE@ 33@SET_MAKE@
34LIBS = @LIBS@
34 35
35# On Xenix and the IBM RS6000, double-dot gets screwed up. 36# On Xenix and the IBM RS6000, double-dot gets screwed up.
36dot = . 37dot = .
@@ -516,8 +517,7 @@ ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \
516#define UNEXEC_SRC unexec.c 517#define UNEXEC_SRC unexec.c
517#endif 518#endif
518 519
519#define INTERVAL_SRC intervals.h composite.h 520INTERVAL_SRC = intervals.h composite.h
520#define INTERVAL_OBJ intervals.o textprop.o composite.o
521 521
522#ifdef HAVE_GETLOADAVG 522#ifdef HAVE_GETLOADAVG
523#define GETLOADAVG_OBJ 523#define GETLOADAVG_OBJ
@@ -525,12 +525,6 @@ ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \
525#define GETLOADAVG_OBJ getloadavg.o 525#define GETLOADAVG_OBJ getloadavg.o
526#endif 526#endif
527 527
528#if HAVE_MKTIME && ! BROKEN_MKTIME
529#define MKTIME_OBJ
530#else
531#define MKTIME_OBJ mktime.o
532#endif
533
534#ifdef MSDOS 528#ifdef MSDOS
535#ifdef HAVE_X_WINDOWS 529#ifdef HAVE_X_WINDOWS
536#define MSDOS_OBJ dosfns.o msdos.o 530#define MSDOS_OBJ dosfns.o msdos.o
@@ -548,7 +542,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o \
548 charset.o coding.o category.o ccl.o\ 542 charset.o coding.o category.o ccl.o\
549 cm.o term.o xfaces.o $(XOBJ) \ 543 cm.o term.o xfaces.o $(XOBJ) \
550 emacs.o keyboard.o macros.o keymap.o sysdep.o \ 544 emacs.o keyboard.o macros.o keymap.o sysdep.o \
551 buffer.o filelock.o insdel.o marker.o INTERVAL_OBJ \ 545 buffer.o filelock.o insdel.o marker.o \
552 minibuf.o fileio.o dired.o filemode.o \ 546 minibuf.o fileio.o dired.o filemode.o \
553 cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \ 547 cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
554 alloc.o data.o doc.o editfns.o callint.o \ 548 alloc.o data.o doc.o editfns.o callint.o \
@@ -556,13 +550,14 @@ obj= dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o \
556 abbrev.o syntax.o UNEXEC mocklisp.o bytecode.o \ 550 abbrev.o syntax.o UNEXEC mocklisp.o bytecode.o \
557 process.o callproc.o \ 551 process.o callproc.o \
558 region-cache.o sound.o atimer.o \ 552 region-cache.o sound.o atimer.o \
559 doprnt.o strftime.o MKTIME_OBJ GETLOADAVG_OBJ MSDOS_OBJ 553 doprnt.o strftime.o intervals.o textprop.o composite.o \
554 @LIBOBJS@ MSDOS_OBJ
560 555
561/* Object files used on some machine or other. 556/* Object files used on some machine or other.
562 These go in the DOC file on all machines 557 These go in the DOC file on all machines
563 in case they are needed there. */ 558 in case they are needed there. */
564SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o intervals.o textprop.o \ 559SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o \
565 xterm.o xfns.o xmenu.o xselect.o xrdb.o composite.o 560 xterm.o xfns.o xmenu.o xselect.o xrdb.o
566 561
567 562
568#ifdef TERMINFO 563#ifdef TERMINFO
@@ -622,14 +617,6 @@ widgetobj=
622 should not be told about. */ 617 should not be told about. */
623otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) 618otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj)
624 619
625#ifdef HAVE_FACES
626#define FACE_SUPPORT ${lispsource}facemenu.elc
627#else
628#define FACE_SUPPORT
629#endif
630
631#define FLOAT_SUPPORT ${lispsource}float-sup.elc
632
633#ifdef HAVE_MOUSE 620#ifdef HAVE_MOUSE
634#define MOUSE_SUPPORT ${lispsource}mouse.elc \ 621#define MOUSE_SUPPORT ${lispsource}mouse.elc \
635 ${lispsource}select.elc ${lispsource}scroll-bar.elc 622 ${lispsource}select.elc ${lispsource}scroll-bar.elc
@@ -637,12 +624,6 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj)
637#define MOUSE_SUPPORT 624#define MOUSE_SUPPORT
638#endif 625#endif
639 626
640#ifdef HAVE_X_WINDOWS
641#define X_WINDOWS_SUPPORT
642#else
643#define X_WINDOWS_SUPPORT
644#endif
645
646#ifdef VMS 627#ifdef VMS
647#define VMS_SUPPORT ${lispsource}vmsproc.elc ${lispsource}vms-patch.elc 628#define VMS_SUPPORT ${lispsource}vmsproc.elc ${lispsource}vms-patch.elc
648#else 629#else
@@ -686,11 +667,10 @@ lisp= \
686 ${lispsource}faces.elc \ 667 ${lispsource}faces.elc \
687 ${lispsource}files.elc \ 668 ${lispsource}files.elc \
688 ${lispsource}format.elc \ 669 ${lispsource}format.elc \
689 FACE_SUPPORT \ 670 ${lispsource}facemenu.elc \
690 MOUSE_SUPPORT \ 671 MOUSE_SUPPORT \
691 FLOAT_SUPPORT \ 672 ${lispsource}float-sup.elc \
692 ${lispsource}frame.elc\ 673 ${lispsource}frame.elc\
693 X_WINDOWS_SUPPORT \
694 ${lispsource}help.elc \ 674 ${lispsource}help.elc \
695 ${lispsource}indent.elc \ 675 ${lispsource}indent.elc \
696 ${lispsource}isearch.elc \ 676 ${lispsource}isearch.elc \
@@ -755,9 +735,12 @@ shortlisp= \
755 ../lisp/custom.elc \ 735 ../lisp/custom.elc \
756 ../lisp/emacs-lisp/lisp-mode.elc \ 736 ../lisp/emacs-lisp/lisp-mode.elc \
757 ../lisp/emacs-lisp/lisp.elc \ 737 ../lisp/emacs-lisp/lisp.elc \
738 ../lisp/facemenu.elc \
758 ../lisp/faces.elc \ 739 ../lisp/faces.elc \
759 ../lisp/files.elc \ 740 ../lisp/files.elc \
741 ../lisp/float-sup.elc \
760 ../lisp/format.elc \ 742 ../lisp/format.elc \
743 ../lisp/frame.elc \
761 ../lisp/help.elc \ 744 ../lisp/help.elc \
762 ../lisp/indent.elc \ 745 ../lisp/indent.elc \
763 ../lisp/isearch.elc \ 746 ../lisp/isearch.elc \
@@ -811,9 +794,7 @@ shortlisp= \
811 We use ../lisp/ to start the file names 794 We use ../lisp/ to start the file names
812 to reduce the size of the argument list for make-docfile 795 to reduce the size of the argument list for make-docfile
813 for the sake of systems which can't handle large ones. */ 796 for the sake of systems which can't handle large ones. */
814SOME_MACHINE_LISP = ${dotdot}/lisp/facemenu.elc \ 797SOME_MACHINE_LISP = ${dotdot}/lisp/menu-bar.elc ${dotdot}/lisp/mouse.elc \
815 ${dotdot}/lisp/float-sup.elc ${dotdot}/lisp/frame.elc \
816 ${dotdot}/lisp/menu-bar.elc ${dotdot}/lisp/mouse.elc \
817 ${dotdot}/lisp/select.elc ${dotdot}/lisp/scroll-bar.elc \ 798 ${dotdot}/lisp/select.elc ${dotdot}/lisp/scroll-bar.elc \
818 ${dotdot}/lisp/vmsproc.elc ${dotdot}/lisp/vms-patch.elc \ 799 ${dotdot}/lisp/vmsproc.elc ${dotdot}/lisp/vms-patch.elc \
819 ${dotdot}/lisp/ls-lisp.elc ${dotdot}/lisp/dos-fns.elc \ 800 ${dotdot}/lisp/ls-lisp.elc ${dotdot}/lisp/dos-fns.elc \
@@ -823,7 +804,7 @@ SOME_MACHINE_LISP = ${dotdot}/lisp/facemenu.elc \
823 Note that SunOS needs -lm to come before -lc; otherwise, you get 804 Note that SunOS needs -lm to come before -lc; otherwise, you get
824 duplicated symbols. If the standard libraries were compiled 805 duplicated symbols. If the standard libraries were compiled
825 with GCC, we might need gnulib again after them. */ 806 with GCC, we might need gnulib again after them. */
826LIBES = $(LOADLIBES) $(LDLIBS) $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ 807LIBES = $(LOADLIBES) $(LIBS) $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
827 LIBS_DEBUG $(GNULIB_VAR) LIB_MATH LIB_STANDARD $(GNULIB_VAR) 808 LIBS_DEBUG $(GNULIB_VAR) LIB_MATH LIB_STANDARD $(GNULIB_VAR)
828 809
829/* Enable recompilation of certain other files depending on system type. */ 810/* Enable recompilation of certain other files depending on system type. */
@@ -832,11 +813,6 @@ LIBES = $(LOADLIBES) $(LDLIBS) $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
832#define OTHER_FILES 813#define OTHER_FILES
833#endif 814#endif
834 815
835/* Enable inclusion of object files in temacs depending on system type. */
836#ifndef OBJECTS_SYSTEM
837#define OBJECTS_SYSTEM
838#endif
839
840#ifndef OBJECTS_MACHINE 816#ifndef OBJECTS_MACHINE
841#define OBJECTS_MACHINE 817#define OBJECTS_MACHINE
842#endif 818#endif
@@ -877,10 +853,10 @@ ${libsrc}make-docfile:
877#define MAKE_PARALLEL 853#define MAKE_PARALLEL
878#endif 854#endif
879 855
880temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args 856temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args
881 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \ 857 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \
882 -o temacs ${STARTFILES} ${obj} ${otherobj} \ 858 -o temacs ${STARTFILES} ${obj} ${otherobj} \
883 OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES} 859 OBJECTS_MACHINE ${LIBES}
884 860
885/* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE 861/* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
886 often contain options that have to do with using Emacs's crt0, 862 often contain options that have to do with using Emacs's crt0,
@@ -1033,7 +1009,7 @@ alloca.o : alloca.s $(config_h)
1033 1009
1034abbrev.o: abbrev.c buffer.h window.h commands.h charset.h $(config_h) 1010abbrev.o: abbrev.c buffer.h window.h commands.h charset.h $(config_h)
1035buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ 1011buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \
1036 INTERVAL_SRC blockinput.h charset.h $(config_h) 1012 $(INTERVAL_SRC) blockinput.h charset.h $(config_h)
1037callint.o: callint.c window.h commands.h buffer.h mocklisp.h \ 1013callint.o: callint.c window.h commands.h buffer.h mocklisp.h \
1038 keyboard.h $(config_h) 1014 keyboard.h $(config_h)
1039callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) \ 1015callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) \
@@ -1058,11 +1034,11 @@ dispnew.o: dispnew.c commands.h frame.h window.h buffer.h dispextern.h \
1058doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h charset.h 1034doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h charset.h
1059doprnt.o: doprnt.c charset.h $(config_h) 1035doprnt.o: doprnt.c charset.h $(config_h)
1060dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h) 1036dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h)
1061editfns.o: editfns.c window.h buffer.h systime.h INTERVAL_SRC charset.h \ 1037editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \
1062 coding.h $(config_h) 1038 coding.h $(config_h)
1063emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \ 1039emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \
1064 termhooks.h buffer.h INTERVAL_SRC $(config_h) 1040 termhooks.h buffer.h $(INTERVAL_SRC) $(config_h)
1065fileio.o: fileio.c window.h buffer.h systime.h INTERVAL_SRC charset.h \ 1041fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \
1066 coding.h ccl.h msdos.h $(config_h) 1042 coding.h ccl.h msdos.h $(config_h)
1067filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h) 1043filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h)
1068filemode.o: filemode.c $(config_h) 1044filemode.o: filemode.c $(config_h)
@@ -1072,11 +1048,11 @@ fontset.o: dispextern.h fontset.h fontset.c ccl.h charset.h frame.h $(config_h)
1072getloadavg.o: getloadavg.c $(config_h) 1048getloadavg.o: getloadavg.c $(config_h)
1073indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h \ 1049indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h \
1074 termopts.h disptab.h region-cache.h charset.h composite.h 1050 termopts.h disptab.h region-cache.h charset.h composite.h
1075insdel.o: insdel.c window.h buffer.h INTERVAL_SRC blockinput.h charset.h\ 1051insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h charset.h\
1076 $(config_h) 1052 $(config_h)
1077keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \ 1053keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \
1078 commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \ 1054 commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \
1079 systty.h systime.h dispextern.h syntax.h INTERVAL_SRC blockinput.h \ 1055 systty.h systime.h dispextern.h syntax.h $(INTERVAL_SRC) blockinput.h \
1080 xterm.h puresize.h msdos.h $(config_h) 1056 xterm.h puresize.h msdos.h $(config_h)
1081keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \ 1057keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \
1082 puresize.h charset.h $(config_h) 1058 puresize.h charset.h $(config_h)
@@ -1147,25 +1123,25 @@ atimer.o: atimer.c atimer.h systime.h $(config_h)
1147/* The files of Lisp proper */ 1123/* The files of Lisp proper */
1148 1124
1149alloc.o: alloc.c frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \ 1125alloc.o: alloc.c frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \
1150 blockinput.h charset.h $(config_h) INTERVAL_SRC 1126 blockinput.h charset.h $(config_h) $(INTERVAL_SRC)
1151bytecode.o: bytecode.c buffer.h syntax.h charset.h $(config_h) 1127bytecode.o: bytecode.c buffer.h syntax.h charset.h $(config_h)
1152data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h) 1128data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h)
1153eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h) 1129eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h)
1154floatfns.o: floatfns.c $(config_h) 1130floatfns.o: floatfns.c $(config_h)
1155fns.o: fns.c commands.h $(config_h) frame.h buffer.h keyboard.h \ 1131fns.o: fns.c commands.h $(config_h) frame.h buffer.h keyboard.h \
1156 frame.h window.h INTERVAL_SRC 1132 frame.h window.h $(INTERVAL_SRC)
1157print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h\ 1133print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h\
1158 $(config_h) dispextern.h msdos.h composite.h 1134 $(config_h) dispextern.h msdos.h composite.h
1159lread.o: lread.c commands.h keyboard.h buffer.h epaths.h charset.h $(config_h) \ 1135lread.o: lread.c commands.h keyboard.h buffer.h epaths.h charset.h $(config_h) \
1160 termhooks.h msdos.h 1136 termhooks.h msdos.h
1161 1137
1162/* Text properties support */ 1138/* Text properties support */
1163textprop.o: textprop.c buffer.h window.h INTERVAL_SRC $(config_h) 1139textprop.o: textprop.c buffer.h window.h $(INTERVAL_SRC) $(config_h)
1164intervals.o: intervals.c buffer.h INTERVAL_SRC keyboard.h puresize.h $(config_h) 1140intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h $(config_h)
1165composite.o: composite.c buffer.h charset.h INTERVAL_SRC $(config_h) 1141composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h)
1166 1142
1167/* System-specific programs to be made. 1143/* System-specific programs to be made.
1168 OTHER_FILES, OBJECTS_SYSTEM and OBJECTS_MACHINE 1144 OTHER_FILES and OBJECTS_MACHINE
1169 select which of these should be compiled. */ 1145 select which of these should be compiled. */
1170 1146
1171sunfns.o: sunfns.c buffer.h window.h $(config_h) 1147sunfns.o: sunfns.c buffer.h window.h $(config_h)