Mercurial > hg > xemacs-beta
comparison lib-src/Makefile.in.in @ 149:538048ae2ab8 r20-3b1
Import from CVS: tag r20-3b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:36:16 +0200 |
parents | cca96a509cfe |
children | 59463afc5666 |
comparison
equal
deleted
inserted
replaced
148:f659db2a1f73 | 149:538048ae2ab8 |
---|---|
35 #undef unix | 35 #undef unix |
36 #undef sgi | 36 #undef sgi |
37 #undef NeXT | 37 #undef NeXT |
38 #undef mips | 38 #undef mips |
39 #undef i386 | 39 #undef i386 |
40 #undef linux | |
40 | 41 |
41 /* ==================== Things "configure" will edit ==================== */ | 42 /* ==================== Things "configure" will edit ==================== */ |
42 | 43 |
43 CC=@CC@ | 44 CC=@CC@ |
45 CPP=@CPP@ | |
44 CFLAGS=@CFLAGS@ | 46 CFLAGS=@CFLAGS@ |
47 CPPFLAGS=@CPPFLAGS@ | |
48 LDFLAGS=@LDFLAGS@ | |
45 ALLOCA=@ALLOCA@ | 49 ALLOCA=@ALLOCA@ |
46 YACC=@YACC@ | 50 YACC=@YACC@ |
47 LN_S=@LN_S@ | 51 LN_S=@LN_S@ |
48 version=@version@ | 52 version=@version@ |
49 configuration=@configuration@ | 53 configuration=@configuration@ |
99 | 103 |
100 /* ========================== Lists of Files =========================== */ | 104 /* ========================== Lists of Files =========================== */ |
101 | 105 |
102 /* Things that a user might actually run, | 106 /* Things that a user might actually run, |
103 which should be installed in bindir. */ | 107 which should be installed in bindir. */ |
104 INSTALLABLES = etags ctags emacsclient b2m gnuclient gnuattach gnudoit | 108 INSTALLABLES = etags ctags b2m gnuclient gnuattach gnudoit |
105 INSTALLABLE_SCRIPTS = rcs-checkin pstogif install-sid send-pr | 109 INSTALLABLE_SCRIPTS = rcs-checkin pstogif install-sid send-pr |
106 | 110 |
107 /* Things that Emacs runs internally, or during the build process, | 111 /* Things that Emacs runs internally, or during the build process, |
108 which should not be installed in bindir. */ | 112 which should not be installed in bindir. */ |
109 UTILITIES= make-path wakeup profile make-docfile digest-doc \ | 113 UTILITIES= make-path wakeup profile make-docfile digest-doc \ |
110 sorted-doc movemail cvtmail fakemail yow emacsserver hexl \ | 114 sorted-doc movemail cvtmail fakemail yow hexl \ |
111 gnuserv mmencode | 115 gnuserv mmencode |
112 /* These need to be conditional on I18N3 | 116 /* These need to be conditional on I18N3 |
113 make-msgfile make-po */ | 117 make-msgfile make-po */ |
114 | 118 |
115 /* Like UTILITIES, but they are not system-dependent, and should not be | 119 /* Like UTILITIES, but they are not system-dependent, and should not be |
239 #define BLESSMAIL blessmail | 243 #define BLESSMAIL blessmail |
240 #else | 244 #else |
241 #define BLESSMAIL | 245 #define BLESSMAIL |
242 #endif | 246 #endif |
243 | 247 |
244 #if defined (HAVE_SOCKS) | 248 /* #if defined (HAVE_SOCKS) */ |
245 #define LIB_SOCKS -lsocks | 249 /* #define LIB_SOCKS -lsocks */ |
246 #else | 250 /* #else */ |
247 #define LIB_SOCKS | 251 /* #define LIB_SOCKS */ |
248 #endif | 252 /* #endif */ |
249 | 253 |
250 LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_SOCKS LD_SWITCH_SITE | 254 c_switch_general=@c_switch_general@ |
251 LOAD_X_LIBES=LD_SWITCH_X_SITE LD_SWITCH_X_SYSTEM | 255 c_switch_window_system=@c_switch_window_system@ |
252 C_SWITCH_X=C_SWITCH_X_SITE C_SWITCH_X_SYSTEM C_SWITCH_SITE | 256 c_switch_all=@c_switch_all@ |
253 | 257 ld_switch_general=@ld_switch_general@ |
254 /* We need to #define emacs to get the right versions of some files. | 258 ld_switch_window_system=@ld_switch_window_system@ |
255 Some other files - those shared with other GNU utilities - need | 259 ld_switch_all=@ld_switch_all@ |
256 HAVE_CONFIG_H #defined before they know they can take advantage of | 260 ld_libs_general=@ld_libs_general@ |
257 the information in ../src/config.h. */ | 261 ld_libs_window_system=@ld_libs_window_system@ |
258 ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ | 262 ld_libs_all=@ld_libs_all@ |
259 -DSTDC_HEADERS -I. -I../src -I${srcdir} -I${srcdir}/../src \ | 263 |
260 ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} | 264 /* LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_SOCKS LD_SWITCH_SITE */ |
261 BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H -DSTDC_HEADERS \ | 265 /* LOAD_X_LIBES=LD_SWITCH_X_SITE LD_SWITCH_X_SYSTEM */ |
262 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} | 266 /* C_SWITCH_X=C_SWITCH_X_SITE C_SWITCH_X_SYSTEM C_SWITCH_SITE */ |
263 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ | 267 LOADLIBES=$(ld_switch_general) $(ld_libs_general) |
264 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} | 268 LOAD_X_LIBES=$(ld_switch_window_system) |
265 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ | 269 C_SWITCH_X=$(c_switch_window_system) |
266 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} | 270 |
267 /* Formerly -Demacs was missing, but it is needed to suppress the | 271 /* We need to #define emacs to get the right versions of some files. */ |
268 defining of malloc to xmalloc. [Yes it is fucked up. Blame FSF | 272 |
269 for this.] */ | 273 lib_src_cppflags = -Demacs -I../src -I${srcdir} -I${srcdir}/../src $(CPPFLAGS) |
270 ALLOCA_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ | 274 cflags = $(CFLAGS) $(lib_src_cppflags) $(c_switch_general) |
271 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} | 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} */ | |
272 | 289 |
273 /* This is the default compilation command. | 290 /* This is the default compilation command. |
274 But we should never rely on it, because some make version | 291 But we should never rely on it, because some make version |
275 failed to find it for getopt.o. | 292 failed to find it for getopt.o. |
276 Using an explicit command made it work. */ | 293 Using an explicit command made it work. */ |
277 .c.o: | 294 .c.o: |
278 ${CC} -c ${CPP_CFLAGS} $< | 295 ${CC} -c $(cflags) $< |
279 | 296 |
280 all: ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} | 297 all: ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} |
281 | 298 |
282 /* Make symlinks for shell scripts if using --srcdir */ | 299 /* Make symlinks for shell scripts if using --srcdir */ |
283 rcs2log: | 300 rcs2log: |
392 etags *.[ch] | 409 etags *.[ch] |
393 | 410 |
394 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA) | 411 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA) |
395 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h | 412 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h |
396 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h | 413 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h |
397 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c | 414 ${CC} -c $(cflags) ${srcdir}/getopt.c |
398 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h | 415 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h |
399 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c | 416 ${CC} -c $(cflags) ${srcdir}/getopt1.c |
400 alloca.o: ${srcdir}/../src/alloca.c | 417 alloca.o: ${srcdir}/../src/alloca.c |
401 ${CC} -c ${ALLOCA_CFLAGS} ${srcdir}/../src/alloca.c | 418 ${CC} -c ${ALLOCA_CFLAGS} ${srcdir}/../src/alloca.c |
402 | 419 |
403 #ifdef REGEXP_IN_LIBC | 420 #ifdef REGEXP_IN_LIBC |
404 REGEXOBJ = | 421 REGEXOBJ = |
407 REGEXOBJ = regex.o | 424 REGEXOBJ = regex.o |
408 REGEXDEPS = $(REGEXOBJ) ${srcdir}/../src/regex.h | 425 REGEXDEPS = $(REGEXOBJ) ${srcdir}/../src/regex.h |
409 #endif | 426 #endif |
410 | 427 |
411 regex.o: ${srcdir}/../src/regex.c ${srcdir}/../src/regex.h | 428 regex.o: ${srcdir}/../src/regex.c ${srcdir}/../src/regex.h |
412 $(CC) -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c | 429 $(CC) -c `echo ${cflags} | sed 's/-Demacs/ /'` \ |
430 -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c | |
413 | 431 |
414 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h | 432 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h |
415 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(LOADLIBES) -o etags | 433 $(CC) ${cflags} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(ldflags) -o etags |
416 | 434 |
417 /* We depend on etags to assure that parallel makes do not write two | 435 /* We depend on etags to assure that parallel makes do not write two |
418 etags.o files on top of each other. */ | 436 etags.o files on top of each other. */ |
419 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags | 437 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags |
420 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags | 438 $(CC) ${cflags} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(ldflags) -o ctags |
421 | 439 |
422 wakeup: ${srcdir}/wakeup.c | 440 wakeup: ${srcdir}/wakeup.c |
423 $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup | 441 $(CC) ${cflags} ${srcdir}/wakeup.c $(ldflags) -o wakeup |
424 | 442 |
425 profile: ${srcdir}/profile.c | 443 profile: ${srcdir}/profile.c |
426 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile | 444 $(CC) ${cflags} ${srcdir}/profile.c $(ldflags) -o profile |
427 | 445 |
428 make-docfile: ${srcdir}/make-docfile.c | 446 make-docfile: ${srcdir}/make-docfile.c |
429 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile | 447 $(CC) ${cflags} ${srcdir}/make-docfile.c $(ldflags) -o make-docfile |
430 | 448 |
431 digest-doc: ${srcdir}/digest-doc.c | 449 digest-doc: ${srcdir}/digest-doc.c |
432 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc | 450 $(CC) ${cflags} ${srcdir}/digest-doc.c $(ldflags) -o digest-doc |
433 | 451 |
434 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} | 452 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} |
435 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc | 453 $(CC) ${cflags} ${srcdir}/sorted-doc.c ${ALLOCA} $(ldflags) -o sorted-doc |
436 | 454 |
437 b2m: ${srcdir}/b2m.c ../src/config.h | 455 b2m: ${srcdir}/b2m.c ../src/config.h |
438 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m | 456 $(CC) ${cflags} ${srcdir}/b2m.c $(ldflags) -o b2m |
439 | 457 |
440 movemail: ${srcdir}/movemail.c ${srcdir}/pop.c ${srcdir}/pop.h ../src/config.h | 458 movemail: ${srcdir}/movemail.c ${srcdir}/pop.c ${srcdir}/pop.h ../src/config.h |
441 $(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c ${srcdir}/pop.c $(LOADLIBES) ${MOVE_LIBS} -o movemail | 459 $(CC) ${cflags} ${MOVE_FLAGS} ${srcdir}/movemail.c ${srcdir}/pop.c $(ldflags) ${MOVE_LIBS} -o movemail |
442 | 460 |
443 cvtmail: ${srcdir}/cvtmail.c | 461 cvtmail: ${srcdir}/cvtmail.c |
444 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail | 462 $(CC) ${cflags} ${srcdir}/cvtmail.c $(ldflags) -o cvtmail |
445 | 463 |
446 fakemail: ${srcdir}/fakemail.c ../src/config.h | 464 fakemail: ${srcdir}/fakemail.c ../src/config.h |
447 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail | 465 $(CC) ${cflags} ${srcdir}/fakemail.c $(ldflags) -o fakemail |
448 | 466 |
449 yow: ${srcdir}/yow.c ../src/paths.h | 467 yow: ${srcdir}/yow.c ../src/paths.h |
450 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow | 468 $(CC) ${cflags} ${srcdir}/yow.c $(ldflags) -o yow |
451 | |
452 emacsserver: ${srcdir}/emacsserver.c ../src/config.h | |
453 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver | |
454 | |
455 emacsclient: ${srcdir}/emacsclient.c ../src/config.h | |
456 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient | |
457 | 469 |
458 hexl: ${srcdir}/hexl.c | 470 hexl: ${srcdir}/hexl.c |
459 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl | 471 $(CC) ${cflags} ${srcdir}/hexl.c $(ldflags) -o hexl |
460 | 472 |
461 make-msgfile: ${srcdir}/make-msgfile.c | 473 make-msgfile: ${srcdir}/make-msgfile.c |
462 $(CC) ${CPP_CFLAGS} ${srcdir}/make-msgfile.c $(LOADLIBES) -o make-msgfile | 474 $(CC) $(cflags) ${srcdir}/make-msgfile.c $(ldflags) -o make-msgfile |
463 | 475 |
464 make-po: ${srcdir}/make-po.c | 476 make-po: ${srcdir}/make-po.c |
465 $(CC) ${CPP_CFLAGS} ${srcdir}/make-po.c $(LOADLIBES) -o make-po | 477 $(CC) $(cflags) ${srcdir}/make-po.c $(ldflags) -o make-po |
466 | 478 |
467 /* Why oh why does HP not include half of the standard X distribution? */ | 479 /* Why oh why does HP not include half of the standard X distribution? */ |
468 | 480 |
469 #if defined (HAVE_XAUTH) | 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 | |
470 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h | 488 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h |
471 $(CC) -c ${CPP_CFLAGS} ${C_SWITCH_X} ${srcdir}/gnuslib.c | 489 $(CC) -c ${cflags_gnuserv} ${srcdir}/gnuslib.c |
472 | |
473 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h | 490 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h |
474 $(CC) ${ALL_CFLAGS} -o gnuclient ${srcdir}/gnuclient.c gnuslib.o $(LOADLIBES) $(LOAD_X_LIBES) -lXau | 491 $(CC) ${cflags_gnuserv} -o gnuclient ${srcdir}/gnuclient.c gnuslib.o $(ldflags_gnuserv) |
475 gnuattach: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h gnuclient | 492 gnuattach: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h gnuclient |
476 $(CC) ${ALL_CFLAGS} -o gnuattach -DGNUATTACH ${srcdir}/gnuclient.c gnuslib.o $(LOADLIBES) $(LOAD_X_LIBES) -lXau | 493 $(CC) ${cflags_gnuserv} -o gnuattach -DGNUATTACH ${srcdir}/gnuclient.c gnuslib.o $(ldflags_gnuserv) |
477 gnudoit: ${srcdir}/gnudoit.c gnuslib.o ${srcdir}/gnuserv.h | 494 gnudoit: ${srcdir}/gnudoit.c gnuslib.o ${srcdir}/gnuserv.h |
478 $(CC) ${ALL_CFLAGS} -o gnudoit ${srcdir}/gnudoit.c gnuslib.o $(LOADLIBES) $(LOAD_X_LIBES) -lXau | 495 $(CC) ${cflags_gnuserv} -o gnudoit ${srcdir}/gnudoit.c gnuslib.o $(ldflags_gnuserv) |
479 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h | 496 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h |
480 $(CC) ${ALL_CFLAGS} ${C_SWITCH_X} -o gnuserv ${srcdir}/gnuserv.c gnuslib.o $(LOADLIBES) $(LOAD_X_LIBES) -lXau | 497 $(CC) ${cflags_gnuserv} -o gnuserv ${srcdir}/gnuserv.c gnuslib.o $(ldflags_gnuserv) |
481 | |
482 #else /* !HAVE_XAUTH */ | |
483 | |
484 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h | |
485 $(CC) ${ALL_CFLAGS} -o gnuclient ${srcdir}/gnuclient.c gnuslib.o $(LOADLIBES) | |
486 gnuattach: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h gnuclient | |
487 $(CC) ${ALL_CFLAGS} -o gnuattach -DGNUATTACH ${srcdir}/gnuclient.c gnuslib.o $(LOADLIBES) | |
488 gnudoit: ${srcdir}/gnudoit.c gnuslib.o ${srcdir}/gnuserv.h | |
489 $(CC) ${ALL_CFLAGS} -o gnudoit ${srcdir}/gnudoit.c gnuslib.o $(LOADLIBES) | |
490 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h | |
491 $(CC) ${ALL_CFLAGS} -o gnuserv ${srcdir}/gnuserv.c gnuslib.o $(LOADLIBES) | |
492 #endif /* !HAVE_XAUTH */ | |
493 | |
494 | 498 |
495 /* mmencode binary is used by tm - but is really part of the metamail package */ | 499 /* mmencode binary is used by tm - but is really part of the metamail package */ |
496 /* mmencode.c was merged copy of mmencode.c and codes.c of metamail */ | 500 /* mmencode.c was merged copy of mmencode.c and codes.c of metamail */ |
497 mmencode : ${srcdir}/mmencode.c | 501 mmencode : ${srcdir}/mmencode.c |
498 $(CC) ${ALL_CFLAGS} ${srcdir}/mmencode.c -o mmencode | 502 $(CC) ${cflags} ${srcdir}/mmencode.c -o mmencode |
499 | 503 |
500 | 504 |
501 /* The timer utility (timer.c, getdate.y) is not used in XEmacs | 505 /* The timer utility (timer.c, getdate.y) is not used in XEmacs |
502 because XEmacs provides built-in timer facilities. */ | 506 because XEmacs provides built-in timer facilities. */ |
503 | 507 |
504 make-path: ${srcdir}/make-path.c ../src/config.h | 508 make-path: ${srcdir}/make-path.c ../src/config.h |
505 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path | 509 $(CC) $(cflags) ${srcdir}/make-path.c -o make-path |
506 | 510 |
507 /* These are NOT included in INSTALLABLES or UTILITIES. | 511 /* These are NOT included in INSTALLABLES or UTILITIES. |
508 See ../src/Makefile.in.in. */ | 512 See ../src/Makefile.in.in. */ |
509 emacstool: ${srcdir}/emacstool.c | |
510 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ | |
511 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) | |
512 | |
513 /* For SUN Japanese Language Environment. */ | |
514 nemacstool: ${srcdir}/emacstool.c | |
515 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ | |
516 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) | |
517 | |
518 xvetool: ${srcdir}/emacstool.c | |
519 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ | |
520 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ | |
521 $(LOADLIBES) | |
522 | |
523 xveterm: ${srcdir}/emacstool.c | |
524 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ | |
525 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ | |
526 $(LOADLIBES) | |
527 | |
528 aixcc: ${srcdir}/aixcc.c | 513 aixcc: ${srcdir}/aixcc.c |
529 $(CC) $(ALL_CFLAGS) -o aixcc ${srcdir}/aixcc.c | 514 $(CC) $(cflags) -o aixcc ${srcdir}/aixcc.c |
530 | 515 |
531 aixcc.c: ${srcdir}/aixcc.lex | 516 aixcc.c: ${srcdir}/aixcc.lex |
532 lex ${srcdir}/aixcc.lex | 517 lex ${srcdir}/aixcc.lex |
533 mv lex.yy.c aixcc.c | 518 mv lex.yy.c aixcc.c |