aboutsummaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-08-20 22:13:31 +0000
committerdos-reis <gdr@axiomatics.org>2008-08-20 22:13:31 +0000
commit6511f77b63b9a74b65ac7e3d8f1a3f053970cb75 (patch)
tree3fd5a052bce84ad9e4be19b546c34f6a23ba8cc9 /src/boot
parent1f8dd2c2a72ad4ae908ca199bcaa066caf5c409d (diff)
downloadopen-axiom-6511f77b63b9a74b65ac7e3d8f1a3f053970cb75.tar.gz
* boot/Makefile.in (oa_boot_linkset): Tidy.
($(oa_boot_linkset)): New Make rule. * lisp/Makefile.in (oa_base_lisp_linkset): Tidy. ($(oa_base_lisp_linkset)): New Make rule. * lisp/core.lisp.in (linkset-from): Read the linkset from the file.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/boot/Makefile.in b/src/boot/Makefile.in
index ab05adca..c6fad676 100644
--- a/src/boot/Makefile.in
+++ b/src/boot/Makefile.in
@@ -60,8 +60,7 @@ boot_objects = initial-env.$(LNKEXT) $(boot_sources:.boot=.$(LNKEXT))
oa_target_bootdir = $(axiom_targetdir)/boot
ifeq (@axiom_lisp_flavor@,ecl)
-oa_boot_linkset = \
- $(addprefix $(oa_target_bootdir)/, $(boot_objects))
+oa_boot_linkset = $(oa_target_bootdir)/linkset
else
oa_boot_linkset =
endif
@@ -88,6 +87,10 @@ $(axiom_target_bindir)/bootsys$(EXEEXT): stage2/bootsys$(EXEEXT)
$(mkdir_p) $(axiom_target_bindir)
cp -p $< $@
+$(oa_boot_linkset): $(addprefix $(oa_target_bootdir)/, $(boot_objects))
+ rm -f $@
+ echo '($(patsubst %, "%", $(boot_objects)))' > $@
+
$(oa_target_bootdir)/%.$(LNKEXT): stage2/%.$(LNKEXT) $(oa_target_bootdir)
cp $< $@