Mercurial > hg > xemacs-beta
comparison src/Makefile.in.in @ 157:6b37e6ddd302 r20-3b5
Import from CVS: tag r20-3b5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:40:41 +0200 |
parents | 43dd3413c7c7 |
children | 3bb7ccffb0c0 |
comparison
equal
deleted
inserted
replaced
156:60baf0b43294 | 157:6b37e6ddd302 |
---|---|
95 #endif | 95 #endif |
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 #undef inline | |
101 | 100 |
102 /* Unless inhibited or changed, use -lg to link for debugging. */ | 101 /* Unless inhibited or changed, use -lg to link for debugging. */ |
103 #ifndef LIBS_DEBUG | 102 #ifndef LIBS_DEBUG |
104 #define LIBS_DEBUG -lg | 103 #define LIBS_DEBUG "-lg" |
105 #endif | 104 #endif |
106 | 105 |
107 #ifndef LD_SWITCH_CALL_SHARED | 106 #ifndef LD_SWITCH_CALL_SHARED |
108 #define LD_SWITCH_CALL_SHARED | 107 #define LD_SWITCH_CALL_SHARED |
109 #endif /* define a call_shared switch */ | 108 #endif /* define a call_shared switch */ |
110 | 109 |
111 #ifndef LD_SWITCH_SHARED | 110 #ifndef LD_SWITCH_SHARED |
112 #define LD_SWITCH_SHARED -c | 111 #define LD_SWITCH_SHARED "-c" |
113 #endif /* define a shared switch */ | 112 #endif /* define a shared switch */ |
114 | 113 |
115 #ifndef ORDINARY_LINK | 114 #ifndef ORDINARY_LINK |
116 | 115 |
117 #ifndef CRT0_COMPILE | 116 #ifndef CRT0_COMPILE |
118 #define CRT0_COMPILE $(CC) -c $(cflags) C_SWITCH_ASM | 117 #define CRT0_COMPILE $(CC) "-c" $(cflags) C_SWITCH_ASM |
119 #endif | 118 #endif |
120 | 119 |
121 #ifndef START_FILES | 120 #ifndef START_FILES |
122 #ifdef NO_REMAP | 121 #ifdef NO_REMAP |
123 #ifdef COFF_ENCAPSULATE | 122 #ifdef COFF_ENCAPSULATE |
124 #define START_FILES pre-crt0.o /usr/local/lib/gcc-crt0.o | 123 #define START_FILES "pre-crt0.o" "/usr/local/lib/gcc-crt0.o" |
125 #else /* ! defined (COFF_ENCAPSULATE) */ | 124 #else /* ! defined (COFF_ENCAPSULATE) */ |
126 #define START_FILES pre-crt0.o /lib/crt0.o | 125 #define START_FILES "pre-crt0.o" "/lib/crt0.o" |
127 #endif /* ! defined (COFF_ENCAPSULATE) */ | 126 #endif /* ! defined (COFF_ENCAPSULATE) */ |
128 #else /* ! defined (NO_REMAP) */ | 127 #else /* ! defined (NO_REMAP) */ |
129 #define START_FILES ecrt0.o | 128 #define START_FILES "ecrt0.o" |
130 #endif /* ! defined (NO_REMAP) */ | 129 #endif /* ! defined (NO_REMAP) */ |
131 #endif /* START_FILES */ | 130 #endif /* START_FILES */ |
132 STARTFILES = START_FILES | 131 STARTFILES = START_FILES |
133 | 132 |
134 #else /* ORDINARY_LINK */ | 133 #else /* ORDINARY_LINK */ |
139 #else | 138 #else |
140 STARTFILES = | 139 STARTFILES = |
141 #endif /* START_FILES */ | 140 #endif /* START_FILES */ |
142 | 141 |
143 #endif /* not ORDINARY_LINK */ | 142 #endif /* not ORDINARY_LINK */ |
144 | |
145 /* Unless inhibited or changed, use -g to compile for debugging. */ | |
146 #ifndef C_DEBUG_SWITCH | |
147 #define C_DEBUG_SWITCH -g | |
148 #endif | |
149 | |
150 /* If user wants to optimize, this is how. */ | |
151 #ifndef C_OPTIMIZE_SWITCH | |
152 #define C_OPTIMIZE_SWITCH -O | |
153 #endif | |
154 | 143 |
155 /* cc switches needed to make the "asm" keyword work. | 144 /* cc switches needed to make the "asm" keyword work. |
156 Nothing special needed on most machines. */ | 145 Nothing special needed on most machines. */ |
157 #ifndef C_SWITCH_ASM | 146 #ifndef C_SWITCH_ASM |
158 #define C_SWITCH_ASM | 147 #define C_SWITCH_ASM |
183 #ifdef HAVE_X_WINDOWS | 172 #ifdef HAVE_X_WINDOWS |
184 LWLIB_BUILDDIR = $(dot)$(dot)/lwlib | 173 LWLIB_BUILDDIR = $(dot)$(dot)/lwlib |
185 | 174 |
186 LWLIB_LDFLAGS = -L$(LWLIB_BUILDDIR) | 175 LWLIB_LDFLAGS = -L$(LWLIB_BUILDDIR) |
187 LWLIB_LIBS = -llw | 176 LWLIB_LIBS = -llw |
188 LWLIB_CPPFLAGS = -I$(LWLIB_SRCDIR) | 177 /* LWLIB_CPPFLAGS = -I$(LWLIB_SRCDIR) */ |
189 LWLIB_DEPS = $(LWLIB_BUILDDIR)/liblw.a | 178 LWLIB_DEPS = $(LWLIB_BUILDDIR)/liblw.a |
190 | 179 |
191 x_objs = balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o \ | 180 x_objs=balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o\ |
192 glyphs-x.o objects-x.o redisplay-x.o xgccache.o xselect.o | 181 glyphs-x.o objects-x.o redisplay-x.o xgccache.o xselect.o |
193 | 182 |
194 #ifdef AIX4 | 183 #ifdef AIX4 |
195 LIBI18N = -li18n | 184 LIBI18N = -li18n |
196 #endif /* AIX4 */ | 185 #endif /* AIX4 */ |
197 | 186 |
199 #endif /* HAVE_X_WINDOWS */ | 188 #endif /* HAVE_X_WINDOWS */ |
200 | 189 |
201 /* -Demacs is needed to make some files produce the correct version | 190 /* -Demacs is needed to make some files produce the correct version |
202 for use in Emacs. */ | 191 for use in Emacs. */ |
203 | 192 |
204 cppflags = $(CPPFLAGS) -Demacs -I. -I${srcdir} $(LWLIB_CPPFLAGS) $(c_switch_all) | 193 cppflags = $(CPPFLAGS) -Demacs -I. $(c_switch_all) |
205 | 194 |
206 cflags= $(CFLAGS) $(cppflags) | 195 cflags= $(CFLAGS) $(cppflags) |
207 | 196 |
208 ldflags = -L. $(LWLIB_LDFLAGS) $(ld_switch_all) | 197 ldflags = -L. $(LWLIB_LDFLAGS) $(ld_switch_all) |
209 | 198 |
228 Well, it is not quite perfect. The "-nostdlib" option keeps GCC | 217 Well, it is not quite perfect. The "-nostdlib" option keeps GCC |
229 from searching for libraries in its internal directories, so we | 218 from searching for libraries in its internal directories, so we |
230 have to ask GCC explicitly where to find libgcc.a. */ | 219 have to ask GCC explicitly where to find libgcc.a. */ |
231 | 220 |
232 #ifndef LINKER | 221 #ifndef LINKER |
233 #define LINKER $(CC) -nostdlib | 222 #define LINKER $(CC) "-nostdlib" |
234 /* GCC passes any argument prefixed with -Xlinker directly to the | 223 /* GCC passes any argument prefixed with -Xlinker directly to the |
235 linker. See prefix-args.c for an explanation of why we do not do | 224 linker. See prefix-args.c for an explanation of why we do not do |
236 this with the shell "for" construct. | 225 this with the shell "for" construct. |
237 Note that some people do not have "." in their paths, so we must | 226 Note that some people do not have "." in their paths, so we must |
238 use ./prefix-args. */ | 227 use ./prefix-args. */ |
247 GNULIB_VAR = LIB_GCC | 236 GNULIB_VAR = LIB_GCC |
248 | 237 |
249 #else /* __GNUC__ < 2 */ | 238 #else /* __GNUC__ < 2 */ |
250 | 239 |
251 #ifndef LIB_GCC | 240 #ifndef LIB_GCC |
252 #define LIB_GCC /usr/local/lib/gcc-gnulib | 241 #define LIB_GCC "/usr/local/lib/gcc-gnulib" |
253 #endif /* LIB_GCC */ | 242 #endif /* LIB_GCC */ |
254 GNULIB_VAR = `if [ -f LIB_GCC ] ; then echo LIB_GCC; else echo; fi` | 243 GNULIB_VAR = `if [ -f LIB_GCC ] ; then echo LIB_GCC; else echo; fi` |
255 #endif /* __GNUC__ < 2 */ | 244 #endif /* __GNUC__ < 2 */ |
256 #else /* ! defined (__GNUC__) */ | 245 #else /* ! defined (__GNUC__) */ |
257 GNULIB_VAR = | 246 GNULIB_VAR = |
266 redefined LD to something odd, like "gcc". */ | 255 redefined LD to something odd, like "gcc". */ |
267 #ifndef YMF_PASS_LDFLAGS | 256 #ifndef YMF_PASS_LDFLAGS |
268 #define YMF_PASS_LDFLAGS(flags) flags | 257 #define YMF_PASS_LDFLAGS(flags) flags |
269 #endif | 258 #endif |
270 | 259 |
271 /* Specify address for ld to start loading at, | 260 /* Specify address for ld to start loading at, if requested by configuration. */ |
272 if requested by configuration. */ | |
273 #ifdef LD_TEXT_START_ADDR | 261 #ifdef LD_TEXT_START_ADDR |
274 STARTFLAGS = -T LD_TEXT_START_ADDR -e __start | 262 STARTFLAGS = "-T" LD_TEXT_START_ADDR "-e" "__start" |
275 #else | 263 #else |
276 STARTFLAGS = | 264 STARTFLAGS = |
277 #endif | 265 #endif |
278 | 266 |
279 #ifdef ORDINARY_LINK | 267 #ifdef ORDINARY_LINK |
309 be dumped as pure by dump-emacs. */ | 297 be dumped as pure by dump-emacs. */ |
310 | 298 |
311 /* NOTE: The last line cannot be all macros, because make will barf | 299 /* NOTE: The last line cannot be all macros, because make will barf |
312 if they all come out null. */ | 300 if they all come out null. */ |
313 | 301 |
314 objs = abbrev.o alloc.o blocktype.o buffer.o bytecode.o \ | 302 objs=\ |
315 callint.o callproc.o casefiddle.o casetab.o chartab.o \ | 303 abbrev.o alloc.o blocktype.o buffer.o bytecode.o\ |
316 cmdloop.o cmds.o console.o console-stream.o \ | 304 callint.o callproc.o casefiddle.o casetab.o chartab.o\ |
317 data.o device.o dired.o doc.o doprnt.o dynarr.o \ | 305 cmdloop.o cmds.o console.o console-stream.o\ |
318 editfns.o elhash.o emacs.o \ | 306 data.o device.o dired.o doc.o doprnt.o dynarr.o\ |
319 $(energize_objs) eval.o events.o $(extra_objs) \ | 307 editfns.o elhash.o emacs.o\ |
320 event-stream.o $(event_unixoid_objs) extents.o faces.o \ | 308 $(energize_objs) eval.o events.o $(extra_objs)\ |
321 fileio.o filelock.o filemode.o floatfns.o fns.o font-lock.o \ | 309 event-stream.o $(event_unixoid_objs) extents.o faces.o\ |
322 frame.o general.o getloadavg.o glyphs.o \ | 310 fileio.o filelock.o filemode.o floatfns.o fns.o font-lock.o\ |
323 $(gui_objs) hash.o indent.o insdel.o intl.o \ | 311 frame.o general.o getloadavg.o glyphs.o\ |
324 keymap.o $(RTC_patch_objs) lread.o lstream.o \ | 312 $(gui_objs) hash.o indent.o insdel.o intl.o\ |
325 macros.o marker.o md5.o minibuf.o objects.o opaque.o \ | 313 keymap.o $(RTC_patch_objs) lread.o lstream.o\ |
326 print.o process.o profile.o pure.o \ | 314 macros.o marker.o md5.o minibuf.o objects.o opaque.o\ |
327 rangetab.o redisplay.o redisplay-output.o regex.o \ | 315 print.o process.o profile.o pure.o\ |
328 search.o signal.o sound.o \ | 316 rangetab.o redisplay.o redisplay-output.o regex.o\ |
329 specifier.o strftime.o symbols.o syntax.o sysdep.o \ | 317 search.o signal.o sound.o\ |
330 undo.o $(x_objs) window.o | 318 specifier.o strftime.o symbols.o syntax.o sysdep.o\ |
319 undo.o $(x_objs) window.o | |
331 | 320 |
332 #ifdef REL_ALLOC | 321 #ifdef REL_ALLOC |
333 rallocdocsrc = ralloc.c | 322 rallocdocsrc = ralloc.c |
334 rallocobjs = ralloc.o | 323 rallocobjs = ralloc.o |
335 #endif | 324 #endif |
382 # endif /* !(DEC_ALPHA && OSF1) */ | 371 # endif /* !(DEC_ALPHA && OSF1) */ |
383 # endif /* not USG5 */ | 372 # endif /* not USG5 */ |
384 | 373 |
385 # ifdef LWLIB_USES_MOTIF | 374 # ifdef LWLIB_USES_MOTIF |
386 # ifdef EXTW_LINK | 375 # ifdef EXTW_LINK |
387 # define MOTIF_OTHER_FILES libextcli_Xm.a libextcli_Xm.so.1 | 376 motif_other_files = libextcli_Xm.a libextcli_Xm.so.1 |
388 # else | 377 # else |
389 # define MOTIF_OTHER_FILES libextcli_Xm.a | 378 motif_other_files = libextcli_Xm.a |
390 # endif | 379 # endif |
391 # else | |
392 # define MOTIF_OTHER_FILES | |
393 #endif | 380 #endif |
394 | 381 |
395 # ifdef EXTW_LINK | 382 # ifdef EXTW_LINK |
396 # define OTHER_FILES MOTIF_OTHER_FILES \ | 383 shared_other_files = libextcli_Xt.so.1 libextcli_Xlib.so.1 |
397 libextcli_Xt.a libextcli_Xt.so.1 \ | |
398 libextcli_Xlib.a libextcli_Xlib.so.1 | |
399 # else | |
400 # define OTHER_FILES MOTIF_OTHER_FILES \ | |
401 libextcli_Xt.a libextcli_Xlib.a | |
402 # endif | 384 # endif |
385 other_files=\ | |
386 ${motif_other_files}\ | |
387 libextcli_Xt.a libextcli_Xlib.a\ | |
388 ${shared_other_files} | |
403 # endif /* EXTERNAL_WIDGET */ | 389 # endif /* EXTERNAL_WIDGET */ |
404 | 390 |
405 X11_objs = EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o $(external_widget_objs) | 391 X11_objs = EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o $(external_widget_objs) |
406 #endif /* HAVE_X_WINDOWS */ | 392 #endif /* HAVE_X_WINDOWS */ |
407 | 393 |
408 /* define otherobjs as list of object files that make-docfile | 394 /* define otherobjs as list of object files that make-docfile |
409 should not be told about. */ | 395 should not be told about. */ |
410 otherobjs = $(BTL_objs) lastfile.o $(mallocobjs) $(rallocobjs) $(X11_objs) | 396 otherobjs = $(BTL_objs) lastfile.o $(mallocobjs) $(rallocobjs) $(X11_objs) |
411 | 397 |
412 #ifdef LISP_FLOAT_TYPE | 398 #ifdef LISP_FLOAT_TYPE |
413 #define FLOAT_LISP ${lispdir}prim/float-sup.elc | 399 float_lisp = ${lispdir}prim/float-sup.elc |
414 #else | |
415 #define FLOAT_LISP | |
416 #endif | 400 #endif |
417 | 401 |
418 #ifdef HAVE_X_WINDOWS | 402 #ifdef HAVE_X_WINDOWS |
419 /* lisp files preloaded if compiled with support for X Windows */ | 403 /* lisp files preloaded if compiled with support for X Windows */ |
420 # ifdef HAVE_TOOLBARS | 404 # ifdef HAVE_TOOLBARS |
421 # define X11_TOOLBAR_LISP ${lispdir}x11/x-toolbar.elc | 405 x11_toolbar_lisp = ${lispdir}x11/x-toolbar.elc |
422 # else | |
423 # define X11_TOOLBAR_LISP | |
424 # endif | 406 # endif |
425 # ifdef HAVE_MENUBARS | 407 # ifdef HAVE_MENUBARS |
426 # define X11_MENUBAR_LISP ${lispdir}x11/x-menubar.elc | 408 x11_menubar_lisp = ${lispdir}x11/x-menubar.elc |
427 # else | |
428 # define X11_MENUBAR_LISP | |
429 # endif | 409 # endif |
430 # ifdef HAVE_SCROLLBARS | 410 # ifdef HAVE_SCROLLBARS |
431 # define X11_SCROLLBAR_LISP ${lispdir}x11/x-scrollbar.elc | 411 x11_scrollbar_lisp = ${lispdir}x11/x-scrollbar.elc |
432 # else | |
433 # define X11_SCROLLBAR_LISP | |
434 # endif | 412 # endif |
435 #define X11_LISP X11_MENUBAR_LISP \ | 413 x11_lisp=\ |
436 ${lispdir}x11/x-faces.elc \ | 414 ${x11_menubar_lisp}\ |
437 ${lispdir}x11/x-iso8859-1.elc ${lispdir}x11/x-mouse.elc \ | 415 ${lispdir}x11/x-faces.elc\ |
438 ${lispdir}x11/x-select.elc X11_SCROLLBAR_LISP \ | 416 ${lispdir}x11/x-iso8859-1${null}.elc ${lispdir}x11/x-mouse.elc\ |
439 X11_TOOLBAR_LISP ${lispdir}x11/x-misc.elc \ | 417 ${lispdir}x11/x-select.elc ${x11_scrollbar_lisp}\ |
440 ${lispdir}x11/x-init.elc | 418 ${x11_toolbar_lisp} ${lispdir}x11/x-misc.elc\ |
441 #else | 419 ${lispdir}x11/x-init.elc |
442 #define X11_LISP | |
443 #endif | 420 #endif |
444 | 421 |
445 #ifdef HAVE_TTY | 422 #ifdef HAVE_TTY |
446 /* lisp files preloaded if compiled with support for tty */ | 423 /* lisp files preloaded if compiled with support for tty */ |
447 #define TTY_LISP ${lispdir}term/tty-init.elc | 424 tty_lisp = ${lispdir}term/tty-init.elc |
448 #else | |
449 #define TTY_LISP | |
450 #endif | 425 #endif |
451 | 426 |
452 #ifdef MULE | 427 #ifdef MULE |
453 #ifdef HAVE_X_WINDOWS | 428 #ifdef HAVE_X_WINDOWS |
454 # define MULE_X11_LISP ${lispdir}mule/mule-x-init.elc | 429 mule_x11_lisp = ${lispdir}mule/mule-x-init.elc |
430 #endif | |
431 mule_lisp=\ | |
432 ${lispdir}mule/mule-load.elc ${lispdir}mule/mule-coding.elc\ | |
433 ${lispdir}mule/mule-charset.elc ${lispdir}mule/mule-files.elc\ | |
434 ${lispdir}mule/mule-category.elc ${lispdir}mule/mule-misc.elc\ | |
435 ${lispdir}mule/mule-ccl.elc\ | |
436 ${lispdir}mule/mule-init.elc ${lispdir}mule/mule-cmds.elc\ | |
437 ${lispdir}mule/kinsoku.elc\ | |
438 ${mule_x11_lisp}\ | |
439 ${lispdir}mule/arabic-hooks.elc\ | |
440 ${lispdir}mule/chinese-hooks.elc\ | |
441 ${lispdir}mule/cyrillic-hooks.elc\ | |
442 ${lispdir}mule/ethiopic-hooks.elc\ | |
443 ${lispdir}mule/european-hooks.elc\ | |
444 ${lispdir}mule/greek-hooks.elc\ | |
445 ${lispdir}mule/hebrew-hooks.elc\ | |
446 ${lispdir}mule/ipa-hooks.elc\ | |
447 ${lispdir}mule/japanese-hooks.elc\ | |
448 ${lispdir}mule/korean-hooks.elc\ | |
449 ${lispdir}mule/thai-hooks.elc\ | |
450 ${lispdir}mule/vietnamese-hooks-1${null}.elc\ | |
451 ${lispdir}mule/vietnamese-hooks-2${null}.elc | |
455 #else | 452 #else |
456 # define MULE_X11_LISP | 453 nomule_lisp = ${lispdir}prim/files-nomule.elc |
457 #endif | |
458 #define MULE_LISP \ | |
459 ${lispdir}mule/mule-load.elc ${lispdir}mule/mule-coding.elc \ | |
460 ${lispdir}mule/mule-charset.elc ${lispdir}mule/mule-files.elc \ | |
461 ${lispdir}mule/mule-category.elc ${lispdir}mule/mule-misc.elc \ | |
462 ${lispdir}mule/mule-ccl.elc \ | |
463 ${lispdir}mule/mule-init.elc ${lispdir}mule/mule-cmds.elc \ | |
464 ${lispdir}mule/kinsoku.elc \ | |
465 MULE_X11_LISP \ | |
466 ${lispdir}mule/arabic-hooks.elc \ | |
467 ${lispdir}mule/chinese-hooks.elc \ | |
468 ${lispdir}mule/cyrillic-hooks.elc \ | |
469 ${lispdir}mule/ethiopic-hooks.elc \ | |
470 ${lispdir}mule/european-hooks.elc \ | |
471 ${lispdir}mule/greek-hooks.elc \ | |
472 ${lispdir}mule/hebrew-hooks.elc \ | |
473 ${lispdir}mule/ipa-hooks.elc \ | |
474 ${lispdir}mule/japanese-hooks.elc \ | |
475 ${lispdir}mule/korean-hooks.elc \ | |
476 ${lispdir}mule/thai-hooks.elc \ | |
477 ${lispdir}mule/vietnamese-hooks-1.elc \ | |
478 ${lispdir}mule/vietnamese-hooks-2.elc | |
479 | |
480 #define NOMULE_LISP | |
481 #else | |
482 #define MULE_LISP | |
483 #define NOMULE_LISP ${lispdir}prim/files-nomule.elc | |
484 #endif | 454 #endif |
485 | 455 |
486 #ifdef ENERGIZE | 456 #ifdef ENERGIZE |
487 /* Lisp files preloaded if compiled with support for Energize */ | 457 /* Lisp files preloaded if compiled with support for Energize */ |
488 #define ENERGIZE_LISP \ | 458 energize_lisp=\ |
489 ${lispdir}comint/gdb.elc \ | 459 ${lispdir}comint/gdb.elc\ |
490 ${lispdir}comint/comint.elc ${lispdir}comint/shell.elc \ | 460 ${lispdir}comint/comint.elc ${lispdir}comint/shell.elc\ |
491 ${lispdir}utils/ring.elc ${lispdir}packages/compile.elc \ | 461 ${lispdir}utils/ring.elc ${lispdir}packages/compile.elc\ |
492 ${lispdir}modes/view-less.elc ${lispdir}emulators/evi.elc \ | 462 ${lispdir}modes/view-less.elc ${lispdir}emulators/evi.elc\ |
493 ${lispdir}packages/font-lock.elc ${lispdir}packages/fast-lock.elc \ | 463 ${lispdir}packages/font-lock.elc ${lispdir}packages/fast-lock.elc\ |
494 ${lispdir}dired/dired.elc ${lispdir}dired/dired-x.elc \ | 464 ${lispdir}dired/dired.elc ${lispdir}dired/dired-x.elc\ |
495 ${lispdir}dired/dired-lucid.elc ${lispdir}prim/userlock.elc \ | 465 ${lispdir}dired/dired-lucid.elc ${lispdir}prim/userlock.elc\ |
496 ${lispdir}energize/energize-init.elc \ | 466 ${lispdir}energize/energize-init.elc\ |
497 ${lispdir}energize/energize-mode.elc \ | 467 ${lispdir}energize/energize-mode.elc\ |
498 ${lispdir}energize/energize-windows.elc \ | 468 ${lispdir}energize/energize-windows.elc\ |
499 ${lispdir}energize/energize-menus.elc \ | 469 ${lispdir}energize/energize-menus.elc\ |
500 ${lispdir}energize/energize-shell.elc \ | 470 ${lispdir}energize/energize-shell.elc\ |
501 ${lispdir}energize/energize-visit-use.elc \ | 471 ${lispdir}energize/energize-visit-use.elc\ |
502 ${lispdir}energize/energize-vi.elc \ | 472 ${lispdir}energize/energize-vi.elc\ |
503 ${lispdir}energize/energize-font-lock.elc \ | 473 ${lispdir}energize/energize-font-lock.elc\ |
504 ${lispdir}energize/energize-advice.elc | 474 ${lispdir}energize/energize-advice.elc |
505 #else | |
506 #define ENERGIZE_LISP | |
507 #endif | 475 #endif |
508 | 476 |
509 #ifdef SUNPRO | 477 #ifdef SUNPRO |
510 /* Lisp files preloaded if compiled with support for SunPro products */ | 478 /* Lisp files preloaded if compiled with support for SunPro products */ |
511 #define SUNPRO_LISP \ | 479 sunpro_lisp=\ |
512 ${lispdir}sunpro/sunpro-init.elc \ | 480 ${lispdir}sunpro/sunpro-init.elc\ |
513 ${lispdir}sunpro/sunpro-menubar.elc \ | 481 ${lispdir}sunpro/sunpro-menubar.elc\ |
514 ${lispdir}sunpro/sunpro-keys.elc \ | 482 ${lispdir}sunpro/sunpro-keys.elc\ |
515 ${lispdir}eos/sun-eos-init.elc \ | 483 ${lispdir}eos/sun-eos-init.elc\ |
516 ${lispdir}eos/sun-eos-load.elc \ | 484 ${lispdir}eos/sun-eos-load.elc\ |
517 ${lispdir}eos/sun-eos-common.elc \ | 485 ${lispdir}eos/sun-eos-common.elc\ |
518 ${lispdir}eos/sun-eos-editor.elc \ | 486 ${lispdir}eos/sun-eos-editor.elc\ |
519 ${lispdir}eos/sun-eos-browser.elc \ | 487 ${lispdir}eos/sun-eos-browser.elc\ |
520 ${lispdir}eos/sun-eos-debugger.elc \ | 488 ${lispdir}eos/sun-eos-debugger.elc\ |
521 ${lispdir}eos/sun-eos-debugger-extra.elc \ | 489 ${lispdir}eos/sun-eos-debugger-extra.elc\ |
522 ${lispdir}eos/sun-eos-toolbar.elc \ | 490 ${lispdir}eos/sun-eos-toolbar.elc\ |
523 ${lispdir}eos/sun-eos-menubar.elc \ | 491 ${lispdir}eos/sun-eos-menubar.elc\ |
524 ${lispdir}comint/comint.elc \ | 492 ${lispdir}comint/comint.elc\ |
525 ${lispdir}utils/ring.elc \ | 493 ${lispdir}utils/ring.elc\ |
526 ${lispdir}utils/annotations.elc \ | 494 ${lispdir}utils/annotations.elc\ |
527 ${lispdir}modes/cc-mode.elc \ | 495 ${lispdir}modes/cc-mode.elc\ |
528 ${lispdir}modes/imenu.elc \ | 496 ${lispdir}modes/imenu.elc\ |
529 ${lispdir}utils/reporter.elc | 497 ${lispdir}utils/reporter.elc |
530 #else | |
531 #define SUNPRO_LISP | |
532 #endif | 498 #endif |
533 | 499 |
534 #ifdef TOOLTALK | 500 #ifdef TOOLTALK |
535 /* Lisp files preloaded if compiled with support for Tooltalk */ | 501 /* Lisp files preloaded if compiled with support for Tooltalk */ |
536 #define TOOLTALK_LISP \ | 502 tooltalk_lisp=\ |
537 ${lispdir}tooltalk/tooltalk-load.elc \ | 503 ${lispdir}tooltalk/tooltalk-load.elc\ |
538 ${lispdir}tooltalk/tooltalk-macros.elc \ | 504 ${lispdir}tooltalk/tooltalk-macros.elc\ |
539 ${lispdir}tooltalk/tooltalk-util.elc \ | 505 ${lispdir}tooltalk/tooltalk-util.elc\ |
540 ${lispdir}tooltalk/tooltalk-init.elc | 506 ${lispdir}tooltalk/tooltalk-init.elc |
541 #else | |
542 #define TOOLTALK_LISP | |
543 #endif | 507 #endif |
544 | 508 |
545 #ifdef LISP_COMMAND_LOOP | 509 #ifdef LISP_COMMAND_LOOP |
546 #define CMDLOOP_LISP ${lispdir}prim/cmdloop1.elc | 510 cmdloop_lisp = ${lispdir}prim/cmdloop1.elc |
547 #else | |
548 #define CMDLOOP_LISP | |
549 #endif | 511 #endif |
550 | 512 |
551 #ifdef HAVE_TOOLBARS | 513 #ifdef HAVE_TOOLBARS |
552 #define TOOLBAR_LISP ${lispdir}prim/toolbar.elc | 514 toolbar_lisp = ${lispdir}prim/toolbar.elc |
553 #else | |
554 #define TOOLBAR_LISP | |
555 #endif | 515 #endif |
556 #ifdef HAVE_MENUBARS | 516 #ifdef HAVE_MENUBARS |
557 #define MENUBAR_LISP ${lispdir}prim/menubar.elc | 517 menubar_lisp = ${lispdir}prim/menubar.elc |
558 #else | |
559 #define MENUBAR_LISP | |
560 #endif | 518 #endif |
561 #ifdef HAVE_SCROLLBARS | 519 #ifdef HAVE_SCROLLBARS |
562 #define SCROLLBAR_LISP ${lispdir}prim/scrollbar.elc | 520 scrollbar_lisp = ${lispdir}prim/scrollbar.elc |
563 #else | |
564 #define SCROLLBAR_LISP | |
565 #endif | 521 #endif |
566 #ifdef HAVE_DIALOGS | 522 #ifdef HAVE_DIALOGS |
567 #define DIALOG_LISP ${lispdir}prim/dialog.elc | 523 dialog_lisp = ${lispdir}prim/dialog.elc |
568 #else | |
569 #define DIALOG_LISP | |
570 #endif | 524 #endif |
571 #ifdef HAVE_WINDOW_SYSTEM | 525 #ifdef HAVE_WINDOW_SYSTEM |
572 #define MOUSE_LISP \ | 526 mouse_lisp=\ |
573 ${lispdir}prim/gui.elc \ | 527 ${lispdir}prim/gui.elc\ |
574 ${lispdir}prim/mouse.elc \ | 528 ${lispdir}prim/mouse.elc\ |
575 ${lispdir}prim/mode-motion.elc | 529 ${lispdir}prim/mode-motion.elc |
576 #else | |
577 #define MOUSE_LISP | |
578 #endif | 530 #endif |
579 | 531 |
580 /* List of Lisp files loaded into the dumped Emacs. | 532 /* List of Lisp files loaded into the dumped Emacs. |
581 Every file that is loaded from loadup.el must be enumerated | 533 Every file that is loaded from loadup.el must be enumerated |
582 here, or the functions will have no docstrings. | 534 here, or the functions will have no docstrings. |
583 This is dumb - this list should be generated automatically. | 535 This is dumb - this list should be generated automatically. |
584 [Note: "version.el" is included in the doc separately, but is not listed | 536 [Note: "version.el" is included in the doc separately, but is not listed |
585 here because we do not want things to appear to be out-of-date just | 537 here because we do not want things to appear to be out-of-date just |
586 because the version number has been incremented. -- D.N.G. 8/28/93] | 538 because the version number has been incremented. -- D.N.G. 8/28/93] |
587 */ | 539 */ |
588 lisp= ${lispdir}paths.el ${lispdir}prim/featurep.elc \ | 540 lisp=\ |
589 ${lispdir}prim/loaddefs.elc ${lispdir}prim/auto-autoloads.elc \ | 541 ${lispdir}paths.el ${lispdir}prim/featurep.elc\ |
590 ${lispdir}prim/loadup.el ${lispdir}prim/subr.elc \ | 542 ${lispdir}prim/loaddefs.elc ${lispdir}prim/auto-autoloads.elc\ |
591 ${lispdir}prim/cmdloop.elc CMDLOOP_LISP \ | 543 ${lispdir}prim/loadup.el ${lispdir}prim/subr.elc\ |
592 ${lispdir}utils/text-props.elc MOUSE_LISP \ | 544 ${lispdir}prim/cmdloop.elc ${cmdloop_lisp}\ |
593 ${lispdir}prim/keymap.elc ${lispdir}prim/syntax.elc \ | 545 ${lispdir}utils/text-props.elc ${mouse_lisp}\ |
594 ${lispdir}prim/minibuf.elc ${lispdir}prim/faces.elc \ | 546 ${lispdir}prim/keymap.elc ${lispdir}prim/syntax.elc\ |
595 ${lispdir}prim/objects.elc ${lispdir}prim/process.elc \ | 547 ${lispdir}prim/minibuf.elc ${lispdir}prim/faces.elc\ |
596 ${lispdir}prim/keydefs.elc ${lispdir}prim/device.elc \ | 548 ${lispdir}prim/objects.elc ${lispdir}prim/process.elc\ |
597 ${lispdir}prim/obsolete.elc ${lispdir}prim/glyphs.elc \ | 549 ${lispdir}prim/keydefs.elc ${lispdir}prim/device.elc\ |
598 ${lispdir}prim/extents.elc ${lispdir}prim/backquote.elc \ | 550 ${lispdir}prim/obsolete.elc ${lispdir}prim/glyphs.elc\ |
599 ${lispdir}prim/events.elc ${lispdir}prim/console.elc \ | 551 ${lispdir}prim/extents.elc ${lispdir}prim/backquote.elc\ |
600 ${lispdir}utils/map-ynp.elc ${lispdir}prim/modeline.elc \ | 552 ${lispdir}prim/events.elc ${lispdir}prim/console.elc\ |
601 ${lispdir}modes/list-mode.elc \ | 553 ${lispdir}utils/map-ynp.elc ${lispdir}prim/modeline.elc\ |
602 ${lispdir}utils/derived.elc ${lispdir}cl/cl.elc \ | 554 ${lispdir}modes/list-mode.elc\ |
603 ${lispdir}cl/cl-defs.elc ${lispdir}prim/undo-stack.elc \ | 555 ${lispdir}utils/derived.elc ${lispdir}cl/cl.elc\ |
604 ${lispdir}prim/simple.elc ${lispdir}prim/help.elc \ | 556 ${lispdir}cl/cl-defs.elc ${lispdir}prim/undo-stack.elc\ |
605 ${lispdir}prim/files.elc ${lispdir}utils/lib-complete.elc \ | 557 ${lispdir}prim/simple.elc ${lispdir}prim/help.elc\ |
606 ${lispdir}prim/indent.elc ${lispdir}prim/frame.elc \ | 558 ${lispdir}prim/files.elc ${lispdir}utils/lib-complete.elc\ |
607 TOOLBAR_LISP ${lispdir}prim/format.elc \ | 559 ${lispdir}prim/indent.elc ${lispdir}prim/frame.elc\ |
608 ${lispdir}prim/window.elc ${lispdir}prim/window-xemacs.elc \ | 560 ${toolbar_lisp} ${lispdir}prim/format.elc\ |
609 ${lispdir}prim/startup.elc \ | 561 ${lispdir}prim/window.elc ${lispdir}prim/window-xemacs.elc\ |
610 ${lispdir}prim/lisp.elc ${lispdir}prim/page.elc \ | 562 ${lispdir}prim/startup.elc\ |
611 ${lispdir}prim/register.elc ${lispdir}iso/iso8859-1.elc \ | 563 ${lispdir}prim/lisp.elc ${lispdir}prim/page.elc\ |
612 ${lispdir}prim/paragraphs.elc ${lispdir}modes/lisp-mode.elc \ | 564 ${lispdir}prim/register.elc ${lispdir}iso/iso8859-1${null}.elc\ |
613 ${lispdir}modes/text-mode.elc ${lispdir}prim/fill.elc \ | 565 ${lispdir}prim/paragraphs.elc ${lispdir}modes/lisp-mode.elc\ |
614 ${lispdir}prim/isearch-mode.elc ${lispdir}prim/misc.elc \ | 566 ${lispdir}modes/text-mode.elc ${lispdir}prim/fill.elc\ |
615 ${lispdir}packages/vc-hooks.elc \ | 567 ${lispdir}prim/isearch-mode.elc ${lispdir}prim/misc.elc\ |
616 ${lispdir}prim/replace.elc ${lispdir}prim/specifier.elc \ | 568 ${lispdir}packages/vc-hooks.elc\ |
617 ${lispdir}modes/auto-show.elc SUNPRO_LISP TTY_LISP \ | 569 ${lispdir}prim/replace.elc ${lispdir}prim/specifier.elc\ |
618 ${lispdir}bytecomp/bytecomp-runtime.elc FLOAT_LISP \ | 570 ${lispdir}modes/auto-show.elc ${sunpro_lisp} ${tty_lisp}\ |
619 ${lispdir}prim/itimer.elc ${lispdir}prim/itimer-autosave.elc \ | 571 ${lispdir}bytecomp/bytecomp-runtime.elc ${float_lisp}\ |
620 ${lispdir}ediff/ediff-hook.elc \ | 572 ${lispdir}prim/itimer.elc ${lispdir}prim/itimer-autosave.elc\ |
621 ${lispdir}custom/widget.elc ${lispdir}custom/custom.elc \ | 573 ${lispdir}ediff/ediff-hook.elc\ |
622 ${lispdir}prim/cus-start.elc \ | 574 ${lispdir}custom/widget.elc ${lispdir}custom/custom.elc\ |
623 ${lispdir}packages/fontl-hooks.elc SCROLLBAR_LISP \ | 575 ${lispdir}prim/cus-start.elc\ |
624 ${lispdir}prim/buffer.elc MENUBAR_LISP \ | 576 ${lispdir}packages/fontl-hooks.elc ${scrollbar_lisp}\ |
625 ${lispdir}packages/buff-menu.elc DIALOG_LISP MULE_LISP NOMULE_LISP \ | 577 ${lispdir}prim/buffer.elc ${menubar_lisp}\ |
626 ${lispdir}modes/abbrev.elc X11_LISP ENERGIZE_LISP TOOLTALK_LISP | 578 ${lispdir}packages/buff-menu.elc ${dialog_lisp} ${mule_lisp} ${nomule_lisp}\ |
579 ${lispdir}modes/abbrev.elc ${x11_lisp} ${energize_lisp} ${tooltalk_lisp} | |
627 | 580 |
628 /* Other Lisp files that are not dumped out but where it is convenient | 581 /* Other Lisp files that are not dumped out but where it is convenient |
629 (or required?) for them to be byte-compiled early, before xemacs is | 582 (or required?) for them to be byte-compiled early, before xemacs is |
630 dumped out. Avoid listing them in ${lisp} because then the | 583 dumped out. Avoid listing them in ${lisp} because then the |
631 doc-snarfing routines get confused. */ | 584 doc-snarfing routines get confused. */ |
632 otherlisp= ${lispdir}bytecomp/bytecomp.elc \ | 585 otherlisp=\ |
633 ${lispdir}bytecomp/byte-optimize.elc \ | 586 ${lispdir}bytecomp/bytecomp.elc\ |
634 ${lispdir}utils/advice.elc | 587 ${lispdir}bytecomp/byte-optimize.elc\ |
588 ${lispdir}utils/advice.elc | |
635 | 589 |
636 LIBES = $(LWLIB_LIBS) $(quantify_libs) $(ld_libs_all) LIBS_DEBUG $(GNULIB_VAR) | 590 LIBES = $(LWLIB_LIBS) $(quantify_libs) $(ld_libs_all) LIBS_DEBUG $(GNULIB_VAR) |
637 | 591 |
638 /* Enable recompilation of certain other files depending on system type. */ | 592 /* Enable recompilation of certain other files depending on system type. */ |
639 | |
640 #ifndef OTHER_FILES | |
641 #define OTHER_FILES | |
642 #endif | |
643 | 593 |
644 /* Enable inclusion of object files in temacs depending on system type. */ | 594 /* Enable inclusion of object files in temacs depending on system type. */ |
645 #ifndef OBJECTS_SYSTEM | 595 #ifndef OBJECTS_SYSTEM |
646 #define OBJECTS_SYSTEM | 596 #define OBJECTS_SYSTEM |
647 #endif | 597 #endif |
648 | 598 |
649 #ifndef OBJECTS_MACHINE | 599 #ifndef OBJECTS_MACHINE |
650 #define OBJECTS_MACHINE | 600 #define OBJECTS_MACHINE |
651 #endif | 601 #endif |
652 | 602 |
653 all: xemacs OTHER_FILES | 603 all: xemacs ${other_files} |
654 | 604 |
655 #ifdef I18N3 | 605 #ifdef I18N3 |
656 mo_dir = ${etcdir} | 606 mo_dir = ${etcdir} |
657 mo_file = ${mo_dir}emacs.mo | 607 mo_file = ${mo_dir}emacs.mo |
658 #endif | 608 #endif |
659 | 609 |
660 LOADPATH = EMACSLOADPATH="${lispdir}prim" | 610 LOADPATH = EMACSLOADPATH="${lispdir}prim" |
661 DUMPENV = $(LOADPATH) | 611 DUMPENV = $(LOADPATH) |
662 | 612 |
663 release: temacs ${lisp} ${libsrc}DOC $(mo_file) OTHER_FILES | 613 release: temacs ${lisp} ${libsrc}DOC $(mo_file) ${other_files} |
664 #ifdef CANNOT_DUMP | 614 #ifdef CANNOT_DUMP |
665 ln temacs xemacs | 615 ln temacs xemacs |
666 #else | 616 #else |
667 #ifdef HAVE_SHM | 617 #ifdef HAVE_SHM |
668 -if [ -w ${srcdir}/../lisp ]; then \ | 618 -if [ -w ${srcdir}/../lisp ]; then \ |
686 @/bin/rm -f SATISFIED | 636 @/bin/rm -f SATISFIED |
687 #endif /* ! defined (HAVE_SHM) */ | 637 #endif /* ! defined (HAVE_SHM) */ |
688 touch release | 638 touch release |
689 #endif /* ! defined (CANNOT_DUMP) */ | 639 #endif /* ! defined (CANNOT_DUMP) */ |
690 | 640 |
691 xemacs: temacs ${libsrc}DOC ${lisp} $(mo_file) OTHER_FILES | 641 xemacs: temacs ${libsrc}DOC ${lisp} $(mo_file) ${other_files} |
692 @touch SATISFIED | 642 @touch SATISFIED |
693 -$(DUMPENV) ./temacs -batch -l loadup.el dump | 643 -$(DUMPENV) ./temacs -batch -l loadup.el dump |
694 @if [ ! -f SATISFIED ]; then \ | 644 @if [ ! -f SATISFIED ]; then \ |
695 $(MAKE) xemacs; \ | 645 $(MAKE) xemacs; \ |
696 fi | 646 fi |
697 @/bin/rm -f SATISFIED | 647 @/bin/rm -f SATISFIED |
698 | 648 |
699 xemacs-no-site-file: temacs ${libsrc}DOC ${lisp} $(mo_file) OTHER_FILES | 649 xemacs-no-site-file: temacs ${libsrc}DOC ${lisp} $(mo_file) ${other_files} |
700 @touch SATISFIED | 650 @touch SATISFIED |
701 -$(DUMPENV) ./temacs -batch -l loadup.el dump no-site-file | 651 -$(DUMPENV) ./temacs -batch -l loadup.el dump no-site-file |
702 @test ! -f SATISFIED && $(MAKE) xemacs-no-site-file | 652 @test ! -f SATISFIED && $(MAKE) xemacs-no-site-file |
703 @/bin/rm -f SATISFIED | 653 @/bin/rm -f SATISFIED |
704 | 654 |
783 /* Some systems define this to cause parallel Make-ing. */ | 733 /* Some systems define this to cause parallel Make-ing. */ |
784 #ifndef MAKE_PARALLEL | 734 #ifndef MAKE_PARALLEL |
785 #define MAKE_PARALLEL | 735 #define MAKE_PARALLEL |
786 #endif | 736 #endif |
787 | 737 |
788 temacs_deps = \ | 738 temacs_deps=\ |
789 MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) \ | 739 MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES)\ |
790 ${objs} ${otherobjs} OBJECTS_SYSTEM OBJECTS_MACHINE \ | 740 ${objs} ${otherobjs} OBJECTS_SYSTEM OBJECTS_MACHINE\ |
791 $(LWLIB_DEPS) $(dynodump_deps) prefix-args | 741 $(LWLIB_DEPS) $(dynodump_deps) prefix-args |
792 | 742 |
793 temacs_link_args = \ | 743 temacs_link_args=\ |
794 YMF_PASS_LDFLAGS(${STARTFLAGS} ${ldflags} LD_SWITCH_CALL_SHARED) \ | 744 ${STARTFLAGS} ${ldflags} LD_SWITCH_CALL_SHARED\ |
795 -o $@ ${STARTFILES} ${objs} ${otherobjs} \ | 745 -o $@ ${STARTFILES} ${objs} ${otherobjs}\ |
796 OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES} | 746 OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES} |
797 | 747 |
798 temacs_deps: $(temacs_deps) | 748 temacs_deps: $(temacs_deps) |
799 | 749 |
800 temacs: $(temacs_deps) | 750 temacs: $(temacs_deps) |
801 $(LD) $(temacs_link_args) | 751 $(LD) $(temacs_link_args) |
843 pic_arg = -K pic | 793 pic_arg = -K pic |
844 #endif | 794 #endif |
845 | 795 |
846 #ifdef EXTERNAL_WIDGET | 796 #ifdef EXTERNAL_WIDGET |
847 | 797 |
848 # define EXTERNAL_CLIENT_MOTIF_OBJS_SHARED ExternalClient-Xm-shared.o extw-Xt-shared.o extw-Xlib-shared.o | 798 external_client_motif_objs_shared = ExternalClient-Xm-shared.o extw-Xt-shared.o extw-Xlib-shared.o |
849 # define EXTERNAL_CLIENT_XT_OBJS_SHARED ExternalClient-Xt-shared.o extw-Xt-shared.o extw-Xlib-shared.o | 799 external_client_xt_objs_shared = ExternalClient-Xt-shared.o extw-Xt-shared.o extw-Xlib-shared.o |
850 # define EXTERNAL_CLIENT_XLIB_OBJS_SHARED ExternalClient-Xlib-shared.o extw-Xlib-shared.o | 800 external_client_xlib_objs_shared = ExternalClient-Xlib-shared.o extw-Xlib-shared.o |
851 # define EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED ExternalClient-Xm-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o | 801 external_client_motif_objs_nonshared = ExternalClient-Xm-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o |
852 # define EXTERNAL_CLIENT_XT_OBJS_NONSHARED ExternalClient-Xt-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o | 802 external_client_xt_objs_nonshared = ExternalClient-Xt-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o |
853 # define EXTERNAL_CLIENT_XLIB_OBJS_NONSHARED ExternalClient-Xlib-nonshared.o extw-Xlib-nonshared.o | 803 external_client_xlib_objs_nonshared = ExternalClient-Xlib-nonshared.o extw-Xlib-nonshared.o |
854 | 804 |
855 /* Add dependencies so things work right with a parallel make */ | 805 /* Add dependencies so things work right with a parallel make */ |
856 ExternalClient-Xm-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-shared.o ExternalClient-Xm-nonshared.o | 806 ExternalClient-Xm-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-shared.o ExternalClient-Xm-nonshared.o |
857 $(CC) -c $(pic_arg) $(cflags) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c | 807 $(CC) -c $(pic_arg) $(cflags) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c |
858 mv ExternalClient.o ExternalClient-Xm-shared.o | 808 mv ExternalClient.o ExternalClient-Xm-shared.o |
894 | 844 |
895 extw-Xlib-nonshared.o: ${srcdir}/extw-Xlib.c | 845 extw-Xlib-nonshared.o: ${srcdir}/extw-Xlib.c |
896 $(CC) -c $(cflags) ${srcdir}/extw-Xlib.c | 846 $(CC) -c $(cflags) ${srcdir}/extw-Xlib.c |
897 mv extw-Xlib.o extw-Xlib-nonshared.o | 847 mv extw-Xlib.o extw-Xlib-nonshared.o |
898 | 848 |
899 libextcli_Xm.a: EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED | 849 libextcli_Xm.a: ${external_client_motif_objs_nonshared} |
900 ar r libextcli_Xm.a EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED | 850 ar r libextcli_Xm.a ${external_client_motif_objs_nonshared} |
901 | 851 |
902 libextcli_Xt.a: EXTERNAL_CLIENT_XT_OBJS_NONSHARED | 852 libextcli_Xt.a: ${external_client_xt_objs_nonshared} |
903 ar r libextcli_Xt.a EXTERNAL_CLIENT_XT_OBJS_NONSHARED | 853 ar r libextcli_Xt.a ${external_client_xt_objs_nonshared} |
904 | 854 |
905 libextcli_Xlib.a: EXTERNAL_CLIENT_XLIB_OBJS_NONSHARED | 855 libextcli_Xlib.a: ${external_client_xlib_objs_nonshared} |
906 ar r libextcli_Xlib.a EXTERNAL_CLIENT_XLIB_OBJS_NONSHARED | 856 ar r libextcli_Xlib.a ${external_client_xlib_objs_nonshared} |
907 | 857 |
908 #ifdef EXTW_LINK | 858 #ifdef EXTW_LINK |
909 | 859 |
910 libextcli_Xm.so.1: EXTERNAL_CLIENT_MOTIF_OBJS_SHARED | 860 libextcli_Xm.so.1: ${external_client_motif_objs_shared} |
911 EXTW_LINK(EXTERNAL_CLIENT_MOTIF_OBJS_SHARED, libextcli_Xm.so.1) | 861 EXTW_LINK(${external_client_motif_objs_shared}, libextcli_Xm.so.1) |
912 | 862 |
913 libextcli_Xt.so.1: EXTERNAL_CLIENT_XT_OBJS_SHARED | 863 libextcli_Xt.so.1: ${external_client_xt_objs_shared} |
914 EXTW_LINK(EXTERNAL_CLIENT_XT_OBJS_SHARED, libextcli_Xt.so.1) | 864 EXTW_LINK(${external_client_xt_objs_shared}, libextcli_Xt.so.1) |
915 | 865 |
916 libextcli_Xlib.so.1: EXTERNAL_CLIENT_XLIB_OBJS_SHARED | 866 libextcli_Xlib.so.1: ${external_client_xlib_objs_shared} |
917 EXTW_LINK(EXTERNAL_CLIENT_XLIB_OBJS_SHARED, libextcli_Xlib.so.1) | 867 EXTW_LINK(${external_client_xlib_objs_shared}, libextcli_Xlib.so.1) |
918 | 868 |
919 #endif /* EXTW_LINK */ | 869 #endif /* EXTW_LINK */ |
920 | 870 |
921 #endif /* EXTERNAL_WIDGET */ | 871 #endif /* EXTERNAL_WIDGET */ |
922 | 872 |
923 prefix-args: ${srcdir}/prefix-args.c config.h | 873 prefix-args: ${srcdir}/prefix-args.c config.h |
924 $(CC) $(cflags) ${srcdir}/prefix-args.c -o prefix-args | 874 $(CC) $(cflags) ${srcdir}/prefix-args.c -o prefix-args |
925 | |
926 /* These are needed for C compilation, on the systems that need them */ | |
927 #ifdef NEED_CPP | |
928 CPP = ./localcpp | |
929 localcpp: | |
930 cd ${cppdir} && ${MAKE} ${MFLAGS} EMACS=-DEMACS | |
931 ln ${cppdir}cpp localcpp /* Name where cflags will refer to it */ | |
932 /* cc appears to be cretinous and require all of these to exist | |
933 if -B is specified -- we cannot use one local pass and let the | |
934 others be the standard ones. What a loser. | |
935 We cannot even use ln, since they are probably | |
936 on different disks. */ | |
937 cp /lib/ccom localccom | |
938 -cp /lib/optim localoptim | |
939 -cp /lib/c2 localc2 | |
940 cp /bin/as localas | |
941 #else /* ! defined (NEED_CPP) */ | |
942 CPP = $(CC) -E | |
943 #endif /* ! defined (NEED_CPP) */ | |
944 | 875 |
945 #ifdef SHORTNAMES | 876 #ifdef SHORTNAMES |
946 shortnames: | 877 shortnames: |
947 cd ${shortnamesdir} && ${MAKE} ${MFLAGS} | 878 cd ${shortnamesdir} && ${MAKE} ${MFLAGS} |
948 #endif | 879 #endif |
949 | 880 |
950 config.h: ${srcdir}/config.h.in | 881 config.h: ${srcdir}/config.h.in |
951 @echo "The file config.h needs to be set up from config.h.in." | 882 @echo "The file $@ needs to be set up from config.h.in." |
952 @echo "Consult the file \`INSTALL' for instructions for building Emacs." | 883 @echo "Consult the file \`INSTALL' for instructions for building Emacs." |
953 exit 1 | 884 exit 1 |
954 | 885 |
955 puresize_adjust.h: ${srcdir}/puresize.h | 886 puresize_adjust.h: ${srcdir}/puresize.h |
956 @echo "The file puresize_adjust still needs to be generated." | 887 @echo "The file $@ still needs to be generated." |
957 @echo "Please run 'make' from the top-level." | 888 @echo "Please run 'make' from the top-level." |
958 exit 1 | 889 exit 1 |
959 | 890 |
960 paths.h: ${srcdir}/paths.h.in | 891 paths.h: ${srcdir}/paths.h.in |
961 @echo "The file paths.h needs to be set up from paths.h.in." | 892 @echo "The file $@ needs to be set up from paths.h.in." |
962 @echo "Consult the file \`INSTALL' for instructions for building Emacs." | 893 @echo "Consult the file \`INSTALL' for instructions for building Emacs." |
963 exit 1 | 894 exit 1 |
964 | 895 |
965 Emacs.ad.h: ${srcdir}/${etcdir}Emacs.ad | 896 Emacs.ad.h: ${srcdir}/${etcdir}Emacs.ad |
966 @echo "The file Emacs.ad.h needs to be set up from ${srcdir}/${etcdir}Emacs.ad" | 897 @echo "The file $@ needs to be set up from ${srcdir}/${etcdir}Emacs.ad" |
967 @echo "Consult the file \`INSTALL' for instructions for building Emacs." | 898 @echo "Consult the file \`INSTALL' for instructions for building Emacs." |
968 exit 1 | 899 exit 1 |
969 | 900 |
970 /* Some machines have alloca built-in. | 901 /* Some machines have alloca built-in. |
971 They should define HAVE_ALLOCA, or may just let alloca.s | 902 They should define HAVE_ALLOCA, or may just let alloca.s |
1022 hpplay.o: ${srcdir}/hpplay.c | 953 hpplay.o: ${srcdir}/hpplay.c |
1023 $(CC) -c -Demacs $(sound_cflags) $(cflags) $< | 954 $(CC) -c -Demacs $(sound_cflags) $(cflags) $< |
1024 #endif /* HAVE_NATIVE_SOUND */ | 955 #endif /* HAVE_NATIVE_SOUND */ |
1025 | 956 |
1026 /* System-specific programs to be made. | 957 /* System-specific programs to be made. |
1027 OTHER_FILES, OBJECTS_SYSTEM and OBJECTS_MACHINE | 958 ${other_files}, OBJECTS_SYSTEM and OBJECTS_MACHINE |
1028 select which of these should be compiled. */ | 959 select which of these should be compiled. */ |
1029 | 960 |
1030 mostlyclean: | 961 mostlyclean: |
1031 rm -f temacs puremacs quantmacs prefix-args xmakefile* core depend.* \#* *.o | 962 rm -f temacs puremacs quantmacs prefix-args xmakefile* core depend.* \#* *.o |
1032 rm -f ${libsrc}DOC | 963 rm -f ${libsrc}DOC |