Mercurial > emacs
annotate src/=Makefile.in @ 1989:b1c1ab20f810
Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.
Don't generate switch-frame events by checking Vlast_event_frame;
use a separate variable for that bookkeeping. In order to
generate them properly, we may need to fiddle with it.
* keyboard.c (internal_last_event_frame): New variable.
(command_loop_1): Check internal_last_event_frame, not
Vlast_event_frame.
(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
internal_last_event_frame.
(kbd_buffer_get_event): Check internal_last_event_frame to decide
whether to generate a switch-frame event. Set Vlast_event_frame
after each event.
(init_keyboard): Initialize both Vlast_event_frame and
internal_last_event_frame.
* keyboard.h (internal_last_event_frame): Add extern declaration
for this.
* frame.c (Vlast_event_frame): Remove external declaration for
this.
(Fselect_frame): Set internal_last_event_frame to Qnil to force a
switch-frame event, not Vlast_event_frame; the latter is supposed
to convey information to the user.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 02 Mar 1993 08:14:57 +0000 |
parents | d658e86a23ae |
children | 0200d8d4326c |
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 |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
11 CONFIG_CFLAGS=-g |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
12 srcdir=. |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
13 |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
14 # ============================= Targets ============================== |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
15 |
732 | 16 CPP = $(CC) -E -Is -Im |
33 | 17 #Note: an alternative is CPP = /lib/cpp |
18 | |
186
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
19 # Just to avoid uncertainty. |
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
20 SHELL = /bin/sh |
3cbe2e1f5585
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
158
diff
changeset
|
21 |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
22 CFLAGS=${CONFIG_CFLAGS} |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
23 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
24 all: doall |
33 | 25 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
26 doall: xmakefile |
857 | 27 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all |
33 | 28 |
29 #This is used in making a distribution. | |
30 #Do not use it on development directories! | |
31 distclean: | |
1706
36903f26b5cc
* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy <jimb@redhat.com>
parents:
1694
diff
changeset
|
32 -rm -f paths.h config.h emacs-* temacs emacs xmakefile core *.o |
33 | 33 |
34 clean: | |
1706
36903f26b5cc
* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy <jimb@redhat.com>
parents:
1694
diff
changeset
|
35 -rm -f temacs emacs prefix-args xmakefile* core \#* *.o |
33 | 36 |
1677
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
37 extraclean: distclean |
bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
38 -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
|
39 |
1706
36903f26b5cc
* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy <jimb@redhat.com>
parents:
1694
diff
changeset
|
40 emacs: doemacs |
1962
d658e86a23ae
(emacs, temacs): Add @true to prevent Make confusion.
Richard M. Stallman <rms@gnu.org>
parents:
1821
diff
changeset
|
41 @true |
33 | 42 |
1706
36903f26b5cc
* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy <jimb@redhat.com>
parents:
1694
diff
changeset
|
43 doemacs: xmakefile |
36903f26b5cc
* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy <jimb@redhat.com>
parents:
1694
diff
changeset
|
44 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} emacs |
33 | 45 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
46 temacs: dotemacs |
1962
d658e86a23ae
(emacs, temacs): Add @true to prevent Make confusion.
Richard M. Stallman <rms@gnu.org>
parents:
1821
diff
changeset
|
47 @true |
33 | 48 |
1561
82e64050c565
* Makefile.in: Rearrange dependencies to make sure that xmakefile
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
49 dotemacs: xmakefile |
1585
447d89e51c6e
* Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
Jim Blandy <jimb@redhat.com>
parents:
1561
diff
changeset
|
50 $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} temacs |
33 | 51 |
1821
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
52 ### 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
|
53 ### 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
|
54 |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
55 ### 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
|
56 ### 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
|
57 ### appropriate CPP symbols to use in ymakefile. |
04fb1d3d6992
JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents:
1706
diff
changeset
|
58 ### 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
|
59 ### the definition of CPP above may fix it. |
33 | 60 xmakefile: ymakefile config.h |
732 | 61 -rm -f xmakefile xmakefile.new junk.c junk.cpp |
33 | 62 cp ymakefile junk.c |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
63 $(CPP) junk.c > junk.cpp \ |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
64 -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \ |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
65 | sed -e 's/-g /C_DEBUG_SWITCH /' \ |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1639
diff
changeset
|
66 -e 's/-O /C_OPTIMIZE_SWITCH /`" |
732 | 67 < junk.cpp \ |
68 sed -e 's/^#.*//' \ | |
69 -e 's/^[ \f\t][ \f\t]*$$//' \ | |
70 -e 's/^ / /' \ | |
71 | sed -n -e '/^..*$$/p' \ | |
72 > xmakefile.new | |
73 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
|
74 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
|
75 rm -f junk.c junk.cpp |
33 | 76 |
1694
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
77 tagsfiles = [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \ |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
78 ../external-lisp/*.el |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
79 TAGS: $(tagsfiles) |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
80 etags $(tagsfiles) |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
81 tags: TAGS |
ca439341a0e5
(tagsfiles): New variable.
Roland McGrath <roland@gnu.org>
parents:
1677
diff
changeset
|
82 .PHONY: tags |