diff options
| author | Kenichi Handa | 2011-05-20 09:54:09 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2011-05-20 09:54:09 +0900 |
| commit | e23640bb698b291866717eef3e6b4c444b3fc26a (patch) | |
| tree | a02126245311ef8f18c43ba9400314fdb7e1d54b /src | |
| parent | 31bfc35cca6df0d14f4786a9890f3a01b91cfc4c (diff) | |
| parent | 35fd0881e61b873ae8c7e4dd9b723d5dd2b578c9 (diff) | |
| download | emacs-e23640bb698b291866717eef3e6b4c444b3fc26a.tar.gz emacs-e23640bb698b291866717eef3e6b4c444b3fc26a.zip | |
merge trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 20 | ||||
| -rw-r--r-- | src/Makefile.in | 264 | ||||
| -rw-r--r-- | src/lisp.mk | 160 |
3 files changed, 197 insertions, 247 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 79e5bf677f6..989ecce9d2a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,7 +1,25 @@ | |||
| 1 | 2011-05-20 handa <handa@m17n.org> | 1 | 2011-05-20 Kenichi Handa <handa@m17n.org> |
| 2 | 2 | ||
| 3 | * composite.c (find_automatic_composition): Fix previous change. | 3 | * composite.c (find_automatic_composition): Fix previous change. |
| 4 | 4 | ||
| 5 | 2011-05-20 Glenn Morris <rgm@gnu.org> | ||
| 6 | |||
| 7 | * lisp.mk: New file, split from Makefile.in. | ||
| 8 | * Makefile.in (lisp): Move to separate file, inserted by @lisp_frag@. | ||
| 9 | (shortlisp): Remove. | ||
| 10 | ($(etc)/DOC): Edit lisp.mk rather than using $shortlisp. | ||
| 11 | |||
| 12 | 2011-05-19 Glenn Morris <rgm@gnu.org> | ||
| 13 | |||
| 14 | * Makefile.in (MSDOS_SUPPORT_REAL, MSDOS_SUPPORT, NS_SUPPORT) | ||
| 15 | (REAL_MOUSE_SUPPORT, GPM_MOUSE_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT) | ||
| 16 | (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT, WINDOW_SUPPORT): Remove. | ||
| 17 | (lisp): Set the order to that of loadup.el. | ||
| 18 | (shortlisp): Make it a copy of $lisp. | ||
| 19 | (SOME_MACHINE_LISP): Remove. | ||
| 20 | ($(etc)/DOC): Depend just on $lisp, not $SOME_MACHINE_LISP too. | ||
| 21 | Use just $shortlisp, not $SOME_MACHINE_LISP too. | ||
| 22 | |||
| 5 | 2011-05-18 Kenichi Handa <handa@m17n.org> | 23 | 2011-05-18 Kenichi Handa <handa@m17n.org> |
| 6 | 24 | ||
| 7 | * composite.c (CHAR_COMPOSABLE_P): Add more check for efficiency. | 25 | * composite.c (CHAR_COMPOSABLE_P): Add more check for efficiency. |
diff --git a/src/Makefile.in b/src/Makefile.in index 8b596430cf5..557a6f54748 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -237,18 +237,12 @@ CYGWIN_OBJ=@CYGWIN_OBJ@ | |||
| 237 | MSDOS_OBJ = | 237 | MSDOS_OBJ = |
| 238 | ## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. | 238 | ## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. |
| 239 | MSDOS_X_OBJ = | 239 | MSDOS_X_OBJ = |
| 240 | MSDOS_SUPPORT_REAL = $(lispsource)/ls-lisp.elc $(lispsource)/disp-table.elc \ | ||
| 241 | $(lispsource)/dos-fns.elc $(lispsource)/dos-w32.elc $(lispsource)/dos-vars.elc \ | ||
| 242 | $(lispsource)/term/internal.elc $(lispsource)/term/pc-win.elc | ||
| 243 | ## $MSDOS_SUPPORT_REAL if MSDOS. | ||
| 244 | MSDOS_SUPPORT = | ||
| 245 | 240 | ||
| 246 | ns_appdir=@ns_appdir@ | 241 | ns_appdir=@ns_appdir@ |
| 247 | ns_appbindir=@ns_appbindir@ | 242 | ns_appbindir=@ns_appbindir@ |
| 248 | ns_appsrc=@ns_appsrc@ | 243 | ns_appsrc=@ns_appsrc@ |
| 249 | NS_OBJ=@NS_OBJ@ | 244 | NS_OBJ=@NS_OBJ@ |
| 250 | NS_OBJC_OBJ=@NS_OBJC_OBJ@ | 245 | NS_OBJC_OBJ=@NS_OBJC_OBJ@ |
| 251 | NS_SUPPORT=@NS_SUPPORT@ | ||
| 252 | ## Only set if NS_IMPL_GNUSTEP. | 246 | ## Only set if NS_IMPL_GNUSTEP. |
| 253 | GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ | 247 | GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ |
| 254 | 248 | ||
| @@ -258,28 +252,7 @@ GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ | |||
| 258 | ## else xfont.o | 252 | ## else xfont.o |
| 259 | FONT_OBJ=@FONT_OBJ@ | 253 | FONT_OBJ=@FONT_OBJ@ |
| 260 | 254 | ||
| 261 | ## Used if HAVE_MOUSE. | ||
| 262 | REAL_MOUSE_SUPPORT=$(lispsource)/mouse.elc $(lispsource)/select.elc \ | ||
| 263 | $(lispsource)/scroll-bar.elc | ||
| 264 | ## Used if HAVE_GPM && !HAVE_MOUSE | ||
| 265 | GPM_MOUSE_SUPPORT=$(lispsource)/mouse.elc | ||
| 266 | LIBGPM = @LIBGPM@ | 255 | LIBGPM = @LIBGPM@ |
| 267 | ## Either of the two preceding options, or empty. | ||
| 268 | MOUSE_SUPPORT=@MOUSE_SUPPORT@ | ||
| 269 | |||
| 270 | ## $(lispsource)/tooltip.elc if HAVE_WINDOW_SYSTEM, else empty. | ||
| 271 | TOOLTIP_SUPPORT=@TOOLTIP_SUPPORT@ | ||
| 272 | |||
| 273 | BASE_WINDOW_SUPPORT=$(lispsource)/fringe.elc $(lispsource)/image.elc \ | ||
| 274 | $(lispsource)/international/fontset.elc $(lispsource)/dnd.elc \ | ||
| 275 | $(lispsource)/tool-bar.elc $(lispsource)/mwheel.elc | ||
| 276 | |||
| 277 | X_WINDOW_SUPPORT=$(lispsource)/x-dnd.elc $(lispsource)/term/common-win.elc \ | ||
| 278 | $(lispsource)/term/x-win.elc $(lispsource)/dynamic-setting.elc | ||
| 279 | |||
| 280 | ## If HAVE_X_WINDOWS, both the above | ||
| 281 | ## else if HAVE_WINDOW_SYSTEM (ie, HAVE_NS) just the former; else empty. | ||
| 282 | WINDOW_SUPPORT=@WINDOW_SUPPORT@ | ||
| 283 | 256 | ||
| 284 | ## -lresolv, or empty. | 257 | ## -lresolv, or empty. |
| 285 | LIBRESOLV = @LIBRESOLV@ | 258 | LIBRESOLV = @LIBRESOLV@ |
| @@ -385,215 +358,10 @@ POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ | |||
| 385 | otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ | 358 | otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ |
| 386 | $(POST_ALLOC_OBJ) $(VMLIMIT_OBJ) $(WIDGET_OBJ) $(LIBOBJS) | 359 | $(POST_ALLOC_OBJ) $(VMLIMIT_OBJ) $(WIDGET_OBJ) $(LIBOBJS) |
| 387 | 360 | ||
| 388 | ## This is the platform-specific list of Lisp files loaded into the | 361 | |
| 389 | ## dumped Emacs. It is arranged like this because it is easier to generate | 362 | ## Configure inserts the file lisp.mk at this point, defining $lisp. |
| 390 | ## it semi-mechanically from loadup.el this way. | 363 | @lisp_frag@ |
| 391 | ## | 364 | |
| 392 | ## Note that this list should not include lisp files which might not | ||
| 393 | ## be present, like site-load.el and site-init.el; this makefile | ||
| 394 | ## expects them all to be either present or buildable. | ||
| 395 | ## | ||
| 396 | ## Files which are loaded unconditionally (i.e., on all platforms) should | ||
| 397 | ## also be in shortlisp. Files which are loaded conditionally (i.e., only | ||
| 398 | ## on some platforms) should instead be in SOME_MACHINE_LISP. | ||
| 399 | ## | ||
| 400 | ## Place loaddefs.el first, so it gets generated first, since it is on | ||
| 401 | ## the critical path (relevant in parallel compilations). | ||
| 402 | lisp= \ | ||
| 403 | $(lispsource)/loaddefs.el \ | ||
| 404 | $(lispsource)/abbrev.elc \ | ||
| 405 | $(lispsource)/buff-menu.elc \ | ||
| 406 | $(lispsource)/button.elc \ | ||
| 407 | $(lispsource)/emacs-lisp/byte-run.elc \ | ||
| 408 | $(lispsource)/composite.elc \ | ||
| 409 | $(lispsource)/cus-face.elc \ | ||
| 410 | $(lispsource)/cus-start.elc \ | ||
| 411 | $(lispsource)/custom.elc \ | ||
| 412 | $(lispsource)/emacs-lisp/backquote.elc \ | ||
| 413 | $(lispsource)/emacs-lisp/lisp-mode.elc \ | ||
| 414 | $(lispsource)/emacs-lisp/lisp.elc \ | ||
| 415 | $(lispsource)/env.elc \ | ||
| 416 | $(lispsource)/faces.elc \ | ||
| 417 | $(lispsource)/files.elc \ | ||
| 418 | $(lispsource)/format.elc \ | ||
| 419 | $(lispsource)/facemenu.elc \ | ||
| 420 | $(MOUSE_SUPPORT) \ | ||
| 421 | $(lispsource)/emacs-lisp/float-sup.elc \ | ||
| 422 | $(lispsource)/frame.elc \ | ||
| 423 | $(lispsource)/help.elc \ | ||
| 424 | $(lispsource)/indent.elc \ | ||
| 425 | $(lispsource)/isearch.elc \ | ||
| 426 | $(lispsource)/rfn-eshadow.elc \ | ||
| 427 | $(lispsource)/loadup.el \ | ||
| 428 | $(lispsource)/bindings.elc \ | ||
| 429 | $(lispsource)/emacs-lisp/map-ynp.elc \ | ||
| 430 | $(lispsource)/menu-bar.elc \ | ||
| 431 | $(lispsource)/international/mule.elc \ | ||
| 432 | $(lispsource)/international/mule-conf.elc \ | ||
| 433 | $(lispsource)/international/mule-cmds.elc \ | ||
| 434 | $(lispsource)/international/characters.elc \ | ||
| 435 | $(lispsource)/international/charprop.el \ | ||
| 436 | $(lispsource)/case-table.elc \ | ||
| 437 | $(lispsource)/language/chinese.elc \ | ||
| 438 | $(lispsource)/language/cyrillic.elc \ | ||
| 439 | $(lispsource)/language/indian.elc \ | ||
| 440 | $(lispsource)/language/sinhala.el \ | ||
| 441 | $(lispsource)/language/english.el \ | ||
| 442 | $(lispsource)/language/ethiopic.elc \ | ||
| 443 | $(lispsource)/language/european.elc \ | ||
| 444 | $(lispsource)/language/czech.el \ | ||
| 445 | $(lispsource)/language/slovak.el \ | ||
| 446 | $(lispsource)/language/romanian.el \ | ||
| 447 | $(lispsource)/language/greek.el \ | ||
| 448 | $(lispsource)/language/hebrew.elc \ | ||
| 449 | $(lispsource)/language/japanese.el \ | ||
| 450 | $(lispsource)/language/korean.el \ | ||
| 451 | $(lispsource)/language/lao.el \ | ||
| 452 | $(lispsource)/language/cham.el \ | ||
| 453 | $(lispsource)/language/tai-viet.el \ | ||
| 454 | $(lispsource)/language/thai.el \ | ||
| 455 | $(lispsource)/language/tibetan.elc \ | ||
| 456 | $(lispsource)/language/vietnamese.elc \ | ||
| 457 | $(lispsource)/language/misc-lang.el \ | ||
| 458 | $(lispsource)/language/utf-8-lang.el \ | ||
| 459 | $(lispsource)/language/georgian.el \ | ||
| 460 | $(lispsource)/language/khmer.el \ | ||
| 461 | $(lispsource)/language/burmese.el \ | ||
| 462 | $(lispsource)/paths.el \ | ||
| 463 | $(lispsource)/register.elc \ | ||
| 464 | $(lispsource)/replace.elc \ | ||
| 465 | $(lispsource)/simple.elc \ | ||
| 466 | $(lispsource)/minibuffer.elc \ | ||
| 467 | $(lispsource)/startup.elc \ | ||
| 468 | $(lispsource)/subr.elc \ | ||
| 469 | $(lispsource)/term/tty-colors.elc \ | ||
| 470 | $(lispsource)/font-core.elc \ | ||
| 471 | $(lispsource)/emacs-lisp/syntax.elc \ | ||
| 472 | $(lispsource)/font-lock.elc \ | ||
| 473 | $(lispsource)/jit-lock.elc \ | ||
| 474 | $(lispsource)/textmodes/fill.elc \ | ||
| 475 | $(lispsource)/textmodes/page.elc \ | ||
| 476 | $(lispsource)/textmodes/paragraphs.elc \ | ||
| 477 | $(lispsource)/textmodes/text-mode.elc \ | ||
| 478 | $(lispsource)/emacs-lisp/timer.elc \ | ||
| 479 | $(lispsource)/jka-cmpr-hook.elc \ | ||
| 480 | $(lispsource)/vc/vc-hooks.elc \ | ||
| 481 | $(lispsource)/vc/ediff-hook.elc \ | ||
| 482 | $(lispsource)/epa-hook.elc \ | ||
| 483 | $(TOOLTIP_SUPPORT) \ | ||
| 484 | $(MSDOS_SUPPORT) \ | ||
| 485 | $(WINDOW_SUPPORT) \ | ||
| 486 | $(NS_SUPPORT) \ | ||
| 487 | $(lispsource)/widget.elc \ | ||
| 488 | $(lispsource)/window.elc \ | ||
| 489 | $(lispsource)/version.el | ||
| 490 | |||
| 491 | ## List of relative names for those files from $lisp that are loaded | ||
| 492 | ## unconditionally (i.e. on all platforms). Files from $lisp that | ||
| 493 | ## are only loaded on some platforms should instead be placed in | ||
| 494 | ## SOME_MACHINE_LISP. The only reason this variable exists is to prevent | ||
| 495 | ## the make-docfile command-line getting too long for some systems. | ||
| 496 | shortlisp= \ | ||
| 497 | ../lisp/loaddefs.el \ | ||
| 498 | ../lisp/abbrev.elc \ | ||
| 499 | ../lisp/buff-menu.elc \ | ||
| 500 | ../lisp/button.elc \ | ||
| 501 | ../lisp/emacs-lisp/byte-run.elc \ | ||
| 502 | ../lisp/composite.elc \ | ||
| 503 | ../lisp/cus-face.elc \ | ||
| 504 | ../lisp/cus-start.elc \ | ||
| 505 | ../lisp/custom.elc \ | ||
| 506 | ../lisp/emacs-lisp/backquote.elc \ | ||
| 507 | ../lisp/emacs-lisp/lisp-mode.elc \ | ||
| 508 | ../lisp/emacs-lisp/lisp.elc \ | ||
| 509 | ../lisp/facemenu.elc \ | ||
| 510 | ../lisp/faces.elc \ | ||
| 511 | ../lisp/files.elc \ | ||
| 512 | ../lisp/emacs-lisp/float-sup.elc \ | ||
| 513 | ../lisp/format.elc \ | ||
| 514 | ../lisp/frame.elc \ | ||
| 515 | ../lisp/help.elc \ | ||
| 516 | ../lisp/indent.elc \ | ||
| 517 | ../lisp/isearch.elc \ | ||
| 518 | ../lisp/rfn-eshadow.elc \ | ||
| 519 | ../lisp/loadup.el \ | ||
| 520 | ../lisp/bindings.elc \ | ||
| 521 | ../lisp/emacs-lisp/map-ynp.elc \ | ||
| 522 | ../lisp/env.elc \ | ||
| 523 | ../lisp/international/mule.elc \ | ||
| 524 | ../lisp/international/mule-conf.elc \ | ||
| 525 | ../lisp/international/mule-cmds.elc \ | ||
| 526 | ../lisp/international/characters.elc \ | ||
| 527 | ../lisp/case-table.elc \ | ||
| 528 | ../lisp/language/chinese.elc \ | ||
| 529 | ../lisp/language/cyrillic.elc \ | ||
| 530 | ../lisp/language/indian.elc \ | ||
| 531 | ../lisp/language/sinhala.el \ | ||
| 532 | ../lisp/language/english.el \ | ||
| 533 | ../lisp/language/ethiopic.elc \ | ||
| 534 | ../lisp/language/european.elc \ | ||
| 535 | ../lisp/language/czech.el \ | ||
| 536 | ../lisp/language/slovak.el \ | ||
| 537 | ../lisp/language/romanian.el \ | ||
| 538 | ../lisp/language/greek.el \ | ||
| 539 | ../lisp/language/hebrew.elc \ | ||
| 540 | ../lisp/language/japanese.el \ | ||
| 541 | ../lisp/language/korean.el \ | ||
| 542 | ../lisp/language/lao.el \ | ||
| 543 | ../lisp/language/cham.el \ | ||
| 544 | ../lisp/language/tai-viet.el \ | ||
| 545 | ../lisp/language/thai.el \ | ||
| 546 | ../lisp/language/tibetan.elc \ | ||
| 547 | ../lisp/language/vietnamese.elc \ | ||
| 548 | ../lisp/language/misc-lang.el \ | ||
| 549 | ../lisp/language/utf-8-lang.el \ | ||
| 550 | ../lisp/language/georgian.el \ | ||
| 551 | ../lisp/language/khmer.el \ | ||
| 552 | ../lisp/language/burmese.el \ | ||
| 553 | ../lisp/menu-bar.elc \ | ||
| 554 | ../lisp/paths.el \ | ||
| 555 | ../lisp/register.elc \ | ||
| 556 | ../lisp/replace.elc \ | ||
| 557 | ../lisp/simple.elc \ | ||
| 558 | ../lisp/minibuffer.elc \ | ||
| 559 | ../lisp/startup.elc \ | ||
| 560 | ../lisp/subr.elc \ | ||
| 561 | ../lisp/term/tty-colors.elc \ | ||
| 562 | ../lisp/font-core.elc \ | ||
| 563 | ../lisp/emacs-lisp/syntax.elc \ | ||
| 564 | ../lisp/font-lock.elc \ | ||
| 565 | ../lisp/jit-lock.elc \ | ||
| 566 | ../lisp/textmodes/fill.elc \ | ||
| 567 | ../lisp/textmodes/page.elc \ | ||
| 568 | ../lisp/textmodes/paragraphs.elc \ | ||
| 569 | ../lisp/textmodes/text-mode.elc \ | ||
| 570 | ../lisp/emacs-lisp/timer.elc \ | ||
| 571 | ../lisp/vc/vc-hooks.elc \ | ||
| 572 | ../lisp/vc/ediff-hook.elc \ | ||
| 573 | ../lisp/jka-cmpr-hook.elc \ | ||
| 574 | ../lisp/epa-hook.elc \ | ||
| 575 | ../lisp/widget.elc \ | ||
| 576 | ../lisp/window.elc \ | ||
| 577 | ../lisp/version.el | ||
| 578 | |||
| 579 | ## Like $shortlisp, but includes only those files from $lisp that are loaded | ||
| 580 | ## conditionally (i.e., only on some platforms). | ||
| 581 | ## Confusingly, term/internal is not in loadup, but is unconditionally | ||
| 582 | ## loaded by pc-win, which is. | ||
| 583 | SOME_MACHINE_LISP = ../lisp/mouse.elc \ | ||
| 584 | ../lisp/select.elc ../lisp/scroll-bar.elc \ | ||
| 585 | ../lisp/ls-lisp.elc ../lisp/dos-fns.elc \ | ||
| 586 | ../lisp/w32-fns.elc ../lisp/dos-w32.elc \ | ||
| 587 | ../lisp/disp-table.elc ../lisp/dos-vars.elc ../lisp/w32-vars.elc \ | ||
| 588 | ../lisp/tooltip.elc ../lisp/image.elc \ | ||
| 589 | ../lisp/fringe.elc ../lisp/dnd.elc \ | ||
| 590 | ../lisp/mwheel.elc ../lisp/tool-bar.elc \ | ||
| 591 | ../lisp/x-dnd.elc ../lisp/dynamic-setting.elc \ | ||
| 592 | ../lisp/international/fontset.elc \ | ||
| 593 | ../lisp/term/common-win.elc \ | ||
| 594 | ../lisp/term/x-win.elc \ | ||
| 595 | ../lisp/term/pc-win.elc ../lisp/term/internal.elc \ | ||
| 596 | ../lisp/term/ns-win.elc ../lisp/term/w32-win.elc | ||
| 597 | 365 | ||
| 598 | ## Construct full set of libraries to be linked. | 366 | ## Construct full set of libraries to be linked. |
| 599 | ## Note that SunOS needs -lm to come before -lc; otherwise, you get | 367 | ## Note that SunOS needs -lm to come before -lc; otherwise, you get |
| @@ -612,6 +380,9 @@ all: emacs$(EXEEXT) $(OTHER_FILES) | |||
| 612 | ## Does anyone ever pay attention to the load-path-shadows output here? | 380 | ## Does anyone ever pay attention to the load-path-shadows output here? |
| 613 | ## The dumped Emacs is as functional and more efficient than | 381 | ## The dumped Emacs is as functional and more efficient than |
| 614 | ## bootstrap-emacs, so we replace the latter with the former. | 382 | ## bootstrap-emacs, so we replace the latter with the former. |
| 383 | ## Strictly speaking, emacs does not depend directly on all of $lisp, | ||
| 384 | ## since not all pieces are used on all platforms. But DOC depends | ||
| 385 | ## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here. | ||
| 615 | emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) | 386 | emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) |
| 616 | if test "$(CANNOT_DUMP)" = "yes"; then \ | 387 | if test "$(CANNOT_DUMP)" = "yes"; then \ |
| 617 | ln -f temacs$(EXEEXT) emacs$(EXEEXT); \ | 388 | ln -f temacs$(EXEEXT) emacs$(EXEEXT); \ |
| @@ -624,22 +395,23 @@ emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) | |||
| 624 | fi | 395 | fi |
| 625 | 396 | ||
| 626 | ## We run make-docfile twice because the command line may get too long | 397 | ## We run make-docfile twice because the command line may get too long |
| 627 | ## on some systems. | 398 | ## on some systems. The sed command operating on lisp.mk also reduces |
| 399 | ## the length of the command line. Unfortunately, no-one has any idea | ||
| 400 | ## exactly how long the maximum safe command line length is on all the | ||
| 401 | ## various systems that Emacs supports. Obviously, the length depends | ||
| 402 | ## on what your value of $srcdir is. If the length restriction goes | ||
| 403 | ## away, lisp.mk can be merged back into this file. | ||
| 404 | ## | ||
| 628 | ## $(SOME_MACHINE_OBJECTS) comes before $(obj) because some files may | 405 | ## $(SOME_MACHINE_OBJECTS) comes before $(obj) because some files may |
| 629 | ## or may not be included in $(obj), but they are always included in | 406 | ## or may not be included in $(obj), but they are always included in |
| 630 | ## $(SOME_MACHINE_OBJECTS). Since a file is processed when it is mentioned | 407 | ## $(SOME_MACHINE_OBJECTS). Since a file is processed when it is mentioned |
| 631 | ## for the first time, this prevents any variation between configurations | 408 | ## for the first time, this prevents any variation between configurations |
| 632 | ## in the contents of the DOC file. | 409 | ## in the contents of the DOC file. |
| 633 | ## Likewise for $(SOME_MACHINE_LISP). | 410 | ## |
| 634 | ## Most of this Makefile refers to Lisp files via $(lispsource), so | 411 | $(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp) |
| 635 | ## we also use $(lisp) rather than $(shortlisp) for the dependency since | ||
| 636 | ## the Makefile uses string equality to decide when we talk about identical | ||
| 637 | ## files. Apparently we pass $(shortlisp) rather than $(lisp) to make-docfile | ||
| 638 | ## only in order to reduce the command line length. --Stef | ||
| 639 | $(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp) $(SOME_MACHINE_LISP) | ||
| 640 | -rm -f $(etc)/DOC | 412 | -rm -f $(etc)/DOC |
| 641 | $(libsrc)/make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)/DOC | 413 | $(libsrc)/make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)/DOC |
| 642 | $(libsrc)/make-docfile -a $(etc)/DOC -d $(srcdir) $(SOME_MACHINE_LISP) $(shortlisp) | 414 | $(libsrc)/make-docfile -a $(etc)/DOC -d $(srcdir) `sed -n -e 's| \\\\||' -e 's|^[ ]*$$(lispsource)|../lisp|p' $(srcdir)/lisp.mk` |
| 643 | 415 | ||
| 644 | $(libsrc)/make-docfile$(EXEEXT): | 416 | $(libsrc)/make-docfile$(EXEEXT): |
| 645 | cd $(libsrc); $(MAKE) $(MFLAGS) make-docfile$(EXEEXT) | 417 | cd $(libsrc); $(MAKE) $(MFLAGS) make-docfile$(EXEEXT) |
| @@ -797,7 +569,7 @@ tags: TAGS TAGS-LISP $(lwlibdir)/TAGS | |||
| 797 | THEFILE=$< EMACS=$(bootstrap_exe) | 569 | THEFILE=$< EMACS=$(bootstrap_exe) |
| 798 | 570 | ||
| 799 | ## Since the .el.elc rule cannot specify an extra dependency, we do it here. | 571 | ## Since the .el.elc rule cannot specify an extra dependency, we do it here. |
| 800 | $(lisp) $(SOME_MACHINE_LISP): $(BOOTSTRAPEMACS) | 572 | $(lisp): $(BOOTSTRAPEMACS) |
| 801 | 573 | ||
| 802 | ## VCSWITNESS points to the file that holds info about the current checkout. | 574 | ## VCSWITNESS points to the file that holds info about the current checkout. |
| 803 | ## We use it as a heuristic to decide when to rebuild loaddefs.el. | 575 | ## We use it as a heuristic to decide when to rebuild loaddefs.el. |
diff --git a/src/lisp.mk b/src/lisp.mk new file mode 100644 index 00000000000..68748b27f28 --- /dev/null +++ b/src/lisp.mk | |||
| @@ -0,0 +1,160 @@ | |||
| 1 | ### lisp.mk --- src/Makefile fragment for GNU Emacs | ||
| 2 | |||
| 3 | ## Copyright (C) 1985, 1987-1988, 1993-1995, 1999-2011 | ||
| 4 | ## Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | ## This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | ## GNU Emacs is free software: you can redistribute it and/or modify | ||
| 9 | ## it under the terms of the GNU General Public License as published by | ||
| 10 | ## the Free Software Foundation, either version 3 of the License, or | ||
| 11 | ## (at your option) any later version. | ||
| 12 | |||
| 13 | ## GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | ## GNU General Public License for more details. | ||
| 17 | |||
| 18 | ## You should have received a copy of the GNU General Public License | ||
| 19 | ## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | |||
| 21 | ### Commentary: | ||
| 22 | |||
| 23 | ## This is the list of all Lisp files that might be loaded into the | ||
| 24 | ## dumped Emacs. Some of them are not loaded on all platforms, but | ||
| 25 | ## the DOC file on every platform uses them (because the DOC file is | ||
| 26 | ## supposed to be platform-independent). | ||
| 27 | ## It is arranged like this because it is easier to generate it | ||
| 28 | ## semi-mechanically from loadup.el this way. | ||
| 29 | ## Eg something like: | ||
| 30 | ## sed -e 's/"[ )].*//' -n -e '/(load "/ s/.*load "//p' loadup.el | \ | ||
| 31 | ## grep -vE 'site-|ldefs-boot' | ||
| 32 | ## minus any duplicates. | ||
| 33 | ## Note that you cannot just add a ".elc" extension to every file, | ||
| 34 | ## since some of them are no-byte-compile (eg some language/ ones). | ||
| 35 | |||
| 36 | ## Confusingly, term/internal is not in loadup, but is unconditionally | ||
| 37 | ## loaded by pc-win, which is. | ||
| 38 | |||
| 39 | ## Note that this list should not include lisp files which might not | ||
| 40 | ## be present, like site-load.el and site-init.el; this makefile | ||
| 41 | ## expects them all to be either present or buildable. | ||
| 42 | |||
| 43 | ## Place loaddefs.el first, so it gets generated first, since it is on | ||
| 44 | ## the critical path (relevant in parallel compilations). | ||
| 45 | |||
| 46 | ### Code: | ||
| 47 | |||
| 48 | ## NB: This list is parsed by sed in the main src/Makefile. | ||
| 49 | ## Do not change the formatting. | ||
| 50 | lisp = \ | ||
| 51 | $(lispsource)/loaddefs.el \ | ||
| 52 | $(lispsource)/loadup.el \ | ||
| 53 | $(lispsource)/emacs-lisp/byte-run.elc \ | ||
| 54 | $(lispsource)/emacs-lisp/backquote.elc \ | ||
| 55 | $(lispsource)/subr.elc \ | ||
| 56 | $(lispsource)/version.el \ | ||
| 57 | $(lispsource)/widget.elc \ | ||
| 58 | $(lispsource)/custom.elc \ | ||
| 59 | $(lispsource)/emacs-lisp/map-ynp.elc \ | ||
| 60 | $(lispsource)/cus-start.elc \ | ||
| 61 | $(lispsource)/international/mule.elc \ | ||
| 62 | $(lispsource)/international/mule-conf.elc \ | ||
| 63 | $(lispsource)/env.elc \ | ||
| 64 | $(lispsource)/format.elc \ | ||
| 65 | $(lispsource)/bindings.elc \ | ||
| 66 | $(lispsource)/files.elc \ | ||
| 67 | $(lispsource)/cus-face.elc \ | ||
| 68 | $(lispsource)/faces.elc \ | ||
| 69 | $(lispsource)/button.elc \ | ||
| 70 | $(lispsource)/startup.elc \ | ||
| 71 | $(lispsource)/minibuffer.elc \ | ||
| 72 | $(lispsource)/abbrev.elc \ | ||
| 73 | $(lispsource)/simple.elc \ | ||
| 74 | $(lispsource)/help.elc \ | ||
| 75 | $(lispsource)/jka-cmpr-hook.elc \ | ||
| 76 | $(lispsource)/epa-hook.elc \ | ||
| 77 | $(lispsource)/international/mule-cmds.elc \ | ||
| 78 | $(lispsource)/case-table.elc \ | ||
| 79 | $(lispsource)/international/characters.elc \ | ||
| 80 | $(lispsource)/composite.elc \ | ||
| 81 | $(lispsource)/international/charprop.el \ | ||
| 82 | $(lispsource)/language/chinese.elc \ | ||
| 83 | $(lispsource)/language/cyrillic.elc \ | ||
| 84 | $(lispsource)/language/indian.elc \ | ||
| 85 | $(lispsource)/language/sinhala.el \ | ||
| 86 | $(lispsource)/language/english.el \ | ||
| 87 | $(lispsource)/language/ethiopic.elc \ | ||
| 88 | $(lispsource)/language/european.elc \ | ||
| 89 | $(lispsource)/language/czech.el \ | ||
| 90 | $(lispsource)/language/slovak.el \ | ||
| 91 | $(lispsource)/language/romanian.el \ | ||
| 92 | $(lispsource)/language/greek.el \ | ||
| 93 | $(lispsource)/language/hebrew.elc \ | ||
| 94 | $(lispsource)/language/japanese.el \ | ||
| 95 | $(lispsource)/language/korean.el \ | ||
| 96 | $(lispsource)/language/lao.el \ | ||
| 97 | $(lispsource)/language/tai-viet.el \ | ||
| 98 | $(lispsource)/language/thai.el \ | ||
| 99 | $(lispsource)/language/tibetan.elc \ | ||
| 100 | $(lispsource)/language/vietnamese.elc \ | ||
| 101 | $(lispsource)/language/misc-lang.el \ | ||
| 102 | $(lispsource)/language/utf-8-lang.el \ | ||
| 103 | $(lispsource)/language/georgian.el \ | ||
| 104 | $(lispsource)/language/khmer.el \ | ||
| 105 | $(lispsource)/language/burmese.el \ | ||
| 106 | $(lispsource)/language/cham.el \ | ||
| 107 | $(lispsource)/indent.elc \ | ||
| 108 | $(lispsource)/window.elc \ | ||
| 109 | $(lispsource)/frame.elc \ | ||
| 110 | $(lispsource)/term/tty-colors.elc \ | ||
| 111 | $(lispsource)/font-core.elc \ | ||
| 112 | $(lispsource)/facemenu.elc \ | ||
| 113 | $(lispsource)/emacs-lisp/syntax.elc \ | ||
| 114 | $(lispsource)/font-lock.elc \ | ||
| 115 | $(lispsource)/jit-lock.elc \ | ||
| 116 | $(lispsource)/mouse.elc \ | ||
| 117 | $(lispsource)/scroll-bar.elc \ | ||
| 118 | $(lispsource)/select.elc \ | ||
| 119 | $(lispsource)/emacs-lisp/timer.elc \ | ||
| 120 | $(lispsource)/isearch.elc \ | ||
| 121 | $(lispsource)/rfn-eshadow.elc \ | ||
| 122 | $(lispsource)/menu-bar.elc \ | ||
| 123 | $(lispsource)/paths.el \ | ||
| 124 | $(lispsource)/emacs-lisp/lisp.elc \ | ||
| 125 | $(lispsource)/textmodes/page.elc \ | ||
| 126 | $(lispsource)/register.elc \ | ||
| 127 | $(lispsource)/textmodes/paragraphs.elc \ | ||
| 128 | $(lispsource)/emacs-lisp/lisp-mode.elc \ | ||
| 129 | $(lispsource)/textmodes/text-mode.elc \ | ||
| 130 | $(lispsource)/textmodes/fill.elc \ | ||
| 131 | $(lispsource)/replace.elc \ | ||
| 132 | $(lispsource)/buff-menu.elc \ | ||
| 133 | $(lispsource)/fringe.elc \ | ||
| 134 | $(lispsource)/image.elc \ | ||
| 135 | $(lispsource)/international/fontset.elc \ | ||
| 136 | $(lispsource)/dnd.elc \ | ||
| 137 | $(lispsource)/tool-bar.elc \ | ||
| 138 | $(lispsource)/dynamic-setting.elc \ | ||
| 139 | $(lispsource)/x-dnd.elc \ | ||
| 140 | $(lispsource)/term/common-win.elc \ | ||
| 141 | $(lispsource)/term/x-win.elc \ | ||
| 142 | $(lispsource)/w32-vars.elc \ | ||
| 143 | $(lispsource)/term/w32-win.elc \ | ||
| 144 | $(lispsource)/ls-lisp.elc \ | ||
| 145 | $(lispsource)/disp-table.elc \ | ||
| 146 | $(lispsource)/dos-w32.elc \ | ||
| 147 | $(lispsource)/w32-fns.elc \ | ||
| 148 | $(lispsource)/dos-fns.elc \ | ||
| 149 | $(lispsource)/dos-vars.elc \ | ||
| 150 | $(lispsource)/term/pc-win.elc \ | ||
| 151 | $(lispsource)/term/internal.elc \ | ||
| 152 | $(lispsource)/term/ns-win.elc \ | ||
| 153 | $(lispsource)/mwheel.elc \ | ||
| 154 | $(lispsource)/emacs-lisp/float-sup.elc \ | ||
| 155 | $(lispsource)/vc/vc-hooks.elc \ | ||
| 156 | $(lispsource)/vc/ediff-hook.elc \ | ||
| 157 | $(lispsource)/tooltip.elc | ||
| 158 | |||
| 159 | |||
| 160 | ### lisp.mk ends here | ||