diff options
| author | Andrea Corallo | 2022-10-11 21:17:55 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2022-10-11 21:19:21 +0200 |
| commit | 37447209042e174f4e95c8d0166418d2aef018ed (patch) | |
| tree | 19d01aa53747137f14bb59337ef89339db0cd46f /Makefile.in | |
| parent | 61b6da5acef2d550022c664e628346539ba1852f (diff) | |
| download | emacs-37447209042e174f4e95c8d0166418d2aef018ed.tar.gz emacs-37447209042e174f4e95c8d0166418d2aef018ed.zip | |
Add trampoline AOT compilation target (bug#58318)
* Makefile.in (trampolines): New target.
* lisp/Makefile.in (trampolines): Likewise.
* lisp/emacs-lisp/comp.el (comp-compile-all-trampolines): New
function.
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 741a4c5538a..2d617e2294d 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -530,6 +530,11 @@ lisp: src | |||
| 530 | lib lib-src lisp nt: Makefile | 530 | lib lib-src lisp nt: Makefile |
| 531 | $(MAKE) -C $@ all | 531 | $(MAKE) -C $@ all |
| 532 | 532 | ||
| 533 | trampolines: src lisp | ||
| 534 | ifeq ($(HAVE_NATIVE_COMP),yes) | ||
| 535 | $(MAKE) -C lisp trampolines | ||
| 536 | endif | ||
| 537 | |||
| 533 | # Pass an unexpanded $srcdir to src's Makefile, which then | 538 | # Pass an unexpanded $srcdir to src's Makefile, which then |
| 534 | # expands it using its own value of srcdir (which points to the | 539 | # expands it using its own value of srcdir (which points to the |
| 535 | # source directory of src/). | 540 | # source directory of src/). |