Mercurial > hg > xemacs-beta
comparison src/Makefile.in.in @ 153:25f70ba0133c r20-3b3
Import from CVS: tag r20-3b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:38:25 +0200 |
parents | 59463afc5666 |
children | 43dd3413c7c7 |
comparison
equal
deleted
inserted
replaced
152:4c132ee2d62b | 153:25f70ba0133c |
---|---|
96 | 96 |
97 /* On some machines #define register is done in config; | 97 /* On some machines #define register is done in config; |
98 do not let it interfere with this file. */ | 98 do not let it interfere with this file. */ |
99 #undef register | 99 #undef register |
100 | 100 |
101 /* On some systems we may not be able to use the system make command. */ | |
102 #ifdef MAKE_COMMAND | |
103 MAKE = MAKE_COMMAND | |
104 #endif | |
105 | |
106 /* Unless inhibited or changed, use -lg to link for debugging. */ | 101 /* Unless inhibited or changed, use -lg to link for debugging. */ |
107 #ifndef LIBS_DEBUG | 102 #ifndef LIBS_DEBUG |
108 #define LIBS_DEBUG -lg | 103 #define LIBS_DEBUG -lg |
109 #endif | 104 #endif |
110 | 105 |
117 #endif /* define a shared switch */ | 112 #endif /* define a shared switch */ |
118 | 113 |
119 #ifndef ORDINARY_LINK | 114 #ifndef ORDINARY_LINK |
120 | 115 |
121 #ifndef CRT0_COMPILE | 116 #ifndef CRT0_COMPILE |
122 #define CRT0_COMPILE $(CC) -c $(cflags) C_SWITCH_ASM | 117 #define CRT0_COMPILE $(CC) -c $(cflags) C_SWITCH_ASM |
123 #endif | 118 #endif |
124 | 119 |
125 #ifndef START_FILES | 120 #ifndef START_FILES |
126 #ifdef NO_REMAP | 121 #ifdef NO_REMAP |
127 #ifdef COFF_ENCAPSULATE | 122 #ifdef COFF_ENCAPSULATE |
256 #define LIB_GCC /usr/local/lib/gcc-gnulib | 251 #define LIB_GCC /usr/local/lib/gcc-gnulib |
257 #endif /* LIB_GCC */ | 252 #endif /* LIB_GCC */ |
258 GNULIB_VAR = `if [ -f LIB_GCC ] ; then echo LIB_GCC; else echo; fi` | 253 GNULIB_VAR = `if [ -f LIB_GCC ] ; then echo LIB_GCC; else echo; fi` |
259 #endif /* __GNUC__ < 2 */ | 254 #endif /* __GNUC__ < 2 */ |
260 #else /* ! defined (__GNUC__) */ | 255 #else /* ! defined (__GNUC__) */ |
261 GNULIB_VAR = | 256 GNULIB_VAR = |
262 | 257 |
263 #endif /* ! defined (__GNUC__) */ | 258 #endif /* ! defined (__GNUC__) */ |
264 #else | 259 #else |
265 GNULIB_VAR = | 260 GNULIB_VAR = |
266 #endif /* not ORDINARY_LINK */ | 261 #endif /* not ORDINARY_LINK */ |
386 # endif /* !(DEC_ALPHA && OSF1) */ | 381 # endif /* !(DEC_ALPHA && OSF1) */ |
387 # endif /* not USG5 */ | 382 # endif /* not USG5 */ |
388 | 383 |
389 # ifdef LWLIB_USES_MOTIF | 384 # ifdef LWLIB_USES_MOTIF |
390 # ifdef EXTW_LINK | 385 # ifdef EXTW_LINK |
391 # define MOTIF_OTHER_FILES libextcli_Xm.a libextcli_Xm.so.1 | 386 # define MOTIF_OTHER_FILES libextcli_Xm.a libextcli_Xm.so.1 |
392 # else | 387 # else |
393 # define MOTIF_OTHER_FILES libextcli_Xm.a | 388 # define MOTIF_OTHER_FILES libextcli_Xm.a |
394 # endif | 389 # endif |
395 # else | 390 # else |
396 # define MOTIF_OTHER_FILES | 391 # define MOTIF_OTHER_FILES |
583 | 578 |
584 /* List of Lisp files loaded into the dumped Emacs. | 579 /* List of Lisp files loaded into the dumped Emacs. |
585 Every file that is loaded from loadup.el must be enumerated | 580 Every file that is loaded from loadup.el must be enumerated |
586 here, or the functions will have no docstrings. | 581 here, or the functions will have no docstrings. |
587 This is dumb - this list should be generated automatically. | 582 This is dumb - this list should be generated automatically. |
588 [Note: "version.el" is included in the doc separately, but is not listed | 583 [Note: "version.el" is included in the doc separately, but is not listed |
589 here because we do not want things to appear to be out-of-date just | 584 here because we do not want things to appear to be out-of-date just |
590 because the version number has been incremented. -- D.N.G. 8/28/93] | 585 because the version number has been incremented. -- D.N.G. 8/28/93] |
591 */ | 586 */ |
592 lisp= ${lispdir}paths.el ${lispdir}prim/featurep.elc \ | 587 lisp= ${lispdir}paths.el ${lispdir}prim/featurep.elc \ |
593 ${lispdir}prim/loaddefs.elc ${lispdir}prim/auto-autoloads.elc \ | 588 ${lispdir}prim/loaddefs.elc ${lispdir}prim/auto-autoloads.elc \ |
594 ${lispdir}prim/loadup.el ${lispdir}prim/subr.elc \ | 589 ${lispdir}prim/loadup.el ${lispdir}prim/subr.elc \ |
620 ${lispdir}modes/auto-show.elc SUNPRO_LISP TTY_LISP \ | 615 ${lispdir}modes/auto-show.elc SUNPRO_LISP TTY_LISP \ |
621 ${lispdir}bytecomp/bytecomp-runtime.elc FLOAT_LISP \ | 616 ${lispdir}bytecomp/bytecomp-runtime.elc FLOAT_LISP \ |
622 ${lispdir}prim/itimer.elc ${lispdir}prim/itimer-autosave.elc \ | 617 ${lispdir}prim/itimer.elc ${lispdir}prim/itimer-autosave.elc \ |
623 ${lispdir}ediff/ediff-hook.elc \ | 618 ${lispdir}ediff/ediff-hook.elc \ |
624 ${lispdir}custom/widget.elc ${lispdir}custom/custom.elc \ | 619 ${lispdir}custom/widget.elc ${lispdir}custom/custom.elc \ |
625 ${lispdir}prim/custom-load.elc ${lispdir}prim/cus-start.elc \ | 620 ${lispdir}prim/cus-start.elc \ |
626 ${lispdir}packages/fontl-hooks.elc SCROLLBAR_LISP \ | 621 ${lispdir}packages/fontl-hooks.elc SCROLLBAR_LISP \ |
627 ${lispdir}prim/buffer.elc MENUBAR_LISP \ | 622 ${lispdir}prim/buffer.elc MENUBAR_LISP \ |
628 ${lispdir}packages/buff-menu.elc DIALOG_LISP MULE_LISP NOMULE_LISP \ | 623 ${lispdir}packages/buff-menu.elc DIALOG_LISP MULE_LISP NOMULE_LISP \ |
629 ${lispdir}modes/abbrev.elc X11_LISP ENERGIZE_LISP TOOLTALK_LISP | 624 ${lispdir}modes/abbrev.elc X11_LISP ENERGIZE_LISP TOOLTALK_LISP |
630 | 625 |
658 #ifdef I18N3 | 653 #ifdef I18N3 |
659 mo_dir = ${etcdir} | 654 mo_dir = ${etcdir} |
660 mo_file = ${mo_dir}emacs.mo | 655 mo_file = ${mo_dir}emacs.mo |
661 #endif | 656 #endif |
662 | 657 |
663 LOADPATH = EMACSLOADPATH="${lispdir}prim" | 658 LOADPATH = EMACSLOADPATH="${lispdir}prim" |
664 DUMPENV = $(LOADPATH) | 659 DUMPENV = $(LOADPATH) |
665 | 660 |
666 release: temacs ${lisp} ${libsrc}DOC $(mo_file) OTHER_FILES | 661 release: temacs ${lisp} ${libsrc}DOC $(mo_file) OTHER_FILES |
667 #ifdef CANNOT_DUMP | 662 #ifdef CANNOT_DUMP |
668 ln temacs xemacs | 663 ln temacs xemacs |
768 | 763 |
769 ${libsrc}make-docfile: | 764 ${libsrc}make-docfile: |
770 cd ${libsrc} && ${MAKE} ${MFLAGS} make-docfile | 765 cd ${libsrc} && ${MAKE} ${MFLAGS} make-docfile |
771 | 766 |
772 /* Lint Section */ | 767 /* Lint Section */ |
773 LINT.c=$(LINT) $(LINTFLAGS) $(LINTINCLUDES) | 768 LINT.c=$(LINT) $(LINTFLAGS) $(LINTINCLUDES) |
774 LINTFILES= $(objs:.o=.ln) | 769 LINTFILES= $(objs:.o=.ln) |
775 LINTINCLUDES = $(cppflags) | 770 LINTINCLUDES = $(cppflags) |
776 /* LINTFLAGS= -fd -m -p -s -u -v -x */ | 771 /* LINTFLAGS= -fd -m -p -s -u -v -x */ |
777 LINTFLAGS= -fd -m -s -u -v -x | 772 LINTFLAGS= -fd -m -s -u -v -x |
778 lint: $(LINTFILES) | 773 lint: $(LINTFILES) |
856 # define EXTERNAL_CLIENT_XLIB_OBJS_SHARED ExternalClient-Xlib-shared.o extw-Xlib-shared.o | 851 # define EXTERNAL_CLIENT_XLIB_OBJS_SHARED ExternalClient-Xlib-shared.o extw-Xlib-shared.o |
857 # define EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED ExternalClient-Xm-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o | 852 # define EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED ExternalClient-Xm-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o |
858 # define EXTERNAL_CLIENT_XT_OBJS_NONSHARED ExternalClient-Xt-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o | 853 # define EXTERNAL_CLIENT_XT_OBJS_NONSHARED ExternalClient-Xt-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o |
859 # define EXTERNAL_CLIENT_XLIB_OBJS_NONSHARED ExternalClient-Xlib-nonshared.o extw-Xlib-nonshared.o | 854 # define EXTERNAL_CLIENT_XLIB_OBJS_NONSHARED ExternalClient-Xlib-nonshared.o extw-Xlib-nonshared.o |
860 | 855 |
861 /* Add dependencies so things work right with a parallel make */ | 856 /* Add dependencies so things work right with a parallel make */ |
862 ExternalClient-Xm-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-shared.o ExternalClient-Xm-nonshared.o | 857 ExternalClient-Xm-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-shared.o ExternalClient-Xm-nonshared.o |
863 $(CC) -c $(pic_arg) $(cflags) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c | 858 $(CC) -c $(pic_arg) $(cflags) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c |
864 mv ExternalClient.o ExternalClient-Xm-shared.o | 859 mv ExternalClient.o ExternalClient-Xm-shared.o |
865 | 860 |
866 ExternalClient-Xt-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-nonshared.o | 861 ExternalClient-Xt-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-nonshared.o |
1080 | 1075 |
1081 /*** Dependency processing using makedepend ***/ | 1076 /*** Dependency processing using makedepend ***/ |
1082 | 1077 |
1083 depend: | 1078 depend: |
1084 : > depend.tmp | 1079 : > depend.tmp |
1085 makedepend -f depend.tmp -Dsubprocesses -DMOCKLISP_SUPPORT \ | 1080 makedepend -f depend.tmp -Dsubprocesses \ |
1086 -DHAVE_X_WINDOWS -DMULE -- $(cppflags) $(cflags) \ | 1081 -DHAVE_X_WINDOWS -DMULE -- $(cppflags) $(cflags) \ |
1087 -- *.c | 1082 -- *.c |
1088 sh ${libsrc}process-depends.sh < depend.tmp > depend.out | 1083 sh ${libsrc}process-depends.sh < depend.tmp > depend.out |
1089 egrep '^mule|[^a-zA-Z]mule' depend.out > /tmp/depend1.$$ | 1084 egrep '^mule|[^a-zA-Z]mule' depend.out > /tmp/depend1.$$ |
1090 grep -v '^mule' depend.out | grep -v '[^a-zA-Z]mule' > /tmp/depend2.$$ | 1085 grep -v '^mule' depend.out | grep -v '[^a-zA-Z]mule' > /tmp/depend2.$$ |
1091 echo '#ifdef MULE' > depend.out | 1086 echo '#ifdef MULE' > depend.out |
1092 cat /tmp/depend1.$$ >> depend.out | 1087 cat /tmp/depend1.$$ >> depend.out |
1093 /* The things you have to do to pay homage to the lexer God ... | 1088 @# The things you have to do to pay homage to the lexer God ... frightening |
1094 truly frightening. */ | |
1095 echo '#endif /''* MULE *''/' >> depend.out | 1089 echo '#endif /''* MULE *''/' >> depend.out |
1096 echo '' >> depend.out | 1090 echo '' >> depend.out |
1097 cat /tmp/depend2.$$ >> depend.out | 1091 cat /tmp/depend2.$$ >> depend.out |
1098 rm -f /tmp/depend1.$$ /tmp/depend2.$$ | 1092 rm -f /tmp/depend1.$$ /tmp/depend2.$$ |
1099 | 1093 |
1224 macros.o: mule-charset.h | 1218 macros.o: mule-charset.h |
1225 marker.o: mule-charset.h | 1219 marker.o: mule-charset.h |
1226 md5.o: mule-charset.h | 1220 md5.o: mule-charset.h |
1227 menubar-x.o: mule-charset.h | 1221 menubar-x.o: mule-charset.h |
1228 minibuf.o: mule-charset.h | 1222 minibuf.o: mule-charset.h |
1229 mocklisp.o: mule-charset.h | |
1230 #ifdef HAVE_CANNA | 1223 #ifdef HAVE_CANNA |
1231 mule-canna.o: blocktype.h | 1224 mule-canna.o: blocktype.h |
1232 mule-canna.o: buffer.h | 1225 mule-canna.o: buffer.h |
1233 mule-canna.o: bufslots.h | 1226 mule-canna.o: bufslots.h |
1234 mule-canna.o: config.h | 1227 mule-canna.o: config.h |
2430 minibuf.o: scrollbar.h | 2423 minibuf.o: scrollbar.h |
2431 minibuf.o: specifier.h | 2424 minibuf.o: specifier.h |
2432 minibuf.o: systime.h | 2425 minibuf.o: systime.h |
2433 minibuf.o: toolbar.h | 2426 minibuf.o: toolbar.h |
2434 minibuf.o: window.h | 2427 minibuf.o: window.h |
2435 mocklisp.o: blocktype.h | |
2436 mocklisp.o: buffer.h | |
2437 mocklisp.o: bufslots.h | |
2438 mocklisp.o: config.h | |
2439 mocklisp.o: dynarr.h | |
2440 msdos.o: config.h | 2428 msdos.o: config.h |
2441 nas.o: blocktype.h | 2429 nas.o: blocktype.h |
2442 nas.o: config.h | 2430 nas.o: config.h |
2443 nas.o: dynarr.h | 2431 nas.o: dynarr.h |
2444 objects-tty.o: blocktype.h | 2432 objects-tty.o: blocktype.h |