annotate src/=Makefile.in @ 736:18b892513cb7

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 Jul 1992 22:11:40 +0000
parents a8d94735277e
children cc52c6087403
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
492
7d92947cce7d *** empty log message ***
Michael I. Bushnell <mib@gnu.org>
parents: 186
diff changeset
4 CC =gcc
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
5 CPP = $(CC) -E -Is -Im
33
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:
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 492
diff changeset
14 $(MAKE) CC=${CC} $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all
33
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:
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
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:
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
22 -rm -f temacs xemacs xmakefile* core \#* *.o
33
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
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
37 -rm -f xmakefile xmakefile.new junk.c junk.cpp
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
38 cp ymakefile junk.c
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
39 $(CPP) junk.c > junk.cpp
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
40 < junk.cpp \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
41 sed -e 's/^#.*//' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
42 -e 's/^[ \f\t][ \f\t]*$$//' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
43 -e 's/^ / /' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
44 | sed -n -e '/^..*$$/p' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
45 > xmakefile.new
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
46 mv -f xmakefile.new xmakefile
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
47 rm -f junk.c
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
48
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
49 tags TAGS:
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
50 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el