Mercurial > emacs
annotate lib-src/Makefile.in @ 1717:aa7d6d57504b
* frame.h (struct frame): New fields `can_have_scrollbars' and
`has_vertical_scrollbars'.
(FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New
accessors, for both the MULTI_FRAME and non-MULTI_FRAME.
(VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR,
WINDOW_VERTICAL_SCROLLBAR_COLUMN,
WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros.
* window.h (struct window): New field `vertical_scrollbar'.
* xterm.h (struct x_display): vertical_scrollbars,
judge_timestamp, vertical_scrollbar_extra: New fields.
(struct scrollbar): New struct.
(VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT,
VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER,
VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER,
CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH,
PIXEL_TO_CHAR_HEIGHT): New accessors and macros.
* frame.c (make_frame): Initialize the `can_have_scrollbars' and
`has_vertical_scrollbars' fields of the frame.
* term.c (term_init): Note that TERMCAP terminals don't support
scrollbars.
(mouse_position_hook): Document new args.
(set_vertical_scrollbar_hook, condemn_scrollbars_hook,
redeem_scrollbar_hook, judge_scrollbars_hook): New hooks.
* termhooks.h: Declare and document them.
(enum scrollbar_part): New type.
(struct input_event): Describe the new form of the scrollbar_click
event type. Change `part' from a Lisp_Object to an enum
scrollbar_part. Add a new field `scrollbar'.
* keyboard.c (kbd_buffer_get_event): Pass appropriate new
parameters to *mouse_position_hook, and make_lispy_movement.
* xfns.c (x_set_vertical_scrollbar): New function.
(x_figure_window_size): Use new macros to calculate frame size.
(Fx_create_frame): Note that X Windows frames do support scroll
bars. Default to "yes".
* xterm.c: #include <X11/cursorfont.h> and "window.h".
(x_vertical_scrollbar_cursor): New variable.
(x_term_init): Initialize it.
(last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
last_mouse_scroll_range_start, last_mouse_scroll_range_end): New
variables.
(XTmouse_position): Use them to return scrollbar movement events.
Take new arguments, for that purpose.
(x_window_to_scrollbar, x_scrollbar_create,
x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move,
XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar,
XTjudge_scrollbars, x_scrollbar_expose,
x_scrollbar_background_expose, x_scrollbar_handle_click,
x_scrollbar_handle_motion): New functions to implement scrollbars.
(x_term_init): Set the termhooks.h hooks to point to them.
(x_set_window_size): Use new macros to calculate frame size. Set
vertical_scrollbar_extra field.
(x_make_frame_visible): Use the frame accessor
FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the
frame's subwindows as well.
(XTread_socket): Use new size-calculation macros from xterm.h when
processing ConfigureNotify events.
(x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and
PIXEL_TO_CHAR_HEIGHT macros.
* ymakefile (xdisp.o): This now depends on termhooks.h.
(xterm.o): This now depends on window.h.
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Thu, 24 Dec 1992 06:17:18 +0000 |
| parents | 2d6fee9f818d |
| children | 29579cd51981 |
| rev | line source |
|---|---|
| 616 | 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 | |
| 5 # add -DUSG for SysV movemail and timer | |
| 6 # For Xenix, add the following for movemail: | |
| 7 # LOADLIBES= -lx | |
| 8 # For Mips, the following is needed for who knows what. | |
| 9 # LOADLIBES = -lmld /usr/bsd43/usr/lib/libc.a | |
| 10 | |
| 11 # Avoid trouble on systems where the `SHELL' variable might be | |
| 12 # inherited from the environment. | |
| 13 SHELL = /bin/sh | |
| 14 | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
15 # ==================== Things `configure' might edit ==================== |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
16 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
17 CC=cc |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
18 CONFIG_CFLAGS=-g |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
19 LOADLIBES= |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
20 version=version-not-set |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
21 configname=configuration-name-not-set |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
22 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
23 # ==================== Where To Install Things ==================== |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
24 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
25 # The default location for installation. Everything is placed in |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
26 # subdirectories of this directory. The default values for many of |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
27 # the variables below are expressed in terms of this one, so you may |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
28 # not need to change them. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
29 prefix=/usr/local |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
30 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
31 # Like `prefix', but used for architecture-specific files. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
32 exec_prefix=${prefix} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
33 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
34 # Where to install Emacs and other binaries that people will want to |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
35 # run directly (like etags). |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
36 bindir=${exec_prefix}/bin |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
37 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
38 # Where to install and expect executable files to be run by Emacs |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
39 # rather than directly by users, and other architecture-dependent |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
40 # data. ${archlibdir} is usually below this. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
41 libdir=${exec_prefix}/lib |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
42 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
43 # Where to find the source code - setting this to anything but |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
44 # . doesn't work yet. The source code for Emacs's C kernel is |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
45 # expected to be in ${srcdir}/src, and the source code for Emacs's |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
46 # utility programs is expected to be in ${srcdir}/lib-src. This is |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
47 # set by the configure script's `--srcdir' option. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
48 srcdir=. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
49 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
50 # ==================== Emacs-specific directories ==================== |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
51 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
52 # These variables hold the values Emacs will actually use. They are |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
53 # based on the values of the standard Make variables above. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
54 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
55 # Where to put executables to be run by Emacs rather than the user. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
56 # This path usually includes the Emacs version and configuration name, |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
57 # so that multiple configurations for multiple versions of Emacs may |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
58 # be installed at once. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
59 archlibdir=${libdir}/emacs/${version}/${configname} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
60 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
61 # ==================== Utility Programs for the Build ==================== |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
62 |
| 616 | 63 # Allow the user to specify the install program. |
| 64 INSTALL = install | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
65 INSTALLFLAGS = -c |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
66 INSTALL_PROGRAM = ${INSTALL} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
67 INSTALL_DATA = ${INSTALL} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
68 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
69 # ============================= Targets ============================== |
| 616 | 70 |
| 1112 | 71 # Things that a user might actually run, which should be installed in bindir. |
| 616 | 72 INSTALLABLES = etags ctags emacsclient b2m |
| 73 | |
| 1112 | 74 # Things that Emacs runs internally, or during the build process, |
| 75 # which should not be installed in bindir. | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
76 UTILITIES= test-distrib make-path wakeup make-docfile digest-doc sorted-doc \ |
| 1112 | 77 movemail cvtmail fakemail yow env emacsserver hexl timer |
| 616 | 78 |
| 1112 | 79 # Like UTILITIES, but they're not system-dependent, and should not be |
| 80 # deleted by the distclean target. | |
| 81 SCRIPTS= rcs2log vcdiff | |
| 82 | |
| 83 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} | |
| 616 | 84 |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
85 ### We need to #define emacs to get the right versions of some files. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
86 ### Some other files - those shared with other GNU utilities - need |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
87 ### HAVE_CONFIG_H #defined before they know they can take advantage of |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
88 ### the information in ../src/config.h. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
89 CFLAGS=${CONFIG_CFLAGS} -Demacs -DHAVE_CONFIG_H -I../src |
| 616 | 90 |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
91 all: ${EXECUTABLES} |
| 616 | 92 |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
93 ### Install the internal utilities. Until they are installed, we can |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
94 ### just run them directly from lib-src. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
95 ${archlibdir}: all |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
96 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
97 @echo "Installing utilities run internally by Emacs." |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
98 ./make-path ${archlibdir} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
99 if [ `(cd ${archlibdir};/bin/pwd)` != `/bin/pwd` ]; then \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
100 for file in ${EXECUTABLES} ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
101 cp $${file} ${archlibdir} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
102 chmod 755 ${archlibdir}/$${file} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
103 done ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
104 fi |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
105 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
106 @echo "Changing the owner and group of Emacs's utility programs to \`bin'." |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
107 @echo "(You may ignore errors here if you don't care about this.)" |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
108 -for file in ${EXECUTABLES} ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
109 chgrp bin ${archlibdir}/$${file} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
110 chown bin ${archlibdir}/$${file} ; \ |
| 616 | 111 done |
| 112 | |
| 113 # We don't need to install `wakeup' explicitly, because it will be copied when | |
| 114 # this whole directory is copied. | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
115 install: ${archlibdir} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
116 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
117 @echo "Installing utilities for users to run." |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
118 for file in emacsclient etags ctags b2m ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
119 cp $${file} ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
120 chmod 755 ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
121 done |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
122 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
123 @echo "Changing the owner and group of utility programs to \`bin'." |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
124 @echo "(You may ignore errors here if you don't care about this.)" |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
125 -for file in emacsclient etags ctags b2m ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
126 chgrp bin ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
127 chown bin ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
128 mv ${bindir}/$${file}.new ${bindir}/$${file} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
129 done |
| 616 | 130 |
| 131 clean mostlyclean: | |
| 1112 | 132 -rm -f ${INSTALLABLES} ${UTILITIES} core *.o |
| 616 | 133 |
| 134 distclean: | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
135 -rm -f ${INSTALLABLES} ${UTILITIES} ../etc/DOC* core *.o |
| 616 | 136 |
| 137 realclean: distclean | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
138 -rm TAGS aixcc.c |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
139 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
140 extraclean: realclean |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
141 -rm -f *~ \#* |
| 616 | 142 |
| 143 # Test the contents of the directory. | |
| 144 check: | |
| 145 @echo "We don't have any tests for GNU Emacs yet." | |
| 146 | |
| 147 TAGS: etags | |
| 148 etags *.[ch] | |
| 149 | |
| 150 # This verifies that the non-ASCII characters in the file `testfile' | |
| 151 # have not been clobbered by whatever means were used to copy and | |
| 152 # distribute Emacs. If they were clobbered, all the .elc files were | |
| 153 # clobbered too. | |
| 154 test-distrib: test-distrib.c | |
| 155 $(CC) -o test-distrib test-distrib.c | |
| 156 ./test-distrib | |
| 157 | |
| 158 GETOPTOBJS = getopt.o getopt1.o | |
| 159 GETOPTDEPS = $(GETOPTOBJS) getopt.h | |
| 160 getopt.o: getopt.c getopt.h | |
| 161 getopt1.o: getopt1.c getopt.h | |
| 162 | |
| 163 etags: etags.c $(GETOPTDEPS) | |
| 638 | 164 $(CC) ${CFLAGS} -DETAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags |
| 616 | 165 |
| 166 ctags: etags.c $(GETOPTDEPS) | |
| 638 | 167 $(CC) ${CFLAGS} -DCTAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags |
| 616 | 168 |
| 169 wakeup: wakeup.c | |
| 638 | 170 $(CC) ${CFLAGS} wakeup.c $(LOADLIBES) -o wakeup |
| 616 | 171 |
| 172 make-docfile: make-docfile.c | |
| 638 | 173 $(CC) ${CFLAGS} make-docfile.c $(LOADLIBES) -o make-docfile |
| 616 | 174 |
| 175 digest-doc: digest-doc.c | |
| 638 | 176 $(CC) ${CFLAGS} digest-doc.c $(LOADLIBES) -o digest-doc |
| 616 | 177 |
| 178 sorted-doc: sorted-doc.c | |
| 638 | 179 $(CC) ${CFLAGS} sorted-doc.c $(LOADLIBES) -o sorted-doc |
| 616 | 180 |
| 999 | 181 b2m: b2m.c ../src/config.h |
| 638 | 182 $(CC) ${CFLAGS} b2m.c $(LOADLIBES) -o b2m |
| 616 | 183 |
| 184 movemail: movemail.c ../src/config.h | |
| 638 | 185 $(CC) ${CFLAGS} movemail.c $(LOADLIBES) -o movemail |
| 616 | 186 |
| 187 cvtmail: cvtmail.c | |
| 638 | 188 $(CC) ${CFLAGS} cvtmail.c $(LOADLIBES) -o cvtmail |
| 616 | 189 |
| 190 fakemail: fakemail.c ../src/config.h | |
| 638 | 191 $(CC) ${CFLAGS} fakemail.c $(LOADLIBES) -o fakemail |
| 616 | 192 |
| 193 yow: yow.c ../src/paths.h | |
| 638 | 194 $(CC) ${CFLAGS} yow.c $(LOADLIBES) -o yow |
| 616 | 195 |
| 196 env: env.c ../src/config.h | |
| 638 | 197 $(CC) -DEMACS ${CFLAGS} env.c $(LOADLIBES) -o env |
| 616 | 198 |
| 199 emacsserver: emacsserver.c ../src/config.h | |
| 638 | 200 $(CC) ${CFLAGS} emacsserver.c $(LOADLIBES) -o emacsserver |
| 616 | 201 |
| 202 emacsclient: emacsclient.c ../src/config.h | |
| 638 | 203 $(CC) ${CFLAGS} emacsclient.c $(LOADLIBES) -o emacsclient |
| 616 | 204 |
| 205 hexl: hexl.c | |
| 638 | 206 $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl |
| 616 | 207 |
|
1573
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
208 getdate.o: getdate.y ../src/config.h |
|
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
209 ${YACC} ${YFLAGS} getdate.y |
|
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
210 $(CC) $(CFLAGS) -c y.tab.c |
|
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
211 mv y.tab.o getdate.o |
| 616 | 212 timer: getdate.o timer.o |
| 638 | 213 $(CC) $(CFLAGS) getdate.o timer.o -o timer |
| 616 | 214 |
|
1659
59aca09e60f8
* Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents:
1573
diff
changeset
|
215 make-path: make-path.c |
|
59aca09e60f8
* Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents:
1573
diff
changeset
|
216 $(CC) $(CFLAGS) make-path.c -o make-path |
|
59aca09e60f8
* Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents:
1573
diff
changeset
|
217 |
| 616 | 218 # These are NOT included in INSTALLABLES or UTILITIES. |
| 219 # See ../src/ymakefile. | |
| 220 emacstool: emacstool.c | |
| 221 $(CC) emacstool.c -o emacstool ${CFLAGS} \ | |
| 222 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) | |
| 223 | |
| 224 # For SUN Japanese Language Environment | |
| 225 nemacstool: emacstool.c | |
| 226 $(CC) -o nemacstool -DJLE ${CFLAGS} emacstool.c \ | |
| 227 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) | |
| 228 | |
| 229 xvetool: emacstool.c | |
| 230 $(CC) -o xvetool -DXVIEW ${CFLAGS} emacstool.c \ | |
| 231 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ | |
| 232 $(LOADLIBES) | |
| 233 | |
| 234 xveterm: emacstool.c | |
| 235 $(CC) -o xveterm -DXVIEW -DTTERM ${CFLAGS} emacstool.c \ | |
| 236 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ | |
| 237 $(LOADLIBES) | |
| 238 | |
| 239 aixcc: aixcc.c | |
| 240 $(CC) $(CFLAGS) -o aixcc aixcc.c | |
| 241 | |
| 242 aixcc.c: aixcc.lex | |
| 243 lex aixcc.lex | |
| 244 mv lex.yy.c aixcc.c |
