summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2022-10-11 21:17:55 +0200
committerAndrea Corallo <andrea.corallo@arm.com>2022-10-11 21:19:21 +0200
commit37447209042e174f4e95c8d0166418d2aef018ed (patch)
tree19d01aa53747137f14bb59337ef89339db0cd46f /Makefile.in
parent61b6da5acef2d550022c664e628346539ba1852f (diff)
downloademacs-37447209042e174f4e95c8d0166418d2aef018ed.tar.gz
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.in5
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
lib lib-src lisp nt: Makefile
$(MAKE) -C $@ all
+trampolines: src lisp
+ifeq ($(HAVE_NATIVE_COMP),yes)
+ $(MAKE) -C lisp trampolines
+endif
+
# Pass an unexpanded $srcdir to src's Makefile, which then
# expands it using its own value of srcdir (which points to the
# source directory of src/).