Mercurial > emacs
annotate src/=Makefile.in @ 1609:5beb9d2bc959
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* electric.el (Electric-command-loop): Same.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 16 Nov 1992 01:31:33 +0000 |
parents | 447d89e51c6e |
children | 10665fb61dd4 |
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 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
15 all: doall |
33 | 16 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
17 doall: xmakefile |
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 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
28 xemacs: doxemacs |
33 | 29 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
30 doxemacs: xmakefile |
1585
447d89e51c6e
* Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
Jim Blandy <jimb@redhat.com>
parents:
1561
diff
changeset
|
31 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} xemacs |
33 | 32 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
33 temacs: dotemacs |
33 | 34 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
35 dotemacs: xmakefile |
1585
447d89e51c6e
* Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
Jim Blandy <jimb@redhat.com>
parents:
1561
diff
changeset
|
36 $(MAKE) CC='${CC}' -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 |