aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-04-16 17:33:08 +0000
committerDave Love2000-04-16 17:33:08 +0000
commit07c6adecef449c4d9cba6cb70b4b66502ac35996 (patch)
tree32a7cb5436eef33f23c168a542bfef4b1c0e6623 /src
parentf855fad27560c8fabfcba08ec31a63fddc9f7271 (diff)
downloademacs-07c6adecef449c4d9cba6cb70b4b66502ac35996.tar.gz
emacs-07c6adecef449c4d9cba6cb70b4b66502ac35996.zip
Remove obsolete localcpp stuff.
(GETLOADAVG_OBJ): Don't define. (obj): Move LIBOBJS... (otherobj): ... to here. (MSDOS_OBJ): Convert to make variable -- preprocessing zapped whitespace-only lines after the continuation (Irix).
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in52
1 files changed, 4 insertions, 48 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 0d3f1f3d767..1a9d6952d44 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -234,23 +234,6 @@ STARTFILES = START_FILES
234#define C_SWITCH_ASM 234#define C_SWITCH_ASM
235#endif 235#endif
236 236
237/* Figure out whether the system cpp can handle long names.
238 Do it by testing it right now.
239 If it loses, arrange to use the GNU cpp. */
240
241#define LONGNAMEBBBFOOX
242#ifdef LONGNAMEBBBARFOOX
243/* Installed cpp fails to distinguish those names! */
244/* Arrange to compile the GNU cpp later on */
245#define NEED_CPP
246/* Cause cc to invoke the cpp that comes with Emacs,
247 which will be in a file named localcpp. */
248MYCPPFLAG= -Blocal
249/* LOCALCPP is the local one or nothing.
250 CPP is the local one or the standard one. */
251LOCALCPP= localcpp
252#endif /* ! defined (LONGNAMEBBBARFOOX) */
253
254#ifdef USE_X_TOOLKIT 237#ifdef USE_X_TOOLKIT
255#define USE_@X_TOOLKIT_TYPE@ 238#define USE_@X_TOOLKIT_TYPE@
256TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@ 239TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@
@@ -520,20 +503,12 @@ ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \
520 503
521INTERVAL_SRC = intervals.h composite.h 504INTERVAL_SRC = intervals.h composite.h
522 505
523#ifdef HAVE_GETLOADAVG
524#define GETLOADAVG_OBJ
525#else
526#define GETLOADAVG_OBJ getloadavg.o
527#endif
528
529#ifdef MSDOS 506#ifdef MSDOS
530#ifdef HAVE_X_WINDOWS 507#ifdef HAVE_X_WINDOWS
531#define MSDOS_OBJ dosfns.o msdos.o 508MSDOS_OBJ = dosfns.o msdos.o
532#else 509#else
533#define MSDOS_OBJ dosfns.o msdos.o w16select.o 510MSDOS_OBJ = dosfns.o msdos.o w16select.o
534#endif 511#endif
535#else
536#define MSDOS_OBJ
537#endif 512#endif
538 513
539 514
@@ -552,7 +527,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o \
552 process.o callproc.o \ 527 process.o callproc.o \
553 region-cache.o sound.o atimer.o \ 528 region-cache.o sound.o atimer.o \
554 doprnt.o strftime.o intervals.o textprop.o composite.o \ 529 doprnt.o strftime.o intervals.o textprop.o composite.o \
555 $(LIBOBJS) MSDOS_OBJ 530 $(MSDOS_OBJ)
556 531
557/* Object files used on some machine or other. 532/* Object files used on some machine or other.
558 These go in the DOC file on all machines 533 These go in the DOC file on all machines
@@ -616,7 +591,7 @@ widgetobj=
616 591
617/* define otherobj as list of object files that make-docfile 592/* define otherobj as list of object files that make-docfile
618 should not be told about. */ 593 should not be told about. */
619otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) 594otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) $(LIBOBJS)
620 595
621#ifdef HAVE_MOUSE 596#ifdef HAVE_MOUSE
622#define MOUSE_SUPPORT ${lispsource}mouse.elc \ 597#define MOUSE_SUPPORT ${lispsource}mouse.elc \
@@ -865,25 +840,6 @@ temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj
865prefix-args: prefix-args.c $(config_h) 840prefix-args: prefix-args.c $(config_h)
866 $(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args 841 $(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
867 842
868/* These are needed for C compilation, on the systems that need them */
869#ifdef NEED_CPP
870CPP = ./localcpp
871localcpp:
872 cd ${cppdir}; ${MAKE} ${MFLAGS} EMACS=-DEMACS
873 ln ${cppdir}cpp localcpp /* Name where ALL_CFLAGS will refer to it */
874/* cc appears to be cretinous and require all of these to exist
875 if -B is specified -- we can't use one local pass and let the
876 others be the standard ones. What a loser.
877 We can't even use ln, since they are probably
878 on different disks. */
879 cp /lib/ccom localccom
880 -cp /lib/optim localoptim
881 -cp /lib/c2 localc2
882 cp /bin/as localas
883#else /* ! defined (NEED_CPP) */
884CPP = $(CC) -E
885#endif /* ! defined (NEED_CPP) */
886
887/* Don't lose if this was not defined. */ 843/* Don't lose if this was not defined. */
888#ifndef OLDXMENU_OPTIONS 844#ifndef OLDXMENU_OPTIONS
889#define OLDXMENU_OPTIONS 845#define OLDXMENU_OPTIONS