Mercurial > emacs
annotate src/=Makefile.in @ 20892:18f3cb26243f before-miles-orphaned-changes gcc-2_8_1-980401 gcc-2_8_1-980407 gcc-2_8_1-980412 gcc-2_8_1-980413 gcc-2_8_1-RELEASE gcc_2_8_1-980315 libc-980214 libc-980215 libc-980216 libc-980217 libc-980218 libc-980219 libc-980220 libc-980221 libc-980222 libc-980223 libc-980224 libc-980225 libc-980226 libc-980227 libc-980228 libc-980301 libc-980302 libc-980303 libc-980304 libc-980306 libc-980307 libc-980308 libc-980309 libc-980310 libc-980311 libc-980312 libc-980313 libc-980314 libc-980315 libc-980316 libc-980317 libc-980318 libc-980319 libc-980320 libc-980321 libc-980322 libc-980323 libc-980324 libc-980325 libc-980326 libc-980327 libc-980328 libc-980329 libc-980330 libc-980331 libc-980401 libc-980402 libc-980403 libc-980404 libc-980405 libc-980406 libc-980407 libc-980408 libc-980409 libc-980410 libc-980411 libc-980412 libc-980413 libc-980414 libc-980428 libc-980429 libc-980430 libc-980501 libc-980502 libc-980503 libc-980504 libc-980505 libc-980506 libc-980507 libc-980508 libc-980509 libc-980510 libc-980512 libc-980513 libc-980514 libc-980515 libc-980516 libc-980517 libc-980518 libc-980519 libc-980520 libc-980521 libc-980522 libc-980523 libc-980524 libc-980525 libc-980526 libc-980527 libc-980528 libc-980529 libc-980530 libc-980531 libc-980601 libc-980602 libc-980603 libc-980604 libc-980605 libc-980606 libc-980607 libc-980608 libc-980609 libc-980610 libc-980611 libc-980612 libc-980613
Add PentiumII (i786). Add '7' to all i[3456] entries.
Add AMD and Cyrix names for P5 and P6.
author | Richard Kenner <kenner@gnu.org> |
---|---|
date | Fri, 13 Feb 1998 12:16:46 +0000 |
parents | e58fefa3c3ab |
children |
rev | line source |
---|---|
1113 | 1 # DIST: This is the distribution Makefile for Emacs. configure can |
2 # DIST: make most of the changes to this file you might want, so try | |
3 # DIST: that first. | |
4 | |
158 | 5 MAKE = make |
6 # BSD doesn't have it as a default. | |
7 | |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
8 # ==================== Things `configure' might edit ==================== |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
9 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
10 CC=cc |
3783
6c2fc671adec
* Makefile.in (CPP): New variable, set by the top-level Makefile.
Jim Blandy <jimb@redhat.com>
parents:
3754
diff
changeset
|
11 CPP=cc -E |
2720
ad53bd625e1c
* Makefile.in (DEFS): Remove this; we have configure build a
Jim Blandy <jimb@redhat.com>
parents:
2517
diff
changeset
|
12 CFLAGS=-g |
4133
bd7c1de63152
* Makefile.in (C_SWITCH_SYSTEM): New variable, set by top-level
Jim Blandy <jimb@redhat.com>
parents:
3783
diff
changeset
|
13 C_SWITCH_SYSTEM= |
2816
7c0be881a633
Install David Mackenzie's patches to make ${srcdir} work.
Jim Blandy <jimb@redhat.com>
parents:
2720
diff
changeset
|
14 srcdir=@srcdir@/src |
7c0be881a633
Install David Mackenzie's patches to make ${srcdir} work.
Jim Blandy <jimb@redhat.com>
parents:
2720
diff
changeset
|
15 VPATH=@srcdir@/src |
2720
ad53bd625e1c
* Makefile.in (DEFS): Remove this; we have configure build a
Jim Blandy <jimb@redhat.com>
parents:
2517
diff
changeset
|
16 LN_S=ln -s |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
17 |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
18 # ============================= Targets ============================== |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
19 |
732 | 20 CPP = $(CC) -E -Is -Im |
33 | 21 #Note: an alternative is CPP = /lib/cpp |
22 | |
186
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
23 # Just to avoid uncertainty. |
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
24 SHELL = /bin/sh |
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
25 |
3312
c92752c3e4b6
* Makefile.in (SUBMAKEFLAGS): Remember to propagate MAKE.
Jim Blandy <jimb@redhat.com>
parents:
2969
diff
changeset
|
26 SUBMAKEFLAGS = CC='${CC}' LN_S='${LN_S}' CFLAGS='${CFLAGS}' MAKE='${MAKE}' |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
27 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
28 all: doall |
33 | 29 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
30 doall: xmakefile |
2720
ad53bd625e1c
* Makefile.in (DEFS): Remove this; we have configure build a
Jim Blandy <jimb@redhat.com>
parents:
2517
diff
changeset
|
31 $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} all |
33 | 32 |
3754
200d504045b9
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3570
diff
changeset
|
33 mostlyclean: |
4637
f3b38883ee2d
(mostlyclean): Don't delete emacs here.
Richard M. Stallman <rms@gnu.org>
parents:
4197
diff
changeset
|
34 rm -f temacs prefix-args xmakefile* core \#* *.o libXMenu11.a |
3754
200d504045b9
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3570
diff
changeset
|
35 rm -f ../etc/DOC |
200d504045b9
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3570
diff
changeset
|
36 clean: mostlyclean |
4692 | 37 rm -f emacs-* emacs |
33 | 38 #This is used in making a distribution. |
39 #Do not use it on development directories! | |
3754
200d504045b9
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3570
diff
changeset
|
40 distclean: clean |
4637
f3b38883ee2d
(mostlyclean): Don't delete emacs here.
Richard M. Stallman <rms@gnu.org>
parents:
4197
diff
changeset
|
41 rm -f paths.h config.h ../etc/DOC-* |
3754
200d504045b9
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3570
diff
changeset
|
42 realclean: distclean |
200d504045b9
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3570
diff
changeset
|
43 rm -f TAGS |
2238
1a0fd1591b0d
Add production to nuke binaries and doc files.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2008
diff
changeset
|
44 versionclean: |
1a0fd1591b0d
Add production to nuke binaries and doc files.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2008
diff
changeset
|
45 -rm -f emacs emacs-* ../etc/DOC* |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
46 extraclean: distclean |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
47 -rm -f *~ \#* m/*~ s/*~ |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
48 |
1706
36903f26b5cc
* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy <jimb@redhat.com>
parents:
1694
diff
changeset
|
49 emacs: doemacs |
1962
d658e86a23ae
(emacs, temacs): Add @true to prevent Make confusion.
Richard M. Stallman <rms@gnu.org>
parents:
1821
diff
changeset
|
50 @true |
33 | 51 |
1706
36903f26b5cc
* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy <jimb@redhat.com>
parents:
1694
diff
changeset
|
52 doemacs: xmakefile |
2720
ad53bd625e1c
* Makefile.in (DEFS): Remove this; we have configure build a
Jim Blandy <jimb@redhat.com>
parents:
2517
diff
changeset
|
53 $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} emacs |
33 | 54 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
55 temacs: dotemacs |
1962
d658e86a23ae
(emacs, temacs): Add @true to prevent Make confusion.
Richard M. Stallman <rms@gnu.org>
parents:
1821
diff
changeset
|
56 @true |
33 | 57 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
58 dotemacs: xmakefile |
2720
ad53bd625e1c
* Makefile.in (DEFS): Remove this; we have configure build a
Jim Blandy <jimb@redhat.com>
parents:
2517
diff
changeset
|
59 $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} temacs |
33 | 60 |
2256
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
61 SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \ |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
62 config.h.in README COPYING ChangeLog vms.pp-trans |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
63 unlock: |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
64 chmod u+w $(SOURCES) |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
65 |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
66 relock: |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
67 chmod -w $(SOURCES) |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
68 chmod +w paths.h |
9de581d9bb83
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2238
diff
changeset
|
69 |
1821
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
70 ### Some makes, like Ultrix's make, complain if you put a comment in |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
71 ### the middle of a rule's command list! Dummies. |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
72 |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
73 ### The flags for optimization and debugging depend on the |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
74 ### system, so take an ordinary CFLAGS value and choose the |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
75 ### appropriate CPP symbols to use in ymakefile. |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
76 ### If you have a problem with cc -E here, changing |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
77 ### the definition of CPP above may fix it. |
3464
0d4f6d14bca1
(xmakefile): Depend on ../config.status.
Richard M. Stallman <rms@gnu.org>
parents:
3328
diff
changeset
|
78 |
0d4f6d14bca1
(xmakefile): Depend on ../config.status.
Richard M. Stallman <rms@gnu.org>
parents:
3328
diff
changeset
|
79 # Remake xmakefile whenever we reconfigure even if config.h didn't change. |
0d4f6d14bca1
(xmakefile): Depend on ../config.status.
Richard M. Stallman <rms@gnu.org>
parents:
3328
diff
changeset
|
80 xmakefile: ymakefile config.h ../config.status |
732 | 81 -rm -f xmakefile xmakefile.new junk.c junk.cpp |
2816
7c0be881a633
Install David Mackenzie's patches to make ${srcdir} work.
Jim Blandy <jimb@redhat.com>
parents:
2720
diff
changeset
|
82 cp ${srcdir}/ymakefile junk.c |
4692 | 83 ${CPP} -I. -I${srcdir} ${C_SWITCH_SYSTEM} ${CFLAGS} junk.c > junk.cpp |
732 | 84 < junk.cpp \ |
85 sed -e 's/^#.*//' \ | |
86 -e 's/^[ \f\t][ \f\t]*$$//' \ | |
87 -e 's/^ / /' \ | |
2816
7c0be881a633
Install David Mackenzie's patches to make ${srcdir} work.
Jim Blandy <jimb@redhat.com>
parents:
2720
diff
changeset
|
88 -e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'|' \ |
7c0be881a633
Install David Mackenzie's patches to make ${srcdir} work.
Jim Blandy <jimb@redhat.com>
parents:
2720
diff
changeset
|
89 -e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'|' \ |
732 | 90 | sed -n -e '/^..*$$/p' \ |
91 > xmakefile.new | |
92 mv -f xmakefile.new xmakefile | |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
93 chmod 444 xmakefile |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
94 rm -f junk.c junk.cpp |
33 | 95 |
2506 | 96 tagsfiles = [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el |
1694
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
97 TAGS: $(tagsfiles) |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
98 etags $(tagsfiles) |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
99 tags: TAGS |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
100 .PHONY: tags |