diff options
| author | Jim Blandy | 1992-12-12 15:29:40 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-12-12 15:29:40 +0000 |
| commit | 9e012fc3b7d26bbe446023440ba359a397169e80 (patch) | |
| tree | fbe26e7532bbace366d039d4eb5c51678fc3631f /src | |
| parent | 84128dee7b6a62608d30bff4ef29c9d2690df6e5 (diff) | |
| download | emacs-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.in | 16 |
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 @@ | |||
| 5 | MAKE = make | 5 | MAKE = 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 | |||
| 9 | CC=cc | 10 | CC=cc |
| 10 | CFLAGS=-g | 11 | CONFIG_CFLAGS=-g |
| 12 | srcdir=. | ||
| 13 | |||
| 14 | # ============================= Targets ============================== | ||
| 11 | 15 | ||
| 12 | CPP = $(CC) -E -Is -Im | 16 | CPP = $(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. |
| 16 | SHELL = /bin/sh | 20 | SHELL = /bin/sh |
| 17 | 21 | ||
| 22 | CFLAGS=${CONFIG_CFLAGS} | ||
| 23 | |||
| 18 | all: doall | 24 | all: doall |
| 19 | 25 | ||
| 20 | doall: xmakefile | 26 | doall: 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! |
| 25 | distclean: | 31 | distclean: |
| 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 | ||
| 28 | clean: | 34 | clean: |
| 29 | -rm -f temacs xemacs prefix-args xmakefile* core \#* *.o | 35 | -rm -f temacs xemacs prefix-args xmakefile* core \#* *.o |
| 30 | 36 | ||
| 37 | extraclean: distclean | ||
| 38 | -rm -f *~ \#* m/*~ s/*~ | ||
| 39 | |||
| 31 | xemacs: doxemacs | 40 | xemacs: doxemacs |
| 32 | 41 | ||
| 33 | doxemacs: xmakefile | 42 | doxemacs: 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 | ||
| 62 | tags TAGS: | 72 | tags TAGS: |