aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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: