annotate src/=Makefile.in @ 1379:65b91b0ee332

[__GNUC__ >= 2] (LIB_STANDARD): Don't define.
author Richard M. Stallman <rms@gnu.org>
date Sat, 10 Oct 1992 11:46:11 +0000
parents 0ffcf74fb8ad
children 82e64050c565
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 887
diff changeset
1 # DIST: This is the distribution Makefile for Emacs. configure can
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 887
diff changeset
2 # DIST: make most of the changes to this file you might want, so try
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 887
diff changeset
3 # DIST: that first.
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 887
diff changeset
4
158
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
5 MAKE = make
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
6 # BSD doesn't have it as a default.
a4e766535a97 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 33
diff changeset
7
492
7d92947cce7d *** empty log message ***
Michael I. Bushnell <mib@gnu.org>
parents: 186
diff changeset
8 CC =gcc
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
9 CPP = $(CC) -E -Is -Im
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
10 #Note: an alternative is CPP = /lib/cpp
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
11
186
3cbe2e1f5585 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 158
diff changeset
12 # Just to avoid uncertainty.
3cbe2e1f5585 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 158
diff changeset
13 SHELL = /bin/sh
3cbe2e1f5585 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 158
diff changeset
14
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
15 all: xmakefile doall
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
16
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
17 doall:
857
cc52c6087403 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 732
diff changeset
18 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
19
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
20 #This is used in making a distribution.
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
21 #Do not use it on development directories!
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
22 distclean:
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 887
diff changeset
23 -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ m/*~ s/*~ \#* *.o
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
24
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
25 clean:
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
26 -rm -f temacs xemacs xmakefile* core \#* *.o
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
27
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
28 xemacs: xmakefile doxemacs
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
29
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
30 doxemacs:
857
cc52c6087403 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 732
diff changeset
31 $(MAKE) -f xmakefile ${MFLAGS} xemacs
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
32
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
33 temacs: xmakefile dotemacs
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
34
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
35 dotemacs:
857
cc52c6087403 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 732
diff changeset
36 $(MAKE) -f xmakefile ${MFLAGS} temacs
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
37
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
38 # If you have a problem with cc -E here, changing
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
39 # the definition of CPP above may fix it.
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
40 xmakefile: ymakefile config.h
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
41 -rm -f xmakefile xmakefile.new junk.c junk.cpp
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
42 cp ymakefile junk.c
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
43 $(CPP) junk.c > junk.cpp
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
44 < junk.cpp \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
45 sed -e 's/^#.*//' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
46 -e 's/^[ \f\t][ \f\t]*$$//' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
47 -e 's/^ / /' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
48 | sed -n -e '/^..*$$/p' \
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
49 > xmakefile.new
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
50 mv -f xmakefile.new xmakefile
33
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
51 rm -f junk.c
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
52
d79553328306 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
53 tags TAGS:
887
72870fa245ce *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 857
diff changeset
54 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
55 ../external-lisp/*.el