Mercurial > emacs
annotate src/=Makefile.in @ 472:e6b49c51a9bb
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 21 Dec 1991 08:11:14 +0000 |
parents | 3cbe2e1f5585 |
children | 7d92947cce7d |
rev | line source |
---|---|
158 | 1 MAKE = make |
2 # BSD doesn't have it as a default. | |
3 | |
4 CC = gcc | |
33 | 5 CPP = $(CC) -E |
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: | |
14 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all | |
15 | |
16 #This is used in making a distribution. | |
17 #Do not use it on development directories! | |
18 distclean: | |
19 -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *~ \#* *.o | |
20 | |
21 clean: | |
22 -rm -f temacs xemacs xmakefile core \#* *.o | |
23 | |
24 xemacs: xmakefile doxemacs | |
25 | |
26 doxemacs: | |
27 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs | |
28 | |
29 temacs: xmakefile dotemacs | |
30 | |
31 dotemacs: | |
32 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs | |
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 | |
158 | 37 -rm -f xmakefile junk.c |
33 | 38 cp ymakefile junk.c |
39 $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \ | |
40 sed -n -e '/^..*$$/p' > xmakefile | |
41 rm -f junk.c | |
42 | |
43 tags TAGS: | |
44 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el |