Mercurial > emacs
annotate src/=Makefile.in @ 1287:02bd1ea07b17
* intervals.h: Declare temp_set_point.
author | Joseph Arceneaux <jla@gnu.org> |
---|---|
date | Thu, 01 Oct 1992 00:56:11 +0000 |
parents | 0ffcf74fb8ad |
children | 82e64050c565 |
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 | |
492
7d92947cce7d
*** empty log message ***
Michael I. Bushnell <mib@gnu.org>
parents:
186
diff
changeset
|
8 CC =gcc |
732 | 9 CPP = $(CC) -E -Is -Im |
33 | 10 #Note: an alternative is CPP = /lib/cpp |
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 | 15 all: xmakefile doall |
16 | |
17 doall: | |
857 | 18 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all |
33 | 19 |
20 #This is used in making a distribution. | |
21 #Do not use it on development directories! | |
22 distclean: | |
1113 | 23 -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ m/*~ s/*~ \#* *.o |
33 | 24 |
25 clean: | |
732 | 26 -rm -f temacs xemacs xmakefile* core \#* *.o |
33 | 27 |
28 xemacs: xmakefile doxemacs | |
29 | |
30 doxemacs: | |
857 | 31 $(MAKE) -f xmakefile ${MFLAGS} xemacs |
33 | 32 |
33 temacs: xmakefile dotemacs | |
34 | |
35 dotemacs: | |
857 | 36 $(MAKE) -f xmakefile ${MFLAGS} temacs |
33 | 37 |
38 # If you have a problem with cc -E here, changing | |
39 # the definition of CPP above may fix it. | |
40 xmakefile: ymakefile config.h | |
732 | 41 -rm -f xmakefile xmakefile.new junk.c junk.cpp |
33 | 42 cp ymakefile junk.c |
732 | 43 $(CPP) junk.c > junk.cpp |
44 < junk.cpp \ | |
45 sed -e 's/^#.*//' \ | |
46 -e 's/^[ \f\t][ \f\t]*$$//' \ | |
47 -e 's/^ / /' \ | |
48 | sed -n -e '/^..*$$/p' \ | |
49 > xmakefile.new | |
50 mv -f xmakefile.new xmakefile | |
33 | 51 rm -f junk.c |
52 | |
53 tags TAGS: | |
887 | 54 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \ |
55 ../external-lisp/*.el |