aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-10 00:13:32 +0000
committerJim Blandy1993-05-10 00:13:32 +0000
commitd70fd7d6ee50f1c0e9d7df7c430fa3d1efa71876 (patch)
tree1bdb8c6c44e1585fcc15498bc08e210fe29edac8 /src
parent663258f2ffbd0f5c7fc6f774e20445b7e76112f0 (diff)
downloademacs-d70fd7d6ee50f1c0e9d7df7c430fa3d1efa71876.tar.gz
emacs-d70fd7d6ee50f1c0e9d7df7c430fa3d1efa71876.zip
* Makefile.in (DEFS): Remove this; we have configure build a
config.h file directly, instead of having lots of -D flags. * Makefile.in (CFLAGS): Don't make this carry DEFS from the configure script; the coding standards say that CFLAGS should be left for the user to tweak. * Makefile.in (LN_S): New variable, edited by top Makefile. (SUBMAKEFILE): New variable, containing all flags to pass to recursive makes.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 5f0afca50c3..70cad233587 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -8,8 +8,9 @@ MAKE = make
8# ==================== Things `configure' might edit ==================== 8# ==================== Things `configure' might edit ====================
9 9
10CC=cc 10CC=cc
11DEFS=-g 11CFLAGS=-g
12srcdir=. 12srcdir=.
13LN_S=ln -s
13 14
14# ============================= Targets ============================== 15# ============================= Targets ==============================
15 16
@@ -19,12 +20,12 @@ CPP = $(CC) -E -Is -Im
19# Just to avoid uncertainty. 20# Just to avoid uncertainty.
20SHELL = /bin/sh 21SHELL = /bin/sh
21 22
22CFLAGS=${DEFS} 23SUBMAKEFLAGS = CC='${CC}' LN_S='${LN_S}'
23 24
24all: doall 25all: doall
25 26
26doall: xmakefile 27doall: xmakefile
27 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all 28 $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} all
28 29
29#This is used in making a distribution. 30#This is used in making a distribution.
30#Do not use it on development directories! 31#Do not use it on development directories!
@@ -44,13 +45,13 @@ emacs: doemacs
44 @true 45 @true
45 46
46doemacs: xmakefile 47doemacs: xmakefile
47 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} emacs 48 $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} emacs
48 49
49temacs: dotemacs 50temacs: dotemacs
50 @true 51 @true
51 52
52dotemacs: xmakefile 53dotemacs: xmakefile
53 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} temacs 54 $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} temacs
54 55
55SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \ 56SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \
56 config.h.in README COPYING ChangeLog vms.pp-trans 57 config.h.in README COPYING ChangeLog vms.pp-trans