annotate src/=Makefile.in @ 930:1dac458b5117

*** empty log message ***
author Eric S. Raymond <esr@snark.thyrsus.com>
date Tue, 04 Aug 1992 17:18:16 +0000
parents 72870fa245ce
children 0ffcf74fb8ad
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:
857
cc52c6087403 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 732
diff changeset
14 $(MAKE) CC='${CC}' -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:
857
cc52c6087403 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 732
diff changeset
27 $(MAKE) -f xmakefile ${MFLAGS} xemacs
33
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:
857
cc52c6087403 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 732
diff changeset
32 $(MAKE) -f xmakefile ${MFLAGS} temacs
33
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:
887
72870fa245ce *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 857
diff changeset
50 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \
72870fa245ce *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 857
diff changeset
51 ../external-lisp/*.el