aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2003-08-20 16:54:33 +0000
committerDave Love2003-08-20 16:54:33 +0000
commit50e9cc3ac398c392e4aeeb159dd7eed45eaa75e6 (patch)
treece0daccd4c961a9986ebf4418237805c0192f18c /src
parent41634167eb9256bde86d3f034ed082ec4cb6dc97 (diff)
downloademacs-50e9cc3ac398c392e4aeeb159dd7eed45eaa75e6.tar.gz
emacs-50e9cc3ac398c392e4aeeb159dd7eed45eaa75e6.zip
(LWLIB_OPTIONS): Removed (unused).
(alloca.o): Remove obsolete stuff concerning alloca.s. Depend on atimer.h, blockinput.h.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in42
1 files changed, 4 insertions, 38 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 1961dfcdb13..ec244012b28 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -944,11 +944,6 @@ prefix-args${EXEEXT}: prefix-args.c $(config_h)
944#define OLDXMENU_OPTIONS 944#define OLDXMENU_OPTIONS
945#endif 945#endif
946 946
947/* Don't lose if this was not defined. */
948#ifndef LWLIB_OPTIONS
949#define LWLIB_OPTIONS
950#endif
951
952#if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS) 947#if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS)
953 948
954/* We use stamp-xmenu with these two deps 949/* We use stamp-xmenu with these two deps
@@ -972,7 +967,7 @@ C_SWITCH_X_SITE_1 = C_SWITCH_X_SITE
972C_SWITCH_X_MACHINE_1 = C_SWITCH_X_MACHINE 967C_SWITCH_X_MACHINE_1 = C_SWITCH_X_MACHINE
973C_SWITCH_X_SYSTEM_1 = C_SWITCH_X_SYSTEM 968C_SWITCH_X_SYSTEM_1 = C_SWITCH_X_SYSTEM
974really-lwlib: 969really-lwlib:
975 cd ${lwlibdir}; ${MAKE} ${MFLAGS} LWLIB_OPTIONS \ 970 cd ${lwlibdir}; ${MAKE} ${MFLAGS} \
976 CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}' \ 971 CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}' \
977 "C_SWITCH_X_SITE=$(C_SWITCH_X_SITE_1)" \ 972 "C_SWITCH_X_SITE=$(C_SWITCH_X_SITE_1)" \
978 "C_SWITCH_X_MACHINE=$(C_SWITCH_X_MACHINE_1)" \ 973 "C_SWITCH_X_MACHINE=$(C_SWITCH_X_MACHINE_1)" \
@@ -1023,40 +1018,11 @@ stamp-oldxmenu:
1023 exit 1 1018 exit 1
1024 1019
1025/* Some machines have alloca built-in. 1020/* Some machines have alloca built-in.
1026 They should define HAVE_ALLOCA, or may just let alloca.s 1021 They should define HAVE_ALLOCA.
1027 be used but generate no code.
1028 Some have it written in assembler in alloca.s.
1029 Some use the C version in alloca.c (these define C_ALLOCA in config.h). 1022 Some use the C version in alloca.c (these define C_ALLOCA in config.h).
1030 */ 1023 */
1031 1024alloca.o : alloca.c blockinput.h atimer.h
1032#ifdef C_ALLOCA 1025 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) ${srcdir}/alloca.c
1033/* We could put something in alloca.c to #define free and malloc
1034 whenever emacs was #defined, but that's not appropriate for all
1035 users of alloca in Emacs. Check out ../lib-src/getopt.c. */
1036alloca.o : alloca.c
1037 $(CC) -c $(CPPFLAGS) -DEMACS_FREE=xfree -DDO_BLOCK_INPUT \
1038 $(ALL_CFLAGS) ${srcdir}/alloca.c
1039#else
1040#ifndef HAVE_ALLOCA
1041alloca.o : alloca.s $(config_h)
1042/* $(CPP) is cc -E, which may get confused by filenames
1043 that do not end in .c. So copy file to a safe name. */
1044 -rm -f allocatem.c
1045 cp ${srcdir}/alloca.s allocatem.c
1046/* Remove any ^L, blank lines, and preprocessor comments,
1047 since some assemblers barf on them. Use a different basename for the
1048 output file, since some stupid compilers (Green Hill's) use that
1049 name for the intermediate assembler file. */
1050 $(CPP) $(CPPFLAGS) $(ALL_CFLAGS) allocatem.c | \
1051 sed -e 's/ //' -e 's/^#.*//' | \
1052 sed -n -e '/^..*$$/p' > allocax.s
1053 -rm -f alloca.o
1054/* Xenix, in particular, needs to run assembler via cc. */
1055 $(CC) -c allocax.s
1056 mv allocax.o alloca.o
1057 -rm -f allocax.s allocatem.c
1058#endif /* HAVE_ALLOCA */
1059#endif /* ! defined (C_ALLOCA) */
1060 1026
1061/* Nearly all the following files depend on lisp.h, 1027/* Nearly all the following files depend on lisp.h,
1062 but it is not included as a dependency because 1028 but it is not included as a dependency because