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