aboutsummaryrefslogtreecommitdiff
path: root/src/interp/Makefile.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-19 20:47:19 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-19 20:47:19 +0000
commit85858b85b1fcf9f115ab3286f6e3c9cbf06cbb3d (patch)
tree3c474dd5251d9d75b6e41b2816cca75f229cc0aa /src/interp/Makefile.pamphlet
parent4fd69a22c915b6287fb7fc1dc6e8eb450bad0702 (diff)
downloadopen-axiom-85858b85b1fcf9f115ab3286f6e3c9cbf06cbb3d.tar.gz
* boot-pkg.lisp: New.
* Makefile.pamphlet (${DEPSYS}): Depend on it (parsing.$(FASLEXT)): Likewise. (bookvol5.$(FASLEXT)): Likewise. (nocompil.$(FASLEXT)): Likewise. (bootfuns.$(FASLEXT)): Likewise. (boot-pkg.$(FASLEXT)): New rule. (boot-pkg.lisp): New rule; work around GCL+VPATH voodoo. (VPATH): Clear. * Makefile.in: Regenerate. * bootfuns.lisp.pamphlet: Don't define package "BOOT" here. Import "boot-pkg". (|printLoadMessages|): Move to setvart.boot.pamphlet. Move special functions to boot-pkg.lisp. Move get-current-directory to daase.lisp.pamphlet. * setvart.boot.pamphlet (printLoadMessages): Move from bootfuns.lisp.pamphlet. Write as Boot code. * daase.lisp.pamphlet (get-current-directory): Move from bootfuns.lisp.pamphlet
Diffstat (limited to 'src/interp/Makefile.pamphlet')
-rw-r--r--src/interp/Makefile.pamphlet25
1 files changed, 21 insertions, 4 deletions
diff --git a/src/interp/Makefile.pamphlet b/src/interp/Makefile.pamphlet
index 1785de68..e20283fe 100644
--- a/src/interp/Makefile.pamphlet
+++ b/src/interp/Makefile.pamphlet
@@ -983,11 +983,15 @@ depsys_objects = nocompil.$(FASLEXT) bookvol5.$(FASLEXT) g-error.$(FASLEXT) \
fnewmeta.$(FASLEXT) clam.$(FASLEXT) \
slam.$(FASLEXT) g-boot.$(FASLEXT) c-util.$(FASLEXT) \
g-util.$(FASLEXT)
+VPATH =
+
+
${DEPSYS}: vmlisp.$(FASLEXT) \
hash.$(FASLEXT) \
ggreater.$(FASLEXT) \
union.$(FASLEXT) \
+ boot-pkg.$(FASLEXT) \
bootfuns.$(FASLEXT) \
${DEP} \
nocompil.$(FASLEXT) \
@@ -1059,16 +1063,19 @@ ${DEPSYS}: vmlisp.$(FASLEXT) \
util.$(FASLEXT): util.lisp parsing.$(FASLEXT)
$(BOOTSYS) -- --compile --output=$@ --load-directory=. $<
-parsing.$(FASLEXT): parsing.lisp bootfuns.$(FASLEXT)
+parsing.$(FASLEXT): parsing.lisp boot-pkg.$(FASLEXT)
+ $(BOOTSYS) -- --compile --output=$@ --load-directory=. $<
+
+bookvol5.$(FASLEXT): bookvol5.lisp boot-pkg.$(FASLEXT)
$(BOOTSYS) -- --compile --output=$@ --load-directory=. $<
-bookvol5.$(FASLEXT): bookvol5.lisp bootfuns.$(FASLEXT)
+nocompil.$(FASLEXT): nocompil.lisp boot-pkg.$(FASLEXT)
$(BOOTSYS) -- --compile --output=$@ --load-directory=. $<
-nocompil.$(FASLEXT): nocompil.lisp bootfuns.$(FASLEXT)
+bootfuns.$(FASLEXT): bootfuns.lisp hash.$(FASLEXT) boot-pkg.$(FASLEXT)
$(BOOTSYS) -- --compile --output=$@ --load-directory=. $<
-bootfuns.$(FASLEXT): bootfuns.lisp hash.$(FASLEXT)
+boot-pkg.$(FASLEXT): boot-pkg.lisp vmlisp.$(FASLEXT)
$(BOOTSYS) -- --compile --output=$@ --load-directory=. $<
hash.$(FASLEXT): hash.lisp vmlisp.$(FASLEXT)
@@ -1083,6 +1090,16 @@ ggreater.$(FASLEXT): ggreater.lisp vmlisp.$(FASLEXT)
vmlisp.$(FASLEXT): vmlisp.lisp
$(BOOTSYS) -- --compile --output=$@ $<
+
+## GCL-2.6.8pre has the following behaviour that it will
+## try to forcefully put the compiled code in the same directory
+## as the source. This is hardly what we want, especially when
+## the source file reside in non-writeable areas. Consequently,
+## we copy the source file to the current working directory --
+## until we find a better way to convince GCL to do the right thing.
+boot-pkg.lisp: $(srcdir)/boot-pkg.lisp
+ cp $< $@
+
@
\section{Building SAVESYS and AXIOMSYS}