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