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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
158
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
1 MAKE = make
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
2 # BSD doesn't have it as a default.
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
3
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
4 CC = gcc
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
5 CPP = $(CC) -E
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
6 #Note: an alternative is CPP = /lib/cpp
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
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
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
11 all: xmakefile doall
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
12
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
13 doall:
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
14 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
15
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
16 #This is used in making a distribution.
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
17 #Do not use it on development directories!
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
18 distclean:
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
19 -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *~ \#* *.o
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
20
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
21 clean:
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
22 -rm -f temacs xemacs xmakefile core \#* *.o
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
23
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
24 xemacs: xmakefile doxemacs
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
25
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
26 doxemacs:
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
27 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
28
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
29 temacs: xmakefile dotemacs
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
30
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
31 dotemacs:
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
32 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
34 # If you have a problem with cc -E here, changing
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
35 # the definition of CPP above may fix it.
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
36 xmakefile: ymakefile config.h
158
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
37 -rm -f xmakefile junk.c
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
38 cp ymakefile junk.c
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
39 $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
40 sed -n -e '/^..*$$/p' > xmakefile
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
41 rm -f junk.c
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
42
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
43 tags TAGS:
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
44 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el