0
|
1 /* Makefile for lib-src subdirectory in XEmacs.
|
|
2
|
|
3 Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
|
|
4
|
|
5 This file is part of XEmacs.
|
|
6
|
|
7 XEmacs is free software; you can redistribute it and/or modify it
|
|
8 under the terms of the GNU General Public License as published by the
|
|
9 Free Software Foundation; either version 2, or (at your option) any
|
|
10 later version.
|
|
11
|
|
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
15 for more details.
|
|
16
|
|
17 You should have received a copy of the GNU General Public License
|
|
18 along with XEmacs; see the file COPYING. If not, write to the Free
|
|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
20 Boston, MA 02111-1307, USA. */
|
|
21
|
|
22 /* Note: FSF Makefile.in.in does something weird so that the comments
|
|
23 above a certain point in this file are in shell format instead of
|
74
|
24 in C format. How the hell is this supposed to work? */
|
0
|
25
|
74
|
26 /* Avoid trouble on systems where the "SHELL" variable might be
|
0
|
27 inherited from the environment. */
|
|
28 SHELL = /bin/sh
|
|
29
|
74
|
30 /* Some people use these in paths they define.
|
|
31 This is a horrible kludge - should we really use CPP
|
|
32 to pre-process Makefiles? */
|
0
|
33 #undef sparc
|
|
34 #undef sun
|
|
35 #undef unix
|
|
36 #undef sgi
|
|
37 #undef NeXT
|
|
38 #undef mips
|
74
|
39 #undef i386
|
149
|
40 #undef linux
|
0
|
41
|
74
|
42 /* ==================== Things "configure" will edit ==================== */
|
0
|
43
|
|
44 CC=@CC@
|
149
|
45 CPP=@CPP@
|
0
|
46 CFLAGS=@CFLAGS@
|
149
|
47 CPPFLAGS=@CPPFLAGS@
|
|
48 LDFLAGS=@LDFLAGS@
|
0
|
49 ALLOCA=@ALLOCA@
|
|
50 YACC=@YACC@
|
|
51 LN_S=@LN_S@
|
|
52 version=@version@
|
|
53 configuration=@configuration@
|
|
54
|
|
55 /* ==================== Where To Install Things ==================== */
|
|
56
|
|
57 /* The default location for installation. Everything is placed in
|
|
58 subdirectories of this directory. The default values for many of
|
|
59 the variables below are expressed in terms of this one, so you may
|
|
60 not need to change them. This is set with the --prefix option to
|
74
|
61 "../configure". */
|
0
|
62 prefix=@prefix@
|
|
63
|
74
|
64 /* Like "prefix", but used for architecture-specific files. This is
|
|
65 set with the "--exec-prefix" option to "../configure". */
|
0
|
66 exec_prefix=@exec_prefix@
|
|
67
|
|
68 /* Where to install Emacs and other binaries that people will want to
|
74
|
69 run directly (like etags). This is set with the "--bindir" option
|
|
70 to "../configure". */
|
0
|
71 bindir=@bindir@
|
|
72
|
|
73 /* Where to install and expect executable files to be run by Emacs
|
|
74 rather than directly by users, and other architecture-dependent
|
|
75 data. ${archlibdir} is usually below this. This is set with the
|
74
|
76 --libdir option to "../configure". */
|
0
|
77 libdir=@libdir@
|
|
78
|
|
79 /* Where to find the source code. This is set by the configure
|
74
|
80 "--srcdir" option. However, the value of ${srcdir} in
|
0
|
81 this makefile is not identical to what was specified with --srcdir,
|
74
|
82 since the variable here has "/lib-src" appended to the end. */
|
0
|
83 srcdir=@srcdir@
|
|
84
|
|
85 /* ==================== Emacs-specific directories ==================== */
|
|
86
|
|
87 /* These variables hold the values Emacs will actually use. They are
|
|
88 based on the values of the standard Make variables above.
|
|
89
|
|
90 Where to put executables to be run by Emacs rather than the user.
|
|
91 This path usually includes the Emacs version and configuration name,
|
|
92 so that multiple configurations for multiple versions of Emacs may
|
|
93 be installed at once. This can be set with the --archlibdir option
|
74
|
94 to "../configure". */
|
0
|
95 archlibdir=@archlibdir@
|
|
96
|
|
97 /* ==================== Utility Programs for the Build ================= */
|
|
98
|
|
99 /* ../configure figures out the correct values for these. */
|
|
100 INSTALL = @INSTALL@
|
|
101 INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
102 INSTALL_DATA = @INSTALL_DATA@
|
|
103
|
|
104 /* ========================== Lists of Files =========================== */
|
|
105
|
|
106 /* Things that a user might actually run,
|
|
107 which should be installed in bindir. */
|
149
|
108 INSTALLABLES = etags ctags b2m gnuclient gnuattach gnudoit
|
112
|
109 INSTALLABLE_SCRIPTS = rcs-checkin pstogif install-sid send-pr
|
0
|
110
|
|
111 /* Things that Emacs runs internally, or during the build process,
|
|
112 which should not be installed in bindir. */
|
|
113 UTILITIES= make-path wakeup profile make-docfile digest-doc \
|
149
|
114 sorted-doc movemail cvtmail fakemail yow hexl \
|
14
|
115 gnuserv mmencode
|
70
|
116 /* These need to be conditional on I18N3
|
|
117 make-msgfile make-po */
|
0
|
118
|
74
|
119 /* Like UTILITIES, but they are not system-dependent, and should not be
|
0
|
120 deleted by the distclean target. */
|
14
|
121 TM_SCRIPTS=tm-au tm-file tm-html tm-image tm-mpeg tm-plain tm-ps tmdecode
|
114
|
122 SCRIPTS= rcs2log vcdiff gzip-el.sh install-sid send-pr $(TM_SCRIPTS)
|
0
|
123
|
|
124 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
|
|
125
|
|
126 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \
|
26
|
127 makedoc.com *.[chy] $(SCRIPTS)
|
120
|
128 /*
|
118
|
129 # Additional -D flags for movemail (add to MOVE_FLAGS if desired):
|
|
130 # MAIL_USE_POP Support mail retrieval from a POP mailbox.
|
|
131 # MAIL_USE_MMDF Support MMDF mailboxes.
|
|
132 # MAIL_USE_FLOCK Use flock for file locking (see the comments
|
|
133 # about locking in movemail.c)
|
|
134 # MAIL_UNLINK_SPOOL Unlink the user spool mailbox after reading
|
|
135 # it (instead of just emptying it).
|
|
136 # KERBEROS Support Kerberized POP.
|
|
137 # KRB5 Support Kerberos Version 5 pop instead of
|
|
138 # Version 4 (define this in addition to
|
|
139 # KERBEROS).
|
|
140 # HESIOD Support Hesiod lookups of user mailboxes.
|
|
141 # MAILHOST A string, the host name of the default POP
|
|
142 # mail host for the site.
|
120
|
143 */
|
118
|
144 MOVE_FLAGS=
|
120
|
145 /*
|
118
|
146 # Additional libraries for movemail:
|
|
147 # For KERBEROS
|
|
148 # MOVE_LIBS= -lkrb -ldes -lcom_err
|
|
149 # For KERBEROS + KRB5
|
|
150 # MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err
|
|
151 # Add "-lhesiod" if HESIOD is defined.
|
120
|
152 */
|
118
|
153 MOVE_LIBS=
|
|
154
|
0
|
155 /* ========================== start of cpp stuff ======================= */
|
|
156
|
|
157 /* From here on, comments must be done in C syntax. (see comment above
|
|
158 about this.) */
|
|
159
|
|
160 #define NO_SHORTNAMES
|
|
161 #define THIS_IS_YMAKEFILE
|
|
162 #define NOT_C_CODE
|
|
163 #include "../src/config.h"
|
|
164
|
|
165 /* With the traditional VPATH setting, it is not possible to
|
|
166 simultaneously compile in-place and in another directory. The
|
|
167 mistaken definition is that *all* dependencies are searched for in
|
|
168 the VPATH directory, rather than just the dependencies that are not
|
|
169 themselves targets. Thus, if there is an up-to-date .o file in the
|
|
170 in-place location, it will not get recompiled in the not-in-place
|
|
171 location.
|
|
172
|
74
|
173 The GNU Make "vpath" directive continues this tradition, but at
|
0
|
174 least lets you restrict the classes of files that it applies to.
|
|
175 This allows us to kludge around the problem. */
|
|
176 #ifdef USE_GNU_MAKE
|
|
177 vpath %.c @srcdir@
|
|
178 vpath %.h @srcdir@
|
|
179 /* now list files that should NOT be searched in the srcdir.
|
74
|
180 This includes any .c or .h built from something else
|
0
|
181 (e.g. a .in file). */
|
|
182 /* none here */
|
|
183 #else
|
|
184 VPATH=@srcdir@
|
|
185 #endif
|
|
186
|
74
|
187 /* We will not really call alloca;
|
|
188 do not let the file name alloca.c get messed up. */
|
0
|
189 #ifdef alloca
|
|
190 #undef alloca
|
|
191 #endif
|
|
192
|
|
193 /* Some s/*.h files define this to request special libraries. */
|
|
194 #ifndef LIBS_SYSTEM
|
|
195 #define LIBS_SYSTEM
|
|
196 #endif
|
|
197
|
|
198 /* Some m/*.h files define this to request special libraries. */
|
|
199 #ifndef LIBS_MACHINE
|
|
200 #define LIBS_MACHINE
|
|
201 #endif
|
|
202
|
|
203 #ifndef LD_SWITCH_X_SYSTEM
|
|
204 #define LD_SWITCH_X_SYSTEM
|
|
205 #endif
|
|
206
|
|
207 #ifndef LD_SWITCH_X_SITE
|
|
208 #define LD_SWITCH_X_SITE
|
|
209 #endif
|
|
210
|
|
211 #ifndef C_SWITCH_SYSTEM
|
|
212 #define C_SWITCH_SYSTEM
|
|
213 #endif
|
|
214
|
|
215 #ifndef C_SWITCH_MACHINE
|
|
216 #define C_SWITCH_MACHINE
|
|
217 #endif
|
|
218
|
|
219 #ifndef C_SWITCH_X_SYSTEM
|
|
220 #define C_SWITCH_X_SYSTEM
|
|
221 #endif
|
|
222
|
|
223 #ifndef C_SWITCH_X_SITE
|
|
224 #define C_SWITCH_X_SITE
|
|
225 #endif
|
|
226
|
|
227 #ifndef C_SWITCH_SITE
|
|
228 #define C_SWITCH_SITE
|
|
229 #endif
|
|
230
|
|
231 #ifndef LD_SWITCH_SITE
|
|
232 #define LD_SWITCH_SITE
|
|
233 #endif
|
|
234
|
|
235 #undef MOVEMAIL_NEEDS_BLESSING
|
|
236 #ifndef MAIL_USE_FLOCK
|
|
237 #ifndef MAIL_USE_LOCKF
|
|
238 #define MOVEMAIL_NEEDS_BLESSING
|
|
239 #endif
|
|
240 #endif
|
|
241
|
|
242 #ifdef MOVEMAIL_NEEDS_BLESSING
|
|
243 #define BLESSMAIL blessmail
|
|
244 #else
|
|
245 #define BLESSMAIL
|
|
246 #endif
|
|
247
|
149
|
248 /* #if defined (HAVE_SOCKS) */
|
|
249 /* #define LIB_SOCKS -lsocks */
|
|
250 /* #else */
|
|
251 /* #define LIB_SOCKS */
|
|
252 /* #endif */
|
0
|
253
|
149
|
254 c_switch_general=@c_switch_general@
|
|
255 c_switch_window_system=@c_switch_window_system@
|
|
256 c_switch_all=@c_switch_all@
|
|
257 ld_switch_general=@ld_switch_general@
|
|
258 ld_switch_window_system=@ld_switch_window_system@
|
|
259 ld_switch_all=@ld_switch_all@
|
|
260 ld_libs_general=@ld_libs_general@
|
|
261 ld_libs_window_system=@ld_libs_window_system@
|
|
262 ld_libs_all=@ld_libs_all@
|
0
|
263
|
149
|
264 /* LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_SOCKS LD_SWITCH_SITE */
|
|
265 /* LOAD_X_LIBES=LD_SWITCH_X_SITE LD_SWITCH_X_SYSTEM */
|
|
266 /* C_SWITCH_X=C_SWITCH_X_SITE C_SWITCH_X_SYSTEM C_SWITCH_SITE */
|
|
267 LOADLIBES=$(ld_switch_general) $(ld_libs_general)
|
|
268 LOAD_X_LIBES=$(ld_switch_window_system)
|
|
269 C_SWITCH_X=$(c_switch_window_system)
|
|
270
|
|
271 /* We need to #define emacs to get the right versions of some files. */
|
|
272
|
|
273 lib_src_cppflags = -Demacs -I../src -I${srcdir} -I${srcdir}/../src $(CPPFLAGS)
|
|
274 cflags = $(CFLAGS) $(lib_src_cppflags) $(c_switch_general)
|
|
275 ldflags = $(ld_switch_general) $(LDFLAGS) $(ld_libs_general)
|
|
276
|
|
277 /* CPP_CFLAGS = $(c_switch_general) -Demacs -DHAVE_CONFIG_H \ */
|
|
278 /* -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} */
|
|
279 /* BASE_CFLAGS = -DHAVE_CONFIG_H \ */
|
|
280 /* -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} */
|
|
281 /* ALL_CFLAGS = $(BASE_CFLAGS) -Demacs */
|
|
282 /* LINK_CFLAGS = $(ALL_CFLAGS) -Demacs -DHAVE_CONFIG_H \ */
|
|
283 /* -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} */
|
|
284 /* Formerly -Demacs was missing, but it is needed to suppress the */
|
|
285 /* defining of malloc to xmalloc. [Yes it is fucked up. Blame FSF */
|
|
286 /* for this.] */
|
|
287 /* ALLOCA_CFLAGS = -Demacs -DHAVE_CONFIG_H \ */
|
|
288 /* -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} */
|
0
|
289
|
|
290 /* This is the default compilation command.
|
|
291 But we should never rely on it, because some make version
|
|
292 failed to find it for getopt.o.
|
|
293 Using an explicit command made it work. */
|
|
294 .c.o:
|
149
|
295 ${CC} -c $(cflags) $<
|
0
|
296
|
|
297 all: ${UTILITIES} ${INSTALLABLES} ${SCRIPTS}
|
|
298
|
70
|
299 /* Make symlinks for shell scripts if using --srcdir */
|
|
300 rcs2log:
|
|
301 ${LN_S} ${srcdir}/$@ $@
|
|
302 vcdiff:
|
|
303 ${LN_S} ${srcdir}/$@ $@
|
26
|
304 tm-au :
|
|
305 ${LN_S} ${srcdir}/$@ $@
|
|
306 tm-file :
|
|
307 ${LN_S} ${srcdir}/$@ $@
|
|
308 tm-html :
|
|
309 ${LN_S} ${srcdir}/$@ $@
|
|
310 tm-image :
|
|
311 ${LN_S} ${srcdir}/$@ $@
|
|
312 tm-mpeg :
|
|
313 ${LN_S} ${srcdir}/$@ $@
|
|
314 tm-plain :
|
|
315 ${LN_S} ${srcdir}/$@ $@
|
|
316 tm-ps :
|
|
317 ${LN_S} ${srcdir}/$@ $@
|
|
318 tmdecode :
|
|
319 ${LN_S} ${srcdir}/$@ $@
|
114
|
320 gzip-el.sh:
|
|
321 ${LN_S} ${srcdir}/$@ $@
|
|
322 install-sid:
|
|
323 ${LN_S} ${srcdir}/$@ $@
|
|
324 send-pr:
|
|
325 ${LN_S} ${srcdir}/$@ $@
|
0
|
326
|
|
327 #ifdef MOVEMAIL_NEEDS_BLESSING
|
|
328 blessmail:
|
|
329 ../src/emacs -batch -l ../lisp/blessmail.el
|
|
330 chmod +x blessmail
|
|
331 #endif
|
|
332
|
|
333 maybe-blessmail: BLESSMAIL
|
|
334 #ifdef MOVEMAIL_NEEDS_BLESSING
|
74
|
335 /* Do not charge ahead and do it! Let the installer decide.
|
0
|
336 ./blessmail ${archlibdir}/movemail */
|
|
337 @if [ `wc -l <blessmail` != 2 ] ; then \
|
|
338 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
|
|
339 echo Assuming $$dir is really the mail spool directory, you should; \
|
|
340 echo run lib-src/blessmail ${archlibdir}/movemail; \
|
|
341 echo as root, to give movemail appropriate permissions.; \
|
|
342 echo Do that after running make install.; \
|
|
343 fi
|
|
344 #endif
|
|
345
|
|
346 /* Install the internal utilities. Until they are installed, we can
|
|
347 just run them directly from lib-src. */
|
|
348 ${archlibdir}: all
|
|
349 @echo
|
|
350 @echo "Installing utilities run internally by XEmacs."
|
|
351 ./make-path ${archlibdir}
|
|
352 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
|
|
353 for file in ${UTILITIES}; do \
|
80
|
354 (cd .. && $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \
|
0
|
355 done ; \
|
|
356 fi
|
|
357 if [ `(cd ${archlibdir} && /bin/pwd)` \
|
|
358 != `(cd ${srcdir} && /bin/pwd)` ]; then \
|
|
359 for file in ${SCRIPTS}; do \
|
80
|
360 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
|
0
|
361 done ; \
|
|
362 fi
|
|
363
|
74
|
364 /* We do not need to install "wakeup" explicitly, because it will be
|
0
|
365 copied when this whole directory is copied. */
|
|
366 install: ${archlibdir}
|
|
367 @echo
|
|
368 @echo "Installing utilities for users to run."
|
|
369 for file in ${INSTALLABLES} ; do \
|
80
|
370 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
|
0
|
371 done
|
|
372 for file in ${INSTALLABLE_SCRIPTS} ; do \
|
80
|
373 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
|
0
|
374 done
|
|
375
|
|
376 uninstall:
|
80
|
377 (cd ${bindir} && \
|
0
|
378 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
|
80
|
379 (cd ${archlibdir} && \
|
0
|
380 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
|
|
381
|
|
382 mostlyclean:
|
|
383 -rm -f core *.o
|
|
384
|
|
385 clean: mostlyclean
|
|
386 -rm -f ${INSTALLABLES} ${UTILITIES}
|
|
387
|
|
388 distclean: clean
|
78
|
389 -rm -f DOC *.tab.c *.tab.h aixcc.c TAGS
|
0
|
390 -rm -f Makefile Makefile.in blessmail
|
|
391
|
|
392 realclean: distclean
|
|
393 true
|
|
394
|
|
395 extraclean: realclean
|
|
396 -rm -f *~ \#*
|
|
397
|
|
398 unlock:
|
|
399 chmod u+w $(SOURCES)
|
|
400
|
|
401 relock:
|
|
402 chmod u-w $(SOURCES)
|
|
403
|
|
404 /* Test the contents of the directory. */
|
|
405 check:
|
|
406 @echo "We don't have any tests for XEmacs yet."
|
|
407
|
|
408 TAGS: etags
|
|
409 etags *.[ch]
|
|
410
|
|
411 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA)
|
|
412 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
|
|
413 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
|
149
|
414 ${CC} -c $(cflags) ${srcdir}/getopt.c
|
0
|
415 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
|
149
|
416 ${CC} -c $(cflags) ${srcdir}/getopt1.c
|
0
|
417 alloca.o: ${srcdir}/../src/alloca.c
|
|
418 ${CC} -c ${ALLOCA_CFLAGS} ${srcdir}/../src/alloca.c
|
|
419
|
|
420 #ifdef REGEXP_IN_LIBC
|
|
421 REGEXOBJ =
|
|
422 REGEXDEPS =
|
|
423 #else
|
|
424 REGEXOBJ = regex.o
|
|
425 REGEXDEPS = $(REGEXOBJ) ${srcdir}/../src/regex.h
|
|
426 #endif
|
|
427
|
|
428 regex.o: ${srcdir}/../src/regex.c ${srcdir}/../src/regex.h
|
149
|
429 $(CC) -c `echo ${cflags} | sed 's/-Demacs/ /'` \
|
|
430 -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
|
0
|
431
|
|
432 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h
|
149
|
433 $(CC) ${cflags} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(ldflags) -o etags
|
0
|
434
|
80
|
435 /* We depend on etags to assure that parallel makes do not write two
|
0
|
436 etags.o files on top of each other. */
|
|
437 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
|
149
|
438 $(CC) ${cflags} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(ldflags) -o ctags
|
0
|
439
|
|
440 wakeup: ${srcdir}/wakeup.c
|
149
|
441 $(CC) ${cflags} ${srcdir}/wakeup.c $(ldflags) -o wakeup
|
0
|
442
|
|
443 profile: ${srcdir}/profile.c
|
149
|
444 $(CC) ${cflags} ${srcdir}/profile.c $(ldflags) -o profile
|
0
|
445
|
|
446 make-docfile: ${srcdir}/make-docfile.c
|
149
|
447 $(CC) ${cflags} ${srcdir}/make-docfile.c $(ldflags) -o make-docfile
|
0
|
448
|
|
449 digest-doc: ${srcdir}/digest-doc.c
|
149
|
450 $(CC) ${cflags} ${srcdir}/digest-doc.c $(ldflags) -o digest-doc
|
0
|
451
|
|
452 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
|
149
|
453 $(CC) ${cflags} ${srcdir}/sorted-doc.c ${ALLOCA} $(ldflags) -o sorted-doc
|
0
|
454
|
|
455 b2m: ${srcdir}/b2m.c ../src/config.h
|
149
|
456 $(CC) ${cflags} ${srcdir}/b2m.c $(ldflags) -o b2m
|
0
|
457
|
118
|
458 movemail: ${srcdir}/movemail.c ${srcdir}/pop.c ${srcdir}/pop.h ../src/config.h
|
149
|
459 $(CC) ${cflags} ${MOVE_FLAGS} ${srcdir}/movemail.c ${srcdir}/pop.c $(ldflags) ${MOVE_LIBS} -o movemail
|
0
|
460
|
|
461 cvtmail: ${srcdir}/cvtmail.c
|
149
|
462 $(CC) ${cflags} ${srcdir}/cvtmail.c $(ldflags) -o cvtmail
|
0
|
463
|
|
464 fakemail: ${srcdir}/fakemail.c ../src/config.h
|
149
|
465 $(CC) ${cflags} ${srcdir}/fakemail.c $(ldflags) -o fakemail
|
0
|
466
|
|
467 yow: ${srcdir}/yow.c ../src/paths.h
|
149
|
468 $(CC) ${cflags} ${srcdir}/yow.c $(ldflags) -o yow
|
0
|
469
|
|
470 hexl: ${srcdir}/hexl.c
|
149
|
471 $(CC) ${cflags} ${srcdir}/hexl.c $(ldflags) -o hexl
|
0
|
472
|
70
|
473 make-msgfile: ${srcdir}/make-msgfile.c
|
149
|
474 $(CC) $(cflags) ${srcdir}/make-msgfile.c $(ldflags) -o make-msgfile
|
70
|
475
|
|
476 make-po: ${srcdir}/make-po.c
|
149
|
477 $(CC) $(cflags) ${srcdir}/make-po.c $(ldflags) -o make-po
|
70
|
478
|
80
|
479 /* Why oh why does HP not include half of the standard X distribution? */
|
0
|
480
|
149
|
481 #ifdef HAVE_XAUTH
|
|
482 cflags_gnuserv = $(CFLAGS) $(c_switch_all) $(lib_src_cppflags)
|
|
483 ldflags_gnuserv = $(ld_switch_all) $(LDFLAGS) $(ld_libs_all)
|
|
484 #else
|
|
485 cflags_gnuserv = ${cflags}
|
|
486 ldflags_gnuserv = ${ldflags}
|
|
487 #endif
|
0
|
488 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h
|
149
|
489 $(CC) -c ${cflags_gnuserv} ${srcdir}/gnuslib.c
|
0
|
490 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h
|
149
|
491 $(CC) ${cflags_gnuserv} -o gnuclient ${srcdir}/gnuclient.c gnuslib.o $(ldflags_gnuserv)
|
0
|
492 gnuattach: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h gnuclient
|
149
|
493 $(CC) ${cflags_gnuserv} -o gnuattach -DGNUATTACH ${srcdir}/gnuclient.c gnuslib.o $(ldflags_gnuserv)
|
0
|
494 gnudoit: ${srcdir}/gnudoit.c gnuslib.o ${srcdir}/gnuserv.h
|
149
|
495 $(CC) ${cflags_gnuserv} -o gnudoit ${srcdir}/gnudoit.c gnuslib.o $(ldflags_gnuserv)
|
0
|
496 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h
|
149
|
497 $(CC) ${cflags_gnuserv} -o gnuserv ${srcdir}/gnuserv.c gnuslib.o $(ldflags_gnuserv)
|
70
|
498
|
14
|
499 /* mmencode binary is used by tm - but is really part of the metamail package */
|
|
500 /* mmencode.c was merged copy of mmencode.c and codes.c of metamail */
|
|
501 mmencode : ${srcdir}/mmencode.c
|
149
|
502 $(CC) ${cflags} ${srcdir}/mmencode.c -o mmencode
|
14
|
503
|
70
|
504
|
0
|
505 /* The timer utility (timer.c, getdate.y) is not used in XEmacs
|
|
506 because XEmacs provides built-in timer facilities. */
|
|
507
|
|
508 make-path: ${srcdir}/make-path.c ../src/config.h
|
149
|
509 $(CC) $(cflags) ${srcdir}/make-path.c -o make-path
|
0
|
510
|
|
511 /* These are NOT included in INSTALLABLES or UTILITIES.
|
|
512 See ../src/Makefile.in.in. */
|
|
513 aixcc: ${srcdir}/aixcc.c
|
149
|
514 $(CC) $(cflags) -o aixcc ${srcdir}/aixcc.c
|
0
|
515
|
|
516 aixcc.c: ${srcdir}/aixcc.lex
|
|
517 lex ${srcdir}/aixcc.lex
|
|
518 mv lex.yy.c aixcc.c
|