diff options
Diffstat (limited to 'src/interp/Makefile.pamphlet')
-rw-r--r-- | src/interp/Makefile.pamphlet | 70 |
1 files changed, 25 insertions, 45 deletions
diff --git a/src/interp/Makefile.pamphlet b/src/interp/Makefile.pamphlet index eac7db36..ccc23091 100644 --- a/src/interp/Makefile.pamphlet +++ b/src/interp/Makefile.pamphlet @@ -940,11 +940,12 @@ ${DEPSYS}: vmlisp.$(FASLEXT) \ postprop.$(FASLEXT)\ def.$(FASLEXT) \ fnewmeta.$(FASLEXT) \ - g-error.clisp \ - g-boot.clisp c-util.${LISP} \ + g-error.$(FASLEXT) \ + g-boot.$(FASLEXT) \ + c-util.$(FASLEXT) \ g-util.$(FASLEXT) \ - clam.clisp \ - slam.clisp + clam.$(FASLEXT) \ + slam.$(FASLEXT) @ echo 3 making ${DEPSYS} @ rm -f makedep.lisp @ $(mkinstalldirs) $(axiom_build_bindir) @@ -973,20 +974,13 @@ ${DEPSYS}: vmlisp.$(FASLEXT) \ @ echo '(|importModule| "bootlex")' >> makedep.lisp @ echo '(|importModule| "postprop")' >> makedep.lisp @ echo '(|importModule| "postpar")' >> makedep.lisp - @ echo '(unless (probe-file "clam.$(FASLEXT)") (|compileLispFile| "clam.clisp" "clam.$(FASLEXT)"))' >> makedep.lisp - @ echo '(load "clam")' >> makedep.lisp - @ echo '(unless (probe-file "slam.$(FASLEXT)") (|compileLispFile| "slam.clisp" "slam.$(FASLEXT)"))' >> makedep.lisp - @ echo '(load "slam")' >> makedep.lisp - @ echo '(unless (probe-file "g-error.$(FASLEXT)") (|compileLispFile| "g-error.clisp" "g-error.$(FASLEXT)"))' >> makedep.lisp - @ echo '(load "g-error")' >> makedep.lisp - @ echo '(unless (probe-file "g-boot.$(FASLEXT)") (|compileLispFile| "g-boot.clisp" "g-boot.$(FASLEXT)"))' >> makedep.lisp - @ echo '(load "g-boot")' >> makedep.lisp - @ echo '(unless (probe-file "c-util.$(FASLEXT)") (|compileLispFile| "c-util.${LISP}" "c-util.$(FASLEXT)"))' >> makedep.lisp - @ echo '(load "c-util")' >> makedep.lisp + @ echo '(|importModule| "clam")' >> makedep.lisp + @ echo '(|importModule| "slam")' >> makedep.lisp + @ echo '(|importModule| "g-error")' >> makedep.lisp + @ echo '(|importModule| "g-boot")' >> makedep.lisp + @ echo '(|importModule| "c-util")' >> makedep.lisp @ echo '(|importModule| "g-util")' >> makedep.lisp <<save depsys image>> - @rm $(addsuffix .$(FASLEXT), \ - clam slam g-error g-boot c-util) @ echo 4 ${DEPSYS} created @@ -1097,32 +1091,6 @@ fortcall.clisp: fortcall.boot @ -\subsection{c-util.boot \cite{42}} - -Note that the {\bf c-util.boot.pamphlet} file contains both the -original {\bf boot} code and a saved copy of the {\bf c-util.clisp} -code. We need to keep the translated code around so we can bootstrap -the system. In other words, we need this boot code translated so we -can build the boot translator. - -{\bf NOTE WELL: IF YOU CHANGE THE BOOT CODE IN C-UTIL.BOOT.PAMPHLET -YOU MUST TRANSLATE THIS CODE TO LISP AND STORE THE RESULTING LISP -CODE BACK INTO THE C-UTIL.BOOT.PAMPHLET FILE. THIS IS NOT AUTOMATED.} -<<c-util.lisp (OUT from IN)>>= -c-util.${LISP}: $(srcdir)/c-util.boot.pamphlet - @ echo 146 making c-util.${LISP} from $(srcdir)/c-util.boot.pamphlet - @ rm -f c-util.$(FASLEXT) - $(axiom_build_document) --tangle=c-util.clisp --output=$@ $< - -@ -<<c-util.clisp>>= -c-util.clisp: c-util.boot - @ echo 148 making $@ from $< - @ echo '(progn (old-boot::boot "c-util.boot"))' | ${DEPSYS} - -@ - - \subsection{category.boot \cite{58}} <<category.clisp>>= @@ -1765,12 +1733,27 @@ dq.$(FASLEXT): dq.boot boot-pkg.$(FASLEXT) ## General support and utilities. +slam.$(FASLEXT): slam.boot g-timer.$(FASLEXT) + $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< + +clam.$(FASLEXT): clam.boot g-timer.$(FASLEXT) + $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< + g-opt.$(FASLEXT): g-opt.boot def.$(FASLEXT) $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< g-timer.$(FASLEXT): g-timer.boot macros.$(FASLEXT) g-util.$(FASLEXT) $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< +g-boot.$(FASLEXT): g-boot.boot def.$(FASLEXT) g-util.$(FASLEXT) + $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< + +g-error.$(FASLEXT): g-error.boot diagnostics.$(FASLEXT) g-util.$(FASLEXT) + $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< + +c-util.$(FASLEXT): c-util.boot g-util.$(FASLEXT) + $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< + g-util.$(FASLEXT): g-util.boot macros.$(FASLEXT) $(BOOTSYS) -- --compile --boot="old" --output=$@ --load-directory=. $< @@ -1836,9 +1819,6 @@ boot-pkg.$(FASLEXT): boot-pkg.lisp <<compiler.clisp>> -<<c-util.lisp (OUT from IN)>> -<<c-util.clisp>> - <<database.clisp>> <<define.clisp>> |