diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index c29c3750e59..9bc53c072ea 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -872,6 +872,11 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln) | |||
| 872 | ## native-lisp where the *.eln files will be produced, and the exact | 872 | ## native-lisp where the *.eln files will be produced, and the exact |
| 873 | ## names of those *.eln files, cannot be known in advance; we must ask | 873 | ## names of those *.eln files, cannot be known in advance; we must ask |
| 874 | ## Emacs to produce them. | 874 | ## Emacs to produce them. |
| 875 | ## If AOT native compilation is requested, we additionally | ||
| 876 | ## native-compile all the *.el files in ../lisp that need to be | ||
| 877 | ## compiled and haven't yet been compiled. ELDONE holds the list | ||
| 878 | ## of *.el files that were already native-compiled. | ||
| 879 | NATIVE_COMPILATION_AOT = @NATIVE_COMPILATION_AOT@ | ||
| 875 | ../native-lisp: | $(pdmp) | 880 | ../native-lisp: | $(pdmp) |
| 876 | @if test ! -d $@; then \ | 881 | @if test ! -d $@; then \ |
| 877 | mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \ | 882 | mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \ |
| @@ -882,6 +887,9 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln) | |||
| 882 | --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \ | 887 | --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \ |
| 883 | && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \ | 888 | && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \ |
| 884 | && cp -f $(pdmp) $(bootstrap_pdmp); \ | 889 | && cp -f $(pdmp) $(bootstrap_pdmp); \ |
| 890 | if test $(NATIVE_COMPILATION_AOT) = yes; then \ | ||
| 891 | $(MAKE) $(AM_V_NO_PD) -C ../lisp compile-eln-aot EMACS="../src/emacs$(EXEEXT)" ELNDONE="$(addprefix %,$(notdir $(elnlisp))))"; \ | ||
| 892 | fi; \ | ||
| 885 | fi | 893 | fi |
| 886 | endif | 894 | endif |
| 887 | 895 | ||