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