Mercurial > emacs
annotate src/=Makefile.in @ 936:d91c2a61a3ad
*** empty log message ***
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Tue, 04 Aug 1992 22:31:21 +0000 |
parents | 72870fa245ce |
children | 0ffcf74fb8ad |
rev | line source |
---|---|
158 | 1 MAKE = make |
2 # BSD doesn't have it as a default. | |
3 | |
492
7d92947cce7d
*** empty log message ***
Michael I. Bushnell <mib@gnu.org>
parents:
186
diff
changeset
|
4 CC =gcc |
732 | 5 CPP = $(CC) -E -Is -Im |
33 | 6 #Note: an alternative is CPP = /lib/cpp |
7 | |
186
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
8 # Just to avoid uncertainty. |
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
9 SHELL = /bin/sh |
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
10 |
33 | 11 all: xmakefile doall |
12 | |
13 doall: | |
857 | 14 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all |
33 | 15 |
16 #This is used in making a distribution. | |
17 #Do not use it on development directories! | |
18 distclean: | |
492
7d92947cce7d
*** empty log message ***
Michael I. Bushnell <mib@gnu.org>
parents:
186
diff
changeset
|
19 -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ \#* *.o |
33 | 20 |
21 clean: | |
732 | 22 -rm -f temacs xemacs xmakefile* core \#* *.o |
33 | 23 |
24 xemacs: xmakefile doxemacs | |
25 | |
26 doxemacs: | |
857 | 27 $(MAKE) -f xmakefile ${MFLAGS} xemacs |
33 | 28 |
29 temacs: xmakefile dotemacs | |
30 | |
31 dotemacs: | |
857 | 32 $(MAKE) -f xmakefile ${MFLAGS} temacs |
33 | 33 |
34 # If you have a problem with cc -E here, changing | |
35 # the definition of CPP above may fix it. | |
36 xmakefile: ymakefile config.h | |
732 | 37 -rm -f xmakefile xmakefile.new junk.c junk.cpp |
33 | 38 cp ymakefile junk.c |
732 | 39 $(CPP) junk.c > junk.cpp |
40 < junk.cpp \ | |
41 sed -e 's/^#.*//' \ | |
42 -e 's/^[ \f\t][ \f\t]*$$//' \ | |
43 -e 's/^ / /' \ | |
44 | sed -n -e '/^..*$$/p' \ | |
45 > xmakefile.new | |
46 mv -f xmakefile.new xmakefile | |
33 | 47 rm -f junk.c |
48 | |
49 tags TAGS: | |
887 | 50 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \ |
51 ../external-lisp/*.el |