diff options
| author | jave | 2014-12-31 12:24:10 +0100 |
|---|---|---|
| committer | jave | 2014-12-31 12:24:10 +0100 |
| commit | baba9e039136e183e055169ddd7ca1e983fc734f (patch) | |
| tree | 9168fb077980351a25ea3a112f2abd105a11099a /src/Makefile.in | |
| parent | 4105b6a93047045553e10795742a808b805c85b7 (diff) | |
| parent | 25346768fac53687c97c213fb99ff18fa805b073 (diff) | |
| download | emacs-baba9e039136e183e055169ddd7ca1e983fc734f.tar.gz emacs-baba9e039136e183e055169ddd7ca1e983fc734f.zip | |
merge upstream
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 930cca3566c..0ea453005ff 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -114,6 +114,8 @@ TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS) | |||
| 114 | ## around this, newer ones setfattr. See Bug#11398 and Bug#16343. | 114 | ## around this, newer ones setfattr. See Bug#11398 and Bug#16343. |
| 115 | PAXCTL = @PAXCTL@ | 115 | PAXCTL = @PAXCTL@ |
| 116 | SETFATTR = @SETFATTR@ | 116 | SETFATTR = @SETFATTR@ |
| 117 | PAXCTL_if_present = $(or $(PAXCTL),: paxctl) | ||
| 118 | SETFATTR_if_present = $(or $(SETFATTR),: setfattr) | ||
| 117 | 119 | ||
| 118 | ## Some systems define this to request special libraries. | 120 | ## Some systems define this to request special libraries. |
| 119 | LIBS_SYSTEM=@LIBS_SYSTEM@ | 121 | LIBS_SYSTEM=@LIBS_SYSTEM@ |
| @@ -459,17 +461,13 @@ $(srcdir)/macuvs.h $(lispsource)/international/charprop.el: \ | |||
| 459 | emacs$(EXEEXT): temacs$(EXEEXT) \ | 461 | emacs$(EXEEXT): temacs$(EXEEXT) \ |
| 460 | $(etc)/DOC $(lisp) $(leimdir)/leim-list.el \ | 462 | $(etc)/DOC $(lisp) $(leimdir)/leim-list.el \ |
| 461 | $(lispsource)/international/charprop.el | 463 | $(lispsource)/international/charprop.el |
| 462 | if test "$(CANNOT_DUMP)" = "yes"; then \ | 464 | ifeq ($(CANNOT_DUMP),yes) |
| 463 | rm -f emacs$(EXEEXT); \ | 465 | ln -f temacs$(EXEEXT) $@ |
| 464 | ln temacs$(EXEEXT) emacs$(EXEEXT); \ | 466 | else |
| 465 | else \ | 467 | LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump |
| 466 | LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump || exit 1; \ | 468 | $(PAXCTL_if_present) -zex $@ |
| 467 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ | 469 | ln -f $@ bootstrap-emacs$(EXEEXT) |
| 468 | while test -f bootstrap-emacs$(EXEEXT); do \ | 470 | endif |
| 469 | rm -f bootstrap-emacs$(EXEEXT); \ | ||
| 470 | done; \ | ||
| 471 | ln emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | ||
| 472 | fi | ||
| 473 | 471 | ||
| 474 | ## We run make-docfile twice because the command line may get too long | 472 | ## We run make-docfile twice because the command line may get too long |
| 475 | ## on some systems. The sed command operating on lisp.mk also reduces | 473 | ## on some systems. The sed command operating on lisp.mk also reduces |
| @@ -527,10 +525,10 @@ temacs$(EXEEXT): $(LIBXMENU) $(ALLOBJS) \ | |||
| 527 | $(AM_V_CCLD)$(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \ | 525 | $(AM_V_CCLD)$(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \ |
| 528 | -o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES) | 526 | -o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES) |
| 529 | $(MKDIR_P) $(etc) | 527 | $(MKDIR_P) $(etc) |
| 530 | test "$(CANNOT_DUMP)" = "yes" || \ | 528 | ifneq ($(CANNOT_DUMP),yes) |
| 531 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) | 529 | $(PAXCTL_if_present) -r $@ |
| 532 | test "$(CANNOT_DUMP)" = "yes" || test -z "$(SETFATTR)" || \ | 530 | $(SETFATTR_if_present) -n user.pax.flags -v er $@ |
| 533 | $(SETFATTR) -n user.pax.flags -v er $@ | 531 | endif |
| 534 | 532 | ||
| 535 | ## The following oldxmenu-related rules are only (possibly) used if | 533 | ## The following oldxmenu-related rules are only (possibly) used if |
| 536 | ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them. | 534 | ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them. |
| @@ -662,14 +660,13 @@ $(lispsource)/loaddefs.el: $(VCSWITNESS) | bootstrap-emacs$(EXEEXT) | |||
| 662 | ## files from loadup.el in source form. | 660 | ## files from loadup.el in source form. |
| 663 | bootstrap-emacs$(EXEEXT): temacs$(EXEEXT) | 661 | bootstrap-emacs$(EXEEXT): temacs$(EXEEXT) |
| 664 | $(MAKE) -C ../lisp update-subdirs | 662 | $(MAKE) -C ../lisp update-subdirs |
| 665 | if test "$(CANNOT_DUMP)" = "yes"; then \ | 663 | ifeq ($(CANNOT_DUMP),yes) |
| 666 | rm -f bootstrap-emacs$(EXEEXT); \ | 664 | ln -f temacs$(EXEEXT) $@ |
| 667 | ln temacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | 665 | else |
| 668 | else \ | 666 | $(RUN_TEMACS) --batch --load loadup bootstrap |
| 669 | $(RUN_TEMACS) --batch --load loadup bootstrap || exit 1; \ | 667 | $(PAXCTL_if_present) -zex emacs$(EXEEXT) |
| 670 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ | 668 | mv -f emacs$(EXEEXT) $@ |
| 671 | mv -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | 669 | endif |
| 672 | fi | ||
| 673 | @: Compile some files earlier to speed up further compilation. | 670 | @: Compile some files earlier to speed up further compilation. |
| 674 | $(MAKE) -C ../lisp compile-first EMACS="$(bootstrap_exe)" | 671 | $(MAKE) -C ../lisp compile-first EMACS="$(bootstrap_exe)" |
| 675 | 672 | ||