aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-12-12 15:29:40 +0000
committerJim Blandy1992-12-12 15:29:40 +0000
commit9e012fc3b7d26bbe446023440ba359a397169e80 (patch)
treefbe26e7532bbace366d039d4eb5c51678fc3631f /src
parent84128dee7b6a62608d30bff4ef29c9d2690df6e5 (diff)
downloademacs-9e012fc3b7d26bbe446023440ba359a397169e80.tar.gz
emacs-9e012fc3b7d26bbe446023440ba359a397169e80.zip
* Makefile.in (distclean): Don't delete machine.h or system.h;
they don't exist anymore. * Makefile.in (distclean): Don't delete autosave or backup files. (extraclean): New target; like distclean, but delete autosave and backup files too. * Makefile.in (srcdir): New variable, not fully implemented. (xmakefile): Turn -g and -O in CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH in C_SWITCH_SITE's definition. Delete junk.cpp when done. * ymakefile (archlib): Variable definition deleted. Run programs from ../lib-src directly, or use ${archlibdir}. (${etc}DOC): Run make-docfile from ${libsrc}, not ${archlib}. (${archlib}make-docfile, ${archlib}emacstool): Use ${libsrc}, not ${archlib}.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 79994082791..606e0630b9b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -5,9 +5,13 @@
5MAKE = make 5MAKE = make
6# BSD doesn't have it as a default. 6# BSD doesn't have it as a default.
7 7
8# These values are edited by configure. 8# ==================== Things `configure' might edit ====================
9
9CC=cc 10CC=cc
10CFLAGS=-g 11CONFIG_CFLAGS=-g
12srcdir=.
13
14# ============================= Targets ==============================
11 15
12CPP = $(CC) -E -Is -Im 16CPP = $(CC) -E -Is -Im
13#Note: an alternative is CPP = /lib/cpp 17#Note: an alternative is CPP = /lib/cpp
@@ -15,6 +19,8 @@ CPP = $(CC) -E -Is -Im
15# Just to avoid uncertainty. 19# Just to avoid uncertainty.
16SHELL = /bin/sh 20SHELL = /bin/sh
17 21
22CFLAGS=${CONFIG_CFLAGS}
23
18all: doall 24all: doall
19 25
20doall: xmakefile 26doall: xmakefile
@@ -23,11 +29,14 @@ doall: xmakefile
23#This is used in making a distribution. 29#This is used in making a distribution.
24#Do not use it on development directories! 30#Do not use it on development directories!
25distclean: 31distclean:
26 -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ m/*~ s/*~ \#* *.o 32 -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *.o
27 33
28clean: 34clean:
29 -rm -f temacs xemacs prefix-args xmakefile* core \#* *.o 35 -rm -f temacs xemacs prefix-args xmakefile* core \#* *.o
30 36
37extraclean: distclean
38 -rm -f *~ \#* m/*~ s/*~
39
31xemacs: doxemacs 40xemacs: doxemacs
32 41
33doxemacs: xmakefile 42doxemacs: xmakefile
@@ -57,6 +66,7 @@ xmakefile: ymakefile config.h
57 | sed -n -e '/^..*$$/p' \ 66 | sed -n -e '/^..*$$/p' \
58 > xmakefile.new 67 > xmakefile.new
59 mv -f xmakefile.new xmakefile 68 mv -f xmakefile.new xmakefile
69 chmod 444 xmakefile
60 rm -f junk.c junk.cpp 70 rm -f junk.c junk.cpp
61 71
62tags TAGS: 72tags TAGS: