changeset 28609:8099fbbcc6e9

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).
author Dave Love <fx@gnu.org>
date Sun, 16 Apr 2000 17:33:08 +0000
parents c46c2efa3731
children 68bf3b7c018f
files src/Makefile.in
diffstat 1 files changed, 4 insertions(+), 48 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Sun Apr 16 17:21:24 2000 +0000
+++ b/src/Makefile.in	Sun Apr 16 17:33:08 2000 +0000
@@ -234,23 +234,6 @@
 #define C_SWITCH_ASM
 #endif
 
-/* Figure out whether the system cpp can handle long names.
-   Do it by testing it right now.
-   If it loses, arrange to use the GNU cpp.  */
-
-#define LONGNAMEBBBFOOX
-#ifdef LONGNAMEBBBARFOOX
-/* Installed cpp fails to distinguish those names!  */
-/* Arrange to compile the GNU cpp later on */
-#define NEED_CPP
-/* Cause cc to invoke the cpp that comes with Emacs,
-   which will be in a file named localcpp.  */
-MYCPPFLAG= -Blocal
-/* LOCALCPP is the local one or nothing.
-   CPP is the local one or the standard one.  */
-LOCALCPP= localcpp
-#endif /* ! defined (LONGNAMEBBBARFOOX) */
-
 #ifdef USE_X_TOOLKIT
 #define USE_@X_TOOLKIT_TYPE@
 TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@
@@ -520,20 +503,12 @@
 
 INTERVAL_SRC = intervals.h composite.h
 
-#ifdef HAVE_GETLOADAVG
-#define GETLOADAVG_OBJ
-#else
-#define GETLOADAVG_OBJ getloadavg.o
-#endif
-
 #ifdef MSDOS
 #ifdef HAVE_X_WINDOWS
-#define MSDOS_OBJ dosfns.o msdos.o
+MSDOS_OBJ = dosfns.o msdos.o
 #else
-#define MSDOS_OBJ dosfns.o msdos.o w16select.o
+MSDOS_OBJ = dosfns.o msdos.o w16select.o
 #endif
-#else
-#define MSDOS_OBJ
 #endif
 
 
@@ -552,7 +527,7 @@
 	process.o callproc.o \
 	region-cache.o sound.o atimer.o \
 	doprnt.o strftime.o intervals.o textprop.o composite.o \
-	$(LIBOBJS) MSDOS_OBJ
+	$(MSDOS_OBJ)
 
 /* Object files used on some machine or other.
    These go in the DOC file on all machines
@@ -616,7 +591,7 @@
 
 /* define otherobj as list of object files that make-docfile
    should not be told about.  */
-otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj)
+otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) $(LIBOBJS)
 
 #ifdef HAVE_MOUSE
 #define MOUSE_SUPPORT ${lispsource}mouse.elc \
@@ -865,25 +840,6 @@
 prefix-args: prefix-args.c $(config_h)
 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
 
-/* These are needed for C compilation, on the systems that need them */
-#ifdef NEED_CPP
-CPP = ./localcpp
-localcpp:
-	cd ${cppdir}; ${MAKE} ${MFLAGS} EMACS=-DEMACS
-	ln ${cppdir}cpp localcpp  /* Name where ALL_CFLAGS will refer to it */
-/* cc appears to be cretinous and require all of these to exist
-   if -B is specified -- we can't use one local pass and let the
-   others be the standard ones.  What a loser.
-   We can't even use ln, since they are probably
-   on different disks.  */
-	cp /lib/ccom localccom
-	-cp /lib/optim localoptim
-	-cp /lib/c2 localc2
-	cp /bin/as localas
-#else /* ! defined (NEED_CPP) */
-CPP = $(CC) -E
-#endif /* ! defined (NEED_CPP) */
-
 /* Don't lose if this was not defined.  */
 #ifndef OLDXMENU_OPTIONS
 #define OLDXMENU_OPTIONS