Mercurial > emacs
annotate lib-src/Makefile.in @ 7293:0b9e737663c2
(lib-src): Depend on src.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 03 May 1994 08:18:08 +0000 |
parents | d14d537ce03c |
children | 22f22911813a |
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 |
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 | 43 #undef MOVEMAIL_NEEDS_BLESSING |
44 #ifndef MAIL_USE_FLOCK | |
45 #ifndef MAIL_USE_LOCKF | |
46 #define MOVEMAIL_NEEDS_BLESSING | |
47 #endif | |
48 #endif | |
49 | |
50 #ifdef MOVEMAIL_NEEDS_BLESSING | |
51 #define BLESSMAIL blessmail | |
52 #else | |
53 #define BLESSMAIL | |
54 #endif | |
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 | 58 SHELL = /bin/sh |
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@ |
7245
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
68 configuration=@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 | 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 | 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 | 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 | 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 | 134 SCRIPTS= rcs2log vcdiff |
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 | 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 | 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 | 160 |
6978 | 161 #ifdef MOVEMAIL_NEEDS_BLESSING |
7245
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
162 blessmail: ../src/emacs |
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
163 ../src/emacs -batch -l blessmail.el |
6978 | 164 chmod +x blessmail |
165 #endif | |
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 | 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 | 181 #ifdef MOVEMAIL_NEEDS_BLESSING |
7245
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
182 /* Don't charge ahead and do it! Let the installer decide. |
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
183 ./blessmail ${archlibdir}/movemail */ |
7281
d14d537ce03c
(${archlibdir}): Be lenient about wc output format.
Karl Heuer <kwzh@gnu.org>
parents:
7245
diff
changeset
|
184 @if [ `wc -l <blessmail` != 2 ] ; then \ |
7245
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
185 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ |
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
186 echo Assuming $$dir is really the mail spool directory, you should; \ |
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
187 echo run ./blessmail ${archlibdir}/movemail; \ |
7281
d14d537ce03c
(${archlibdir}): Be lenient about wc output format.
Karl Heuer <kwzh@gnu.org>
parents:
7245
diff
changeset
|
188 echo as root, to give movemail appropriate permissions.; \ |
7245
00ece23611e1
(${archlibdir}): Don't run blessmail; instead
Richard M. Stallman <rms@gnu.org>
parents:
7136
diff
changeset
|
189 fi |
6978 | 190 #endif |
616 | 191 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
192 /* 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
|
193 copied when this whole directory is copied. */ |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
194 install: ${archlibdir} |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
195 @echo |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
196 @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
|
197 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
|
198 (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
|
199 done |
3188
b901b5e04fbb
(install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents:
3160
diff
changeset
|
200 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
|
201 (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
|
202 done |
616 | 203 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
204 uninstall: |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
205 (cd ${bindir}; \ |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
206 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
207 (cd ${archlibdir}; \ |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
208 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
|
209 |
5190
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
210 mostlyclean: |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
211 -rm -f core *.o |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
212 |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
213 clean: mostlyclean |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
214 -rm -f ${INSTALLABLES} ${UTILITIES} |
616 | 215 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
216 distclean: clean |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
217 -rm -f ../etc/DOC* *.tab.c *.tab.h aixcc.c TAGS |
616 | 218 |
219 realclean: distclean | |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
220 true |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
221 |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
222 extraclean: realclean |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
223 -rm -f *~ \#* |
616 | 224 |
2262
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
225 unlock: |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
226 chmod u+w $(SOURCES) |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
227 |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
228 relock: |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
229 chmod u-w $(SOURCES) |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
230 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
231 /* Test the contents of the directory. */ |
616 | 232 check: |
233 @echo "We don't have any tests for GNU Emacs yet." | |
234 | |
235 TAGS: etags | |
236 etags *.[ch] | |
237 | |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
238 /* 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
|
239 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
|
240 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
|
241 clobbered too. */ |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
242 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
|
243 $(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
|
244 ./test-distrib ${srcdir}/testfile |
616 | 245 |
2811
6cc1bf599a56
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2810
diff
changeset
|
246 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
|
247 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h |
3160
ce5dcfc00c34
* Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents:
3159
diff
changeset
|
248 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
|
249 ${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
|
250 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
|
251 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c |
616 | 252 |
4198
4b43be9f5671
(etags): Depend on ../src/config.h.
Richard M. Stallman <rms@gnu.org>
parents:
4162
diff
changeset
|
253 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
|
254 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags |
616 | 255 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
256 /* 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
|
257 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
|
258 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
|
259 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags |
616 | 260 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
261 wakeup: ${srcdir}/wakeup.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
262 $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup |
616 | 263 |
5789 | 264 profile: ${srcdir}/profile.c |
265 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile | |
266 | |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
267 make-docfile: ${srcdir}/make-docfile.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
268 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile |
616 | 269 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
270 digest-doc: ${srcdir}/digest-doc.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
271 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc |
616 | 272 |
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
|
273 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
274 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc |
616 | 275 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
276 b2m: ${srcdir}/b2m.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
277 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m |
616 | 278 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
279 movemail: ${srcdir}/movemail.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
280 $(CC) ${ALL_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail |
616 | 281 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
282 cvtmail: ${srcdir}/cvtmail.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
283 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail |
616 | 284 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
285 fakemail: ${srcdir}/fakemail.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
286 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
616 | 287 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
288 yow: ${srcdir}/yow.c ../src/paths.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
289 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow |
616 | 290 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
291 emacsserver: ${srcdir}/emacsserver.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
292 $(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
|
293 |
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
294 emacsclient: ${srcdir}/emacsclient.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
295 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient |
616 | 296 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
297 hexl: ${srcdir}/hexl.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
298 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
616 | 299 |
3018
f1d4c6a5976a
* timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents:
3009
diff
changeset
|
300 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
|
301 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
|
302 ${YACC} ${YFLAGS} ${srcdir}/getdate.y |
4694
3b32fb537ba5
(b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
Roland McGrath <roland@gnu.org>
parents:
4688
diff
changeset
|
303 $(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
|
304 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
|
305 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
|
306 $(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
|
307 timer: ${TIMEROBJS} |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
308 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer |
616 | 309 |
4593
efead3ca0cd4
(make-path): Dep on config.h.
Richard M. Stallman <rms@gnu.org>
parents:
4198
diff
changeset
|
310 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
|
311 $(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
|
312 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
313 /* These are NOT included in INSTALLABLES or UTILITIES. |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
314 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
|
315 emacstool: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
316 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ |
616 | 317 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) |
318 | |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
319 /* 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
|
320 nemacstool: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
321 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 322 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) |
323 | |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
324 xvetool: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
325 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 326 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
327 $(LOADLIBES) | |
328 | |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
329 xveterm: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
330 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 331 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
332 $(LOADLIBES) | |
333 | |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
334 aixcc: ${srcdir}/aixcc.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
335 $(CC) $(ALL_CFLAGS) -o aixcc ${srcdir}/aixcc.c |
616 | 336 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
337 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
|
338 lex ${srcdir}/aixcc.lex |
616 | 339 mv lex.yy.c aixcc.c |