Mercurial > emacs
comparison src/=Makefile.in @ 1677:bf8ee433f4d2
* 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}.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 12 Dec 1992 15:29:40 +0000 |
parents | bd3afc204773 |
children | ca439341a0e5 |
comparison
equal
deleted
inserted
replaced
1676:e8b3c6b52c1e | 1677:bf8ee433f4d2 |
---|---|
3 # DIST: that first. | 3 # DIST: that first. |
4 | 4 |
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 |
14 | 18 |
15 # Just to avoid uncertainty. | 19 # Just to avoid uncertainty. |
16 SHELL = /bin/sh | 20 SHELL = /bin/sh |
21 | |
22 CFLAGS=${CONFIG_CFLAGS} | |
17 | 23 |
18 all: doall | 24 all: doall |
19 | 25 |
20 doall: xmakefile | 26 doall: xmakefile |
21 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all | 27 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all |
22 | 28 |
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 |
36 | |
37 extraclean: distclean | |
38 -rm -f *~ \#* m/*~ s/*~ | |
30 | 39 |
31 xemacs: doxemacs | 40 xemacs: doxemacs |
32 | 41 |
33 doxemacs: xmakefile | 42 doxemacs: xmakefile |
34 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} xemacs | 43 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} xemacs |
55 -e 's/^[ \f\t][ \f\t]*$$//' \ | 64 -e 's/^[ \f\t][ \f\t]*$$//' \ |
56 -e 's/^ / /' \ | 65 -e 's/^ / /' \ |
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: |
63 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \ | 73 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \ |
64 ../external-lisp/*.el | 74 ../external-lisp/*.el |