diff options
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 03dd881897c..e951c4f5a71 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -108,6 +108,8 @@ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |||
| 108 | am__v_at_0 = @ | 108 | am__v_at_0 = @ |
| 109 | am__v_at_1 = | 109 | am__v_at_1 = |
| 110 | 110 | ||
| 111 | HAVE_NATIVE_COMP = @HAVE_NATIVE_COMP@ | ||
| 112 | |||
| 111 | # ==================== Where To Install Things ==================== | 113 | # ==================== Where To Install Things ==================== |
| 112 | 114 | ||
| 113 | # Location to install Emacs.app under GNUstep / macOS. | 115 | # Location to install Emacs.app under GNUstep / macOS. |
| @@ -330,6 +332,8 @@ CONFIG_STATUS_FILES_IN = \ | |||
| 330 | COPYDIR = ${srcdir}/etc ${srcdir}/lisp | 332 | COPYDIR = ${srcdir}/etc ${srcdir}/lisp |
| 331 | COPYDESTS = "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}" | 333 | COPYDESTS = "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}" |
| 332 | 334 | ||
| 335 | ELN_DESTDIR = "$(DESTDIR)${libexecdir}/emacs/${version}/${configuration}/" | ||
| 336 | |||
| 333 | all: ${SUBDIR} info | 337 | all: ${SUBDIR} info |
| 334 | 338 | ||
| 335 | .PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 etc-emacsver | 339 | .PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 etc-emacsver |
| @@ -423,11 +427,12 @@ VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate)) | |||
| 423 | src: Makefile | 427 | src: Makefile |
| 424 | ifeq (${ns_self_contained},no) | 428 | ifeq (${ns_self_contained},no) |
| 425 | $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='$(DESTDIR)${bindir}/' \ | 429 | $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='$(DESTDIR)${bindir}/' \ |
| 426 | LISP_DESTDIR='$(DESTDIR)${lispdir}/' all | 430 | ELN_DESTDIR='$(ELN_DESTDIR)' all |
| 427 | else | 431 | else |
| 428 | $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='${ns_appbindir}/' \ | 432 | $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='${ns_appbindir}/' \ |
| 429 | LISP_DESTDIR='$(DESTDIR)${lispdir}/' all | 433 | ELN_DESTDIR='$(ELN_DESTDIR)' all |
| 430 | endif | 434 | endif |
| 435 | |||
| 431 | blessmail: Makefile src | 436 | blessmail: Makefile src |
| 432 | $(MAKE) -C lib-src maybe-blessmail | 437 | $(MAKE) -C lib-src maybe-blessmail |
| 433 | 438 | ||
| @@ -466,14 +471,14 @@ $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/m4/*.m4 | |||
| 466 | # ==================== Installation ==================== | 471 | # ==================== Installation ==================== |
| 467 | 472 | ||
| 468 | .PHONY: install install-arch-dep install-arch-indep install-etcdoc install-info | 473 | .PHONY: install install-arch-dep install-arch-indep install-etcdoc install-info |
| 469 | .PHONY: install-man install-etc install-strip install-$(NTDIR) | 474 | .PHONY: install-man install-etc install-strip install-$(NTDIR) install-eln |
| 470 | .PHONY: uninstall uninstall-$(NTDIR) | 475 | .PHONY: uninstall uninstall-$(NTDIR) |
| 471 | 476 | ||
| 472 | ## If we let lib-src do its own installation, that means we | 477 | ## If we let lib-src do its own installation, that means we |
| 473 | ## don't have to duplicate the list of utilities to install in | 478 | ## don't have to duplicate the list of utilities to install in |
| 474 | ## this Makefile as well. | 479 | ## this Makefile as well. |
| 475 | 480 | ||
| 476 | install: all install-arch-indep install-etcdoc install-arch-dep install-$(NTDIR) blessmail | 481 | install: all install-arch-indep install-etcdoc install-arch-dep install-$(NTDIR) blessmail install-eln |
| 477 | @true | 482 | @true |
| 478 | 483 | ||
| 479 | ## Ensure that $subdir contains a subdirs.el file. | 484 | ## Ensure that $subdir contains a subdirs.el file. |
| @@ -757,6 +762,12 @@ install-etc: | |||
| 757 | done ; \ | 762 | done ; \ |
| 758 | done | 763 | done |
| 759 | 764 | ||
| 765 | ### Install native compiled Lisp files. | ||
| 766 | install-eln: | ||
| 767 | ifeq ($(HAVE_NATIVE_COMP),yes) | ||
| 768 | find eln-cache -type f -exec ${INSTALL_DATA} -D "{}" "$(ELN_DESTDIR){}" \; | ||
| 769 | endif | ||
| 770 | |||
| 760 | ### Build Emacs and install it, stripping binaries while installing them. | 771 | ### Build Emacs and install it, stripping binaries while installing them. |
| 761 | install-strip: | 772 | install-strip: |
| 762 | $(MAKE) INSTALL_STRIP=-s install | 773 | $(MAKE) INSTALL_STRIP=-s install |
| @@ -867,6 +878,7 @@ clean: $(clean_dirs:=_clean) | |||
| 867 | [ ! -d test ] || $(MAKE) -C test $@ | 878 | [ ! -d test ] || $(MAKE) -C test $@ |
| 868 | -rm -f ./*.tmp etc/*.tmp* | 879 | -rm -f ./*.tmp etc/*.tmp* |
| 869 | -rm -rf info-dir.* | 880 | -rm -rf info-dir.* |
| 881 | -rm -rf eln-cache | ||
| 870 | 882 | ||
| 871 | ### 'bootclean' | 883 | ### 'bootclean' |
| 872 | ### Delete all files that need to be remade for a clean bootstrap. | 884 | ### Delete all files that need to be remade for a clean bootstrap. |