aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-08-13 17:42:35 +0000
committerdos-reis <gdr@axiomatics.org>2008-08-13 17:42:35 +0000
commit22e34c3f799e43cba446af4bae3b5557df74b0e7 (patch)
tree73a283aaa8c6bf30d49bbf26b44b44b2769bfea4 /config
parentcd4b966f39550403099a0abf1e993af1e7e79139 (diff)
downloadopen-axiom-22e34c3f799e43cba446af4bae3b5557df74b0e7.tar.gz
* lisp/core.lisp.in (LINKSET-FROM): New.
(SYSTEM-SUBDIRECTORY): Likewise. (LINKSET-FROM-IF): Likewise. (COMPLETE-FASL-LIST-FOR-LINK): Use it. (getPrologue): New. (link): Take an additional optional parameter for prologue. Tidy. (makeHandler): Adjust. * lisp/Makefile.in: Use LNKEXT where appropriate. (oa_base_lisp_linkset): New. ($(oa_target_lispdir)/core.$(LNKEXT)): New rule. (base-lisp$(EXEEXT)): Now depends on $(oa_base_lisp_linkset). (mostlyclean-local): Remove $(oa_target_lispdir) too. * boot/Makefile.in: Use LNKEXT instead of FASLEXT. (boot_objects_extra): Remove. (oa_target_bootdir): New. (oa_boot_linkset): Likewise. (stamp): Require $(oa_boot_linkset). ($(oa_target_bootdir)/%.$(LNKEXT)): New rule. (strap/bootsys$(EXEEXT)): Add prologue code. (stage1/bootsys$(EXEEXT)): Likewise. (stage2/bootsys$(EXEEXT)): Likewise. (mostlyclean-local): Remove $(oa_target_bootdir) too.
Diffstat (limited to 'config')
-rw-r--r--config/var-def.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/var-def.mk b/config/var-def.mk
index a32bccac..194a427a 100644
--- a/config/var-def.mk
+++ b/config/var-def.mk
@@ -233,6 +233,15 @@ AXIOM_LISP = @AXIOM_LISP@
# Extension of the output file name returned by compile-file
FASLEXT = @axiom_fasl_type@
+# Extension of compiled FASLs appropriate for linking into executable
+# programs. For most Lisp systems, it is the same as FASLEXT because
+# they build programs by dumping images.
+ifeq (@axiom_lisp_flavor@,ecl)
+LNKEXT = $(OBJEXT)
+else
+LNKEXT = $(FASLEXT)
+endif
+
##
AXIOMXLROOT=${AXIOM}/compiler