comparison src/Makefile.in @ 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 208f9a3dc638
children 73cdcbe7fbd6
comparison
equal deleted inserted replaced
28608:c46c2efa3731 28609:8099fbbcc6e9
232 Nothing special needed on most machines. */ 232 Nothing special needed on most machines. */
233 #ifndef C_SWITCH_ASM 233 #ifndef C_SWITCH_ASM
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. */
248 MYCPPFLAG= -Blocal
249 /* LOCALCPP is the local one or nothing.
250 CPP is the local one or the standard one. */
251 LOCALCPP= 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@
256 TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@ 239 TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@
257 #else 240 #else
258 TOOLKIT_DEFINES = 241 TOOLKIT_DEFINES =
518 #define UNEXEC_SRC unexec.c 501 #define UNEXEC_SRC unexec.c
519 #endif 502 #endif
520 503
521 INTERVAL_SRC = intervals.h composite.h 504 INTERVAL_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 508 MSDOS_OBJ = dosfns.o msdos.o
532 #else 509 #else
533 #define MSDOS_OBJ dosfns.o msdos.o w16select.o 510 MSDOS_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
540 /* lastfile must follow all files 515 /* lastfile must follow all files
541 whose initialized data areas should be dumped as pure by dump-emacs. */ 516 whose initialized data areas should be dumped as pure by dump-emacs. */
550 eval.o floatfns.o fns.o print.o lread.o \ 525 eval.o floatfns.o fns.o print.o lread.o \
551 abbrev.o syntax.o UNEXEC mocklisp.o bytecode.o \ 526 abbrev.o syntax.o UNEXEC mocklisp.o bytecode.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
559 in case they are needed there. */ 534 in case they are needed there. */
560 SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o \ 535 SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o \
614 #endif /* not USE_X_TOOLKIT */ 589 #endif /* not USE_X_TOOLKIT */
615 590
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. */
619 otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) 594 otherobj= $(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 \
623 ${lispsource}select.elc ${lispsource}scroll-bar.elc 598 ${lispsource}select.elc ${lispsource}scroll-bar.elc
624 #else 599 #else
862 /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE 837 /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
863 often contain options that have to do with using Emacs's crt0, 838 often contain options that have to do with using Emacs's crt0,
864 which are only good with temacs. */ 839 which are only good with temacs. */
865 prefix-args: prefix-args.c $(config_h) 840 prefix-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
868 /* These are needed for C compilation, on the systems that need them */
869 #ifdef NEED_CPP
870 CPP = ./localcpp
871 localcpp:
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) */
884 CPP = $(CC) -E
885 #endif /* ! defined (NEED_CPP) */
886 842
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
890 #endif 846 #endif