7329
|
1 # Makefile for lib-src subdirectory in GNU Emacs.
|
|
2 # Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
|
|
3
|
|
4 # This file is part of GNU Emacs.
|
|
5
|
|
6 # GNU Emacs is free software; you can redistribute it and/or modify
|
|
7 # it under the terms of the GNU General Public License as published by
|
|
8 # the Free Software Foundation; either version 2, or (at your option)
|
|
9 # any later version.
|
|
10
|
|
11 # GNU Emacs is distributed in the hope that it will be useful,
|
|
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 # GNU General Public License for more details.
|
|
15
|
|
16 # You should have received a copy of the GNU General Public License
|
|
17 # along with GNU Emacs; see the file COPYING. If not, write to
|
14186
|
18 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 # Boston, MA 02111-1307, USA.
|
7329
|
20
|
|
21 # Avoid trouble on systems where the `SHELL' variable might be
|
|
22 # inherited from the environment.
|
|
23 SHELL = /bin/sh
|
|
24
|
|
25 # ==================== Things `configure' will edit ====================
|
6915
|
26
|
7329
|
27 CC=@CC@
|
|
28 CFLAGS=@CFLAGS@
|
|
29 ALLOCA=@ALLOCA@
|
|
30 YACC=@YACC@
|
|
31 version=@version@
|
|
32 configuration=@configuration@
|
|
33
|
|
34 # ==================== Where To Install Things ====================
|
|
35
|
|
36 # The default location for installation. Everything is placed in
|
|
37 # subdirectories of this directory. The default values for many of
|
|
38 # the variables below are expressed in terms of this one, so you may
|
|
39 # not need to change them. This is set with the --prefix option to
|
|
40 # `../configure'.
|
|
41 prefix=@prefix@
|
|
42
|
|
43 # Like `prefix', but used for architecture-specific files. This is
|
|
44 # set with the --exec-prefix option to `../configure'.
|
|
45 exec_prefix=@exec_prefix@
|
|
46
|
|
47 # Where to install Emacs and other binaries that people will want to
|
|
48 # run directly (like etags). This is set with the --bindir option
|
|
49 # to `../configure'.
|
|
50 bindir=@bindir@
|
6915
|
51
|
7329
|
52 # Where to install and expect executable files to be run by Emacs
|
|
53 # rather than directly by users, and other architecture-dependent
|
|
54 # data. ${archlibdir} is usually below this. This is set with the
|
9458
|
55 # --libexecdir option to `../configure'.
|
|
56 libexecdir=@libexecdir@
|
7329
|
57
|
|
58 # Where to find the source code. This is set by the configure
|
|
59 # script's `--srcdir' option. However, the value of ${srcdir} in
|
|
60 # this makefile is not identical to what was specified with --srcdir,
|
|
61 # since the variable here has `/lib-src' added at the end.
|
22870
|
62
|
|
63 # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
|
7329
|
64 srcdir=@srcdir@
|
|
65 VPATH=@srcdir@
|
|
66
|
9496
|
67 # The top-level source directory, also set by configure.
|
|
68 top_srcdir=@top_srcdir@
|
|
69
|
7329
|
70 # ==================== Emacs-specific directories ====================
|
|
71
|
|
72 # These variables hold the values Emacs will actually use. They are
|
|
73 # based on the values of the standard Make variables above.
|
|
74
|
|
75 # Where to put executables to be run by Emacs rather than the user.
|
|
76 # This path usually includes the Emacs version and configuration name,
|
|
77 # so that multiple configurations for multiple versions of Emacs may
|
|
78 # be installed at once. This can be set with the --archlibdir option
|
|
79 # to `../configure'.
|
|
80 archlibdir=@archlibdir@
|
|
81
|
|
82 # ==================== Utility Programs for the Build =================
|
6915
|
83
|
7329
|
84 # ../configure figures out the correct values for these.
|
|
85 INSTALL = @INSTALL@
|
|
86 INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
87 INSTALL_DATA = @INSTALL_DATA@
|
15949
|
88 # By default, we uphold the dignity of our programs.
|
|
89 INSTALL_STRIP =
|
7329
|
90
|
|
91 # ========================== Lists of Files ===========================
|
|
92
|
|
93 # Things that a user might actually run,
|
|
94 # which should be installed in bindir.
|
|
95 INSTALLABLES = etags ctags emacsclient b2m
|
|
96 INSTALLABLE_SCRIPTS = rcs-checkin
|
616
|
97
|
7329
|
98 # Things that Emacs runs internally, or during the build process,
|
|
99 # which should not be installed in bindir.
|
15470
|
100 UTILITIES= profile digest-doc \
|
|
101 sorted-doc movemail cvtmail fakemail yow emacsserver hexl
|
7329
|
102
|
9496
|
103 DONT_INSTALL= test-distrib make-docfile
|
9015
|
104
|
7329
|
105 # Like UTILITIES, but they're not system-dependent, and should not be
|
|
106 # deleted by the distclean target.
|
|
107 SCRIPTS= rcs2log vcdiff
|
|
108
|
|
109 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
|
|
110
|
11200
|
111 SOURCES = COPYING ChangeLog Makefile.in README emacs.csh \
|
7329
|
112 makedoc.com *.[chy] rcs2log vcdiff
|
|
113
|
9156
|
114 # Additional -D flags for movemail (add to MOVE_FLAGS if desired):
|
|
115 # MAIL_USE_POP Support mail retrieval from a POP mailbox.
|
|
116 # MAIL_USE_MMDF Support MMDF mailboxes.
|
|
117 # MAIL_USE_FLOCK Use flock for file locking (see the comments
|
|
118 # about locking in movemail.c)
|
|
119 # MAIL_UNLINK_SPOOL Unlink the user's spool mailbox after reading
|
|
120 # it (instead of just emptying it).
|
|
121 # KERBEROS Support Kerberized POP.
|
|
122 # KRB5 Support Kerberos Version 5 pop instead of
|
|
123 # Version 4 (define this in addition to
|
|
124 # KERBEROS).
|
|
125 # HESIOD Support Hesiod lookups of user mailboxes.
|
|
126 # MAILHOST A string, the host name of the default POP
|
|
127 # mail host for the site.
|
|
128 MOVE_FLAGS=
|
|
129
|
7329
|
130 # ========================== start of cpp stuff =======================
|
|
131 /* From here on, comments must be done in C syntax. */
|
6915
|
132
|
|
133 #define NO_SHORTNAMES
|
13759
|
134 #define THIS_IS_MAKEFILE
|
6915
|
135 #define NOT_C_CODE
|
|
136 #include "../src/config.h"
|
616
|
137
|
8337
|
138 /* We won't really call alloca;
|
|
139 don't let the file name alloca.c get messed up. */
|
|
140 #ifdef alloca
|
|
141 #undef alloca
|
|
142 #endif
|
|
143
|
13527
|
144 /* Some machines don't find the standard C libraries in the usual place. */
|
|
145 #ifndef ORDINARY_LINK
|
13759
|
146 #ifndef LIB_STANDARD_LIBSRC
|
|
147 #define LIB_STANDARD_LIBSRC -lc
|
13527
|
148 #endif
|
|
149 #else
|
13759
|
150 #ifndef LIB_STANDARD_LIBSRC
|
|
151 #define LIB_STANDARD_LIBSRC
|
13527
|
152 #endif
|
|
153 #endif
|
|
154
|
14589
|
155 /* Some s/SYSTEM.h files define this to request special libraries. */
|
6915
|
156 #ifndef LIBS_SYSTEM
|
|
157 #define LIBS_SYSTEM
|
|
158 #endif
|
|
159
|
14589
|
160 /* Some m/MACHINE.h files define this to request special libraries. */
|
6915
|
161 #ifndef LIBS_MACHINE
|
|
162 #define LIBS_MACHINE
|
|
163 #endif
|
|
164
|
7136
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
165 #ifndef C_SWITCH_SYSTEM
|
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
166 #define C_SWITCH_SYSTEM
|
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
167 #endif
|
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
168
|
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
169 #ifndef C_SWITCH_MACHINE
|
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
170 #define C_SWITCH_MACHINE
|
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
171 #endif
|
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
172
|
6978
|
173 #undef MOVEMAIL_NEEDS_BLESSING
|
|
174 #ifndef MAIL_USE_FLOCK
|
|
175 #ifndef MAIL_USE_LOCKF
|
|
176 #define MOVEMAIL_NEEDS_BLESSING
|
|
177 #endif
|
|
178 #endif
|
|
179
|
|
180 #ifdef MOVEMAIL_NEEDS_BLESSING
|
|
181 #define BLESSMAIL blessmail
|
|
182 #else
|
|
183 #define BLESSMAIL
|
|
184 #endif
|
|
185
|
15949
|
186 #ifdef KERBEROS
|
19017
|
187 # ifdef HAVE_LIBKRB
|
|
188 KRB4LIB = -lkrb
|
|
189 # else
|
|
190 # ifdef HAVE_LIBKRB4
|
|
191 KRB4LIB = -lkrb4
|
|
192 # endif
|
|
193 # endif
|
|
194 # ifdef HAVE_LIBDES
|
|
195 DESLIB = -ldes
|
|
196 # else
|
|
197 # ifdef HAVE_LIBDES425
|
|
198 DESLIB = -ldes425
|
|
199 # endif
|
|
200 # endif
|
|
201 # ifdef HAVE_LIBKRB5
|
|
202 KRB5LIB = -lkrb5
|
|
203 # endif
|
|
204 # ifdef HAVE_LIBCRYPTO
|
|
205 CRYPTOLIB = -lcrypto
|
|
206 # endif
|
|
207 # ifdef HAVE_LIBCOM_ERR
|
|
208 COM_ERRLIB = -lcom_err
|
|
209 # endif
|
22376
|
210 #endif /* KERBEROS */
|
15949
|
211
|
22236
|
212 /* If HESIOD is defined, set this to "-lhesiod". */
|
|
213 HESIODLIB=
|
15949
|
214
|
22236
|
215 MOVE_LIBS=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB)
|
15939
|
216
|
16722
|
217 #ifdef HAVE_LIBMAIL
|
|
218 LIBMAIL=-lmail
|
|
219 #endif
|
|
220
|
13759
|
221 LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD_LIBSRC
|
2262
|
222
|
6915
|
223 /* We need to #define emacs to get the right versions of some files.
|
|
224 Some other files - those shared with other GNU utilities - need
|
|
225 HAVE_CONFIG_H #defined before they know they can take advantage of
|
|
226 the information in ../src/config.h. */
|
13351
|
227 ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
|
5412
|
228 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
|
13351
|
229 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
|
5412
|
230 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
|
13351
|
231 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
|
4688
|
232 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
|
13351
|
233 /* This was all of CPP_CFLAGS except -Demacs.
|
|
234 Now that -Demacs has been deleted from CPP_CFLAGS,
|
|
235 this is actually the same as CPP_CFLAGS, but let's not delete it yet. */
|
11298
|
236 BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
|
8212
|
237 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
|
6915
|
238
|
|
239 /* This is the default compilation command.
|
|
240 But we should never rely on it, because some make version
|
|
241 failed to find it for getopt.o.
|
|
242 Using an explicit command made it work. */
|
2811
|
243 .c.o:
|
3715
|
244 ${CC} -c ${CPP_CFLAGS} $<
|
616
|
245
|
11412
|
246 all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES}
|
616
|
247
|
6978
|
248 #ifdef MOVEMAIL_NEEDS_BLESSING
|
7702
|
249 blessmail:
|
18469
|
250 ../src/emacs -batch -l $(srcdir)/../lisp/mail/blessmail.el
|
6978
|
251 chmod +x blessmail
|
|
252 #endif
|
|
253
|
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
254 maybe-blessmail: BLESSMAIL
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
255 #ifdef MOVEMAIL_NEEDS_BLESSING
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
256 /* Don't charge ahead and do it! Let the installer decide.
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
257 ./blessmail ${archlibdir}/movemail */
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
258 @if [ `wc -l <blessmail` != 2 ] ; then \
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
259 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
260 echo Assuming $$dir is really the mail spool directory, you should; \
|
7471
|
261 echo run lib-src/blessmail ${archlibdir}/movemail; \
|
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
262 echo as root, to give movemail appropriate permissions.; \
|
7329
|
263 echo Do that after running make install.; \
|
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
264 fi
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
265 #endif
|
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
266
|
6915
|
267 /* Install the internal utilities. Until they are installed, we can
|
|
268 just run them directly from lib-src. */
|
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
269 ${archlibdir}: all
|
1675
|
270 @echo
|
|
271 @echo "Installing utilities run internally by Emacs."
|
9496
|
272 $(top_srcdir)/mkinstalldirs ${archlibdir}
|
3311
|
273 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
|
4802
|
274 for file in ${UTILITIES}; do \
|
15949
|
275 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \
|
4802
|
276 done ; \
|
8376
|
277 fi
|
|
278 if [ `(cd ${archlibdir} && /bin/pwd)` \
|
|
279 != `(cd ${srcdir} && /bin/pwd)` ]; then \
|
4802
|
280 for file in ${SCRIPTS}; do \
|
12521
|
281 $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \
|
1675
|
282 done ; \
|
3792
|
283 fi
|
616
|
284
|
1675
|
285 install: ${archlibdir}
|
|
286 @echo
|
|
287 @echo "Installing utilities for users to run."
|
3188
b901b5e04fbb
(install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
288 for file in ${INSTALLABLES} ; do \
|
21072
ef9a01b67c87
(install): Use INSTALL_STRIP with INSTALL_PROGRAM for the utilities.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
289 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/$${file} ; \
|
13873
|
290 chmod a+rx ${bindir}/$${file}; \
|
3792
|
291 done
|
3188
b901b5e04fbb
(install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
292 for file in ${INSTALLABLE_SCRIPTS} ; do \
|
12521
|
293 $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \
|
13873
|
294 chmod a+rx ${bindir}/$${file}; \
|
3792
|
295 done
|
616
|
296
|
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
297 uninstall:
|
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
298 (cd ${bindir}; \
|
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
299 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
|
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
300 (cd ${archlibdir}; \
|
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
301 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
|
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
302
|
5190
|
303 mostlyclean:
|
|
304 -rm -f core *.o
|
|
305
|
|
306 clean: mostlyclean
|
9015
|
307 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL}
|
9455
|
308 -rm -f ../etc/DOC* *.tab.c *.tab.h
|
616
|
309
|
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
310 distclean: clean
|
11200
|
311 -rm -f TAGS
|
12578
|
312 -rm -f Makefile Makefile.c blessmail
|
616
|
313
|
10685
|
314 maintainer-clean: distclean
|
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
diff
changeset
|
315 true
|
1675
|
316
|
11603
|
317 extraclean: maintainer-clean
|
1675
|
318 -rm -f *~ \#*
|
616
|
319
|
2262
|
320 unlock:
|
|
321 chmod u+w $(SOURCES)
|
|
322
|
|
323 relock:
|
|
324 chmod u-w $(SOURCES)
|
|
325
|
6915
|
326 /* Test the contents of the directory. */
|
616
|
327 check:
|
|
328 @echo "We don't have any tests for GNU Emacs yet."
|
|
329
|
12526
|
330 tags: TAGS
|
616
|
331 TAGS: etags
|
|
332 etags *.[ch]
|
|
333
|
6915
|
334 /* This verifies that the non-ASCII characters in the file `testfile'
|
|
335 have not been clobbered by whatever means were used to copy and
|
|
336 distribute Emacs. If they were clobbered, all the .elc files were
|
|
337 clobbered too. */
|
2810
|
338 test-distrib: ${srcdir}/test-distrib.c
|
7816
|
339 $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c
|
2810
|
340 ./test-distrib ${srcdir}/testfile
|
616
|
341
|
2811
|
342 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA)
|
2810
|
343 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
|
3160
|
344 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
|
3792
|
345 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c
|
3160
|
346 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
|
3792
|
347 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c
|
8212
|
348 alloca.o: ${srcdir}/alloca.c
|
11298
|
349 ${CC} -c ${BASE_CFLAGS} ${srcdir}/alloca.c
|
616
|
350
|
11548
|
351 #ifdef REGEXP_IN_LIBC
|
|
352 REGEXPOBJ =
|
|
353 REGEXPDEPS =
|
|
354 #else
|
9573
|
355 REGEXPOBJ = regex.o
|
22870
|
356 REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h
|
11548
|
357 #endif
|
|
358
|
22870
|
359 regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h
|
11298
|
360 ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
|
9573
|
361
|
|
362 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
|
18043
|
363 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags
|
616
|
364
|
6915
|
365 /* We depend on etags to assure that parallel makes don't write two
|
|
366 etags.o files on top of each other. */
|
13695
|
367 ctags: etags
|
18122
|
368 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags
|
616
|
369
|
5789
|
370 profile: ${srcdir}/profile.c
|
|
371 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
|
|
372
|
2810
|
373 make-docfile: ${srcdir}/make-docfile.c
|
5412
|
374 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
|
616
|
375
|
2810
|
376 digest-doc: ${srcdir}/digest-doc.c
|
5412
|
377 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
|
616
|
378
|
3020
|
379 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
|
5412
|
380 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
|
616
|
381
|
2810
|
382 b2m: ${srcdir}/b2m.c ../src/config.h
|
20329
|
383 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \
|
|
384 $(GETOPTOBJS) $(LOADLIBES) -o b2m
|
616
|
385
|
16910
|
386 movemail: movemail.o pop.o $(GETOPTDEPS)
|
|
387 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBMAIL) $(MOVE_LIBS) -o movemail
|
9156
|
388
|
|
389 movemail.o: ${srcdir}/movemail.c ../src/config.h
|
13351
|
390 $(CC) -c ${CPP_CFLAGS} -Demacs ${MOVE_FLAGS} ${srcdir}/movemail.c
|
9156
|
391
|
|
392 pop.o: ${srcdir}/pop.c
|
|
393 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c
|
616
|
394
|
2810
|
395 cvtmail: ${srcdir}/cvtmail.c
|
5412
|
396 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
|
616
|
397
|
2810
|
398 fakemail: ${srcdir}/fakemail.c ../src/config.h
|
5412
|
399 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
|
616
|
400
|
2810
|
401 yow: ${srcdir}/yow.c ../src/paths.h
|
5412
|
402 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
|
616
|
403
|
2810
|
404 emacsserver: ${srcdir}/emacsserver.c ../src/config.h
|
5412
|
405 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver
|
2810
|
406
|
16031
|
407 emacsclient: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
|
|
408 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \
|
|
409 -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \
|
|
410 $(LOADLIBES) -o emacsclient
|
616
|
411
|
2810
|
412 hexl: ${srcdir}/hexl.c
|
5412
|
413 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
|
616
|
414
|
6915
|
415 /* These are NOT included in INSTALLABLES or UTILITIES.
|
12578
|
416 See ../src/Makefile.in. */
|
2810
|
417 emacstool: ${srcdir}/emacstool.c
|
5412
|
418 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
|
616
|
419 -lsuntool -lsunwindow -lpixrect $(LOADLIBES)
|
|
420
|
6915
|
421 /* For SUN Japanese Language Environment. */
|
2810
|
422 nemacstool: ${srcdir}/emacstool.c
|
5412
|
423 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
|
616
|
424 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
|
|
425
|
2810
|
426 xvetool: ${srcdir}/emacstool.c
|
5412
|
427 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
|
616
|
428 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
|
|
429 $(LOADLIBES)
|
|
430
|
2810
|
431 xveterm: ${srcdir}/emacstool.c
|
5412
|
432 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
|
616
|
433 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
|
|
434 $(LOADLIBES)
|