annotate lib-src/Makefile.in @ 7187:ca0102511d80

(x_wm_set_size_hint): Don't set PMaxSize. Don't touch win_gravity field if no PWinGravity.
author Richard M. Stallman <rms@gnu.org>
date Fri, 29 Apr 1994 04:04:51 +0000
parents 8a99aef126ba
children 00ece23611e1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
1 /* Makefile for lib-src subdirectory in GNU Emacs.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
2 Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
3
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
4 This file is part of GNU Emacs.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
5
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
7 it under the terms of the GNU General Public License as published by
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
9 any later version.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
10
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
14 GNU General Public License for more details.
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
16 You should have received a copy of the GNU General Public License
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
19
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
20 #define NO_SHORTNAMES
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
21 #define THIS_IS_YMAKEFILE
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
22 #define NOT_C_CODE
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
23 #include "../src/config.h"
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
25 /* Some s/*.h files define this to request special libraries. */
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
26 #ifndef LIBS_SYSTEM
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
27 #define LIBS_SYSTEM
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
28 #endif
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
29
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
30 /* Some m/*.h files define this to request special libraries. */
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
31 #ifndef LIBS_MACHINE
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
32 #define LIBS_MACHINE
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
33 #endif
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
34
7136
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
35 #ifndef C_SWITCH_SYSTEM
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
36 #define C_SWITCH_SYSTEM
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
37 #endif
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
38
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
39 #ifndef C_SWITCH_MACHINE
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
40 #define C_SWITCH_MACHINE
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
41 #endif
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
42
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
43 #undef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
44 #ifndef MAIL_USE_FLOCK
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
45 #ifndef MAIL_USE_LOCKF
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
46 #define MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
47 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
48 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
49
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
50 #ifdef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
51 #define BLESSMAIL blessmail
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
52 #else
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
53 #define BLESSMAIL
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
54 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
55
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
56 /* Avoid trouble on systems where the `SHELL' variable might be
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
57 inherited from the environment. */
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
58 SHELL = /bin/sh
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
59
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
60 /* ==================== Things `configure' will edit ==================== */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
61
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
62 CC=@CC@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
63 CFLAGS=@CFLAGS@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
64 ALLOCA=@ALLOCA@
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
65 LOADLIBES=LIBS_SYSTEM LIBS_MACHINE
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
66 YACC=@YACC@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
67 version=@version@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
68 configname=@configuration@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
69
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
70 /* ==================== Where To Install Things ==================== */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
71
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
72 /* The default location for installation. Everything is placed in
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
73 subdirectories of this directory. The default values for many of
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
74 the variables below are expressed in terms of this one, so you may
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
75 not need to change them. This is set with the --prefix option to
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
76 `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
77 prefix=@prefix@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
78
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
79 /* Like `prefix', but used for architecture-specific files. This is
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
80 set with the --exec-prefix option to `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
81 exec_prefix=@exec_prefix@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
82
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
83 /* Where to install Emacs and other binaries that people will want to
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
84 run directly (like etags). This is set with the --bindir option
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
85 to `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
86 bindir=@bindir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
87
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
88 /* Where to install and expect executable files to be run by Emacs
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
89 rather than directly by users, and other architecture-dependent
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
90 data. ${archlibdir} is usually below this. This is set with the
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
91 --libdir option to `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
92 libdir=@libdir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
93
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
94 /* Where to find the source code. This is set by the configure
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
95 script's `--srcdir' option. However, the value of ${srcdir} in
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
96 this makefile is not identical to what was specified with --srcdir,
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
97 since the variable here has `/lib-src' added at the end. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
98 srcdir=@srcdir@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
99 VPATH=@srcdir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
100
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
101 /* ==================== Emacs-specific directories ==================== */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
102
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
103 /* These variables hold the values Emacs will actually use. They are
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
104 based on the values of the standard Make variables above. */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
105
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
106 /* Where to put executables to be run by Emacs rather than the user.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
107 This path usually includes the Emacs version and configuration name,
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
108 so that multiple configurations for multiple versions of Emacs may
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
109 be installed at once. This can be set with the --archlibdir option
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
110 to `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
111 archlibdir=@archlibdir@
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
112
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
113 /* ==================== Utility Programs for the Build ================= */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
114
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
115 /* ../configure figures out the correct values for these. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
116 INSTALL = @INSTALL@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
117 INSTALL_PROGRAM = @INSTALL_PROGRAM@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
118 INSTALL_DATA = @INSTALL_DATA@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
119
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
120 /* ============================= Targets ============================== */
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
121
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
122 /* Things that a user might actually run,
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
123 which should be installed in bindir. */
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
124 INSTALLABLES = etags ctags emacsclient b2m
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
125 INSTALLABLE_SCRIPTS = rcs-checkin
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
126
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
127 /* Things that Emacs runs internally, or during the build process,
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
128 which should not be installed in bindir. */
5789
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
129 UTILITIES= test-distrib make-path wakeup profile make-docfile digest-doc \
6431
7b1ae3d4534c (UTILITIES): `env' deleted.
Richard M. Stallman <rms@gnu.org>
parents: 6351
diff changeset
130 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
131
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
132 /* Like UTILITIES, but they're not system-dependent, and should not be
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
133 deleted by the distclean target. */
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
134 SCRIPTS= rcs2log vcdiff
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
135
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
136 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
137
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
138 SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
139 makedoc.com *.[chy] rcs2log vcdiff
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
140
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
141 /* We need to #define emacs to get the right versions of some files.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
142 Some other files - those shared with other GNU utilities - need
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
143 HAVE_CONFIG_H #defined before they know they can take advantage of
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
144 the information in ../src/config.h. */
7136
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
145 ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
146 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
7136
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
147 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
148 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
7136
8a99aef126ba C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents: 7050
diff changeset
149 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \
4688
7df128f592e3 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
Roland McGrath <roland@gnu.org>
parents: 4593
diff changeset
150 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
151
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
152 /* This is the default compilation command.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
153 But we should never rely on it, because some make version
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
154 failed to find it for getopt.o.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
155 Using an explicit command made it work. */
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
156 .c.o:
3715
b33ee3d1d18d (CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 3582
diff changeset
157 ${CC} -c ${CPP_CFLAGS} $<
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
158
3428
4a9182ac9d17 (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
Richard M. Stallman <rms@gnu.org>
parents: 3311
diff changeset
159 all: ${UTILITIES} ${INSTALLABLES}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
160
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
161 #ifdef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
162 blessmail: ../src/temacs
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
163 ../src/temacs -batch -l blessmail.el
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
164 chmod +x blessmail
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
165 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
166
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
167 /* Install the internal utilities. Until they are installed, we can
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
168 just run them directly from lib-src. */
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
169 ${archlibdir}: all BLESSMAIL
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
170 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
171 @echo "Installing utilities run internally by Emacs."
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
172 ./make-path ${archlibdir}
3311
5d06123fc1df * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
Jim Blandy <jimb@redhat.com>
parents: 3237
diff changeset
173 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
4802
5a3769d017ca (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents: 4800
diff changeset
174 for file in ${UTILITIES}; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
175 (cd ..; $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \
4802
5a3769d017ca (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents: 4800
diff changeset
176 done ; \
5a3769d017ca (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents: 4800
diff changeset
177 for file in ${SCRIPTS}; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
178 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
179 done ; \
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
180 fi
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
181 #ifdef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
182 ./blessmail ${archlibdir}/movemail
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
183 #endif
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
184
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
185 /* We don't need to install `wakeup' explicitly, because it will be
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
186 copied when this whole directory is copied. */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
187 install: ${archlibdir}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
188 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
189 @echo "Installing utilities for users to run."
3188
b901b5e04fbb (install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents: 3160
diff changeset
190 for file in ${INSTALLABLES} ; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
191 (cd ..; $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
192 done
3188
b901b5e04fbb (install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents: 3160
diff changeset
193 for file in ${INSTALLABLE_SCRIPTS} ; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
194 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
195 done
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
196
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
197 uninstall:
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
198 (cd ${bindir}; \
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
199 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
200 (cd ${archlibdir}; \
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
201 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
202
5190
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
203 mostlyclean:
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
204 -rm -f core *.o
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
205
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
206 clean: mostlyclean
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
207 -rm -f ${INSTALLABLES} ${UTILITIES}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
208
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
209 distclean: clean
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
210 -rm -f ../etc/DOC* *.tab.c *.tab.h aixcc.c TAGS
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
211
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
212 realclean: distclean
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
213 true
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
214
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
215 extraclean: realclean
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
216 -rm -f *~ \#*
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
217
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
218 unlock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
219 chmod u+w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
220
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
221 relock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
222 chmod u-w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
223
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
224 /* Test the contents of the directory. */
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
225 check:
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
226 @echo "We don't have any tests for GNU Emacs yet."
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
227
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
228 TAGS: etags
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
229 etags *.[ch]
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
230
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
231 /* This verifies that the non-ASCII characters in the file `testfile'
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
232 have not been clobbered by whatever means were used to copy and
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
233 distribute Emacs. If they were clobbered, all the .elc files were
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
234 clobbered too. */
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
235 test-distrib: ${srcdir}/test-distrib.c
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
236 $(CC) -o test-distrib ${srcdir}/test-distrib.c
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
237 ./test-distrib ${srcdir}/testfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
238
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
239 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA)
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
240 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
3160
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
241 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
242 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c
3160
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
243 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
244 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
245
4198
4b43be9f5671 (etags): Depend on ../src/config.h.
Richard M. Stallman <rms@gnu.org>
parents: 4162
diff changeset
246 etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h
7050
0f0d9a0f6c4b (etags, ctags): Make VERSION a string constant.
Richard M. Stallman <rms@gnu.org>
parents: 6978
diff changeset
247 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
248
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
249 /* We depend on etags to assure that parallel makes don't write two
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
250 etags.o files on top of each other. */
3876
3bd157da2222 * Makefile.in (ctags): Depend on etags, so that parallel makes
Jim Blandy <jimb@redhat.com>
parents: 3792
diff changeset
251 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
7050
0f0d9a0f6c4b (etags, ctags): Make VERSION a string constant.
Richard M. Stallman <rms@gnu.org>
parents: 6978
diff changeset
252 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
253
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
254 wakeup: ${srcdir}/wakeup.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
255 $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
256
5789
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
257 profile: ${srcdir}/profile.c
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
258 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
259
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
260 make-docfile: ${srcdir}/make-docfile.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
261 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
262
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
263 digest-doc: ${srcdir}/digest-doc.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
264 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
265
3020
c0f75cf9ae35 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
Jim Blandy <jimb@redhat.com>
parents: 3018
diff changeset
266 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
267 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
268
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
269 b2m: ${srcdir}/b2m.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
270 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
271
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
272 movemail: ${srcdir}/movemail.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
273 $(CC) ${ALL_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
274
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
275 cvtmail: ${srcdir}/cvtmail.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
276 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
277
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
278 fakemail: ${srcdir}/fakemail.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
279 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
280
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
281 yow: ${srcdir}/yow.c ../src/paths.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
282 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
283
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
284 emacsserver: ${srcdir}/emacsserver.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
285 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
286
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
287 emacsclient: ${srcdir}/emacsclient.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
288 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
289
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
290 hexl: ${srcdir}/hexl.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
291 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
292
3018
f1d4c6a5976a * timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents: 3009
diff changeset
293 TIMEROBJS=getdate.o timer.o $(ALLOCA)
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
294 getdate.o: ${srcdir}/getdate.y ../src/config.h
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
295 ${YACC} ${YFLAGS} ${srcdir}/getdate.y
4694
3b32fb537ba5 (b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
Roland McGrath <roland@gnu.org>
parents: 4688
diff changeset
296 $(CC) $(CPP_CFLAGS) -c y.tab.c
1573
884891e455cf * Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents: 1282
diff changeset
297 mv y.tab.o getdate.o
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
298 timer.o: ${srcdir}/timer.c ../src/config.h
4694
3b32fb537ba5 (b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
Roland McGrath <roland@gnu.org>
parents: 4688
diff changeset
299 $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c
3018
f1d4c6a5976a * timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents: 3009
diff changeset
300 timer: ${TIMEROBJS}
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
301 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
302
4593
efead3ca0cd4 (make-path): Dep on config.h.
Richard M. Stallman <rms@gnu.org>
parents: 4198
diff changeset
303 make-path: ${srcdir}/make-path.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
304 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path
1659
59aca09e60f8 * Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents: 1573
diff changeset
305
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
306 /* These are NOT included in INSTALLABLES or UTILITIES.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
307 See ../src/ymakefile. */
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
308 emacstool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
309 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
310 -lsuntool -lsunwindow -lpixrect $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
311
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
312 /* For SUN Japanese Language Environment. */
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
313 nemacstool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
314 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
315 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
316
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
317 xvetool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
318 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
319 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
320 $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
321
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
322 xveterm: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
323 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
324 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
325 $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
326
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
327 aixcc: ${srcdir}/aixcc.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
328 $(CC) $(ALL_CFLAGS) -o aixcc ${srcdir}/aixcc.c
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
329
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
330 aixcc.c: ${srcdir}/aixcc.lex
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
331 lex ${srcdir}/aixcc.lex
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
332 mv lex.yy.c aixcc.c