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