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