annotate lib-src/Makefile.in @ 6978:8cc5f63e8907

(blessmail): New target. ${archlibdir}: Use blessmail when installing movemail.
author Karl Heuer <kwzh@gnu.org>
date Wed, 20 Apr 1994 05:32:33 +0000
parents ffd959526822
children 0f0d9a0f6c4b
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
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
35 #undef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
36 #ifndef MAIL_USE_FLOCK
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
37 #ifndef MAIL_USE_LOCKF
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
38 #define MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
39 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
40 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
41
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
42 #ifdef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
43 #define BLESSMAIL blessmail
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
44 #else
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
45 #define BLESSMAIL
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
46 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
47
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
48 /* 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
49 inherited from the environment. */
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50 SHELL = /bin/sh
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
52 /* ==================== Things `configure' will edit ==================== */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
53
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
54 CC=@CC@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
55 CFLAGS=@CFLAGS@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
56 ALLOCA=@ALLOCA@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
57 C_SWITCH_SYSTEM=@c_switch_system@
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
58 C_SWITCH_MACHINE=@c_switch_machine@
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
59 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
60 YACC=@YACC@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
61 version=@version@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
62 configname=@configuration@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
63
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
64 /* ==================== Where To Install Things ==================== */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
65
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
66 /* The default location for installation. Everything is placed in
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
67 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
68 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
69 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
70 `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
71 prefix=@prefix@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
72
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
73 /* 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
74 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
75 exec_prefix=@exec_prefix@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
76
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
77 /* 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
78 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
79 to `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
80 bindir=@bindir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
81
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
82 /* 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
83 rather than directly by users, and other architecture-dependent
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
84 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
85 --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
86 libdir=@libdir@
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 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
89 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
90 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
91 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
92 srcdir=@srcdir@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
93 VPATH=@srcdir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
94
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
95 /* ==================== Emacs-specific directories ==================== */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
96
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
97 /* 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
98 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
99
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
100 /* 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
101 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
102 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
103 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
104 to `../configure'. */
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
105 archlibdir=@archlibdir@
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
106
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
107 /* ==================== Utility Programs for the Build ================= */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
108
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
109 /* ../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
110 INSTALL = @INSTALL@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
111 INSTALL_PROGRAM = @INSTALL_PROGRAM@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
112 INSTALL_DATA = @INSTALL_DATA@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
113
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
114 /* ============================= Targets ============================== */
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
115
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
116 /* Things that a user might actually run,
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
117 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
118 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
119 INSTALLABLE_SCRIPTS = rcs-checkin
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
120
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
121 /* 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
122 which should not be installed in bindir. */
5789
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
123 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
124 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
125
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
126 /* 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
127 deleted by the distclean target. */
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
128 SCRIPTS= rcs2log vcdiff
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
129
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
130 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
131
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
132 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
133 makedoc.com *.[chy] rcs2log vcdiff
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
134
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
135 /* 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
136 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
137 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
138 the information in ../src/config.h. */
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
139 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
140 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
141 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
142 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
143 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
144 -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
145
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
146 /* This is the default compilation command.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
147 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
148 failed to find it for getopt.o.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
149 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
150 .c.o:
3715
b33ee3d1d18d (CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 3582
diff changeset
151 ${CC} -c ${CPP_CFLAGS} $<
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
152
3428
4a9182ac9d17 (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
Richard M. Stallman <rms@gnu.org>
parents: 3311
diff changeset
153 all: ${UTILITIES} ${INSTALLABLES}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
154
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
155 #ifdef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
156 blessmail: ../src/temacs
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
157 ../src/temacs -batch -l blessmail.el
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
158 chmod +x blessmail
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
159 #endif
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
160
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
161 /* 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
162 just run them directly from lib-src. */
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
163 ${archlibdir}: all BLESSMAIL
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
164 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
165 @echo "Installing utilities run internally by Emacs."
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
166 ./make-path ${archlibdir}
3311
5d06123fc1df * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
Jim Blandy <jimb@redhat.com>
parents: 3237
diff changeset
167 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
168 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
169 (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
170 done ; \
5a3769d017ca (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents: 4800
diff changeset
171 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
172 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
173 done ; \
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
174 fi
6978
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
175 #ifdef MOVEMAIL_NEEDS_BLESSING
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
176 ./blessmail ${archlibdir}/movemail
8cc5f63e8907 (blessmail): New target.
Karl Heuer <kwzh@gnu.org>
parents: 6915
diff changeset
177 #endif
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
178
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
179 /* 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
180 copied when this whole directory is copied. */
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
181 install: ${archlibdir}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
182 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
183 @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
184 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
185 (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
186 done
3188
b901b5e04fbb (install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents: 3160
diff changeset
187 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
188 (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
189 done
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
190
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
191 uninstall:
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
192 (cd ${bindir}; \
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
193 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
194 (cd ${archlibdir}; \
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
195 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
196
5190
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
197 mostlyclean:
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
198 -rm -f core *.o
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
199
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
200 clean: mostlyclean
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
201 -rm -f ${INSTALLABLES} ${UTILITIES}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
202
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
203 distclean: clean
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
204 -rm -f ../etc/DOC* *.tab.c *.tab.h aixcc.c TAGS
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
205
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
206 realclean: distclean
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
207 true
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
208
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
209 extraclean: realclean
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
210 -rm -f *~ \#*
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
211
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
212 unlock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
213 chmod u+w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
214
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
215 relock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
216 chmod u-w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
217
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
218 /* Test the contents of the directory. */
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
219 check:
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
220 @echo "We don't have any tests for GNU Emacs yet."
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
221
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
222 TAGS: etags
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
223 etags *.[ch]
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
224
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
225 /* 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
226 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
227 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
228 clobbered too. */
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
229 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
230 $(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
231 ./test-distrib ${srcdir}/testfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
232
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
233 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
234 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
3160
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
235 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
236 ${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
237 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
238 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
239
4198
4b43be9f5671 (etags): Depend on ../src/config.h.
Richard M. Stallman <rms@gnu.org>
parents: 4162
diff changeset
240 etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h
6532
14a632f13a68 (etags, ctags): Pass -D for VERSION.
Richard M. Stallman <rms@gnu.org>
parents: 6431
diff changeset
241 $(CC) ${ALL_CFLAGS} -DVERSION=${version} ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
242
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
243 /* 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
244 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
245 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
6532
14a632f13a68 (etags, ctags): Pass -D for VERSION.
Richard M. Stallman <rms@gnu.org>
parents: 6431
diff changeset
246 $(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
247
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
248 wakeup: ${srcdir}/wakeup.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
249 $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
250
5789
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
251 profile: ${srcdir}/profile.c
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
252 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
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 make-docfile: ${srcdir}/make-docfile.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
255 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
256
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
257 digest-doc: ${srcdir}/digest-doc.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
258 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
259
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
260 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
261 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
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 b2m: ${srcdir}/b2m.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
264 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
265
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
266 movemail: ${srcdir}/movemail.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
267 $(CC) ${ALL_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail
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 cvtmail: ${srcdir}/cvtmail.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
270 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
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 fakemail: ${srcdir}/fakemail.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}/fakemail.c $(LOADLIBES) -o fakemail
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 yow: ${srcdir}/yow.c ../src/paths.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
276 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
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 emacsserver: ${srcdir}/emacsserver.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}/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
280
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
281 emacsclient: ${srcdir}/emacsclient.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
282 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient
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 hexl: ${srcdir}/hexl.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
285 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
286
3018
f1d4c6a5976a * timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents: 3009
diff changeset
287 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
288 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
289 ${YACC} ${YFLAGS} ${srcdir}/getdate.y
4694
3b32fb537ba5 (b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
Roland McGrath <roland@gnu.org>
parents: 4688
diff changeset
290 $(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
291 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
292 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
293 $(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
294 timer: ${TIMEROBJS}
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
295 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
296
4593
efead3ca0cd4 (make-path): Dep on config.h.
Richard M. Stallman <rms@gnu.org>
parents: 4198
diff changeset
297 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
298 $(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
299
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
300 /* These are NOT included in INSTALLABLES or UTILITIES.
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
301 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
302 emacstool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
303 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
304 -lsuntool -lsunwindow -lpixrect $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
305
6915
ffd959526822 Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents: 6532
diff changeset
306 /* 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
307 nemacstool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
308 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
309 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
310
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
311 xvetool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
312 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
313 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
314 $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
315
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
316 xveterm: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
317 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
318 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
319 $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
320
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
321 aixcc: ${srcdir}/aixcc.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
322 $(CC) $(ALL_CFLAGS) -o aixcc ${srcdir}/aixcc.c
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
323
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
324 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
325 lex ${srcdir}/aixcc.lex
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
326 mv lex.yy.c aixcc.c