aboutsummaryrefslogtreecommitdiff
path: root/src/boot/Makefile.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-09-10 21:11:42 +0000
committerdos-reis <gdr@axiomatics.org>2007-09-10 21:11:42 +0000
commit4c3b04a147779490fe4d0550eed178a8e5abda4c (patch)
tree9c1ebfce25691db2e8b88362b0f318227d67305f /src/boot/Makefile.pamphlet
parentace797d13576e2ae0b3ab9096f3433a531819ee0 (diff)
downloadopen-axiom-4c3b04a147779490fe4d0550eed178a8e5abda4c.tar.gz
* Makefile.pamphlet (stage0/%.$(FASLEXT)): Remove.
(stage1/%.$(FASLEXT)): Likewise. (stage2/%.$(FASLEXT)): Likewise. (%/tokens.$(FASLEXT)): Tidy. (%/includer.$(FASLEXT)): Likewise. (%/scanner.$(FASLEXT)): Likewise. (%/pile.$(FASLEXT)): Likewise. (%/ast.$(FASLEXT)): Likewise. (%/parser.$(FASLEXT)): Likewise. (mostlyclean-local): Don't remove $(AXIOM_LOCAL_LISP). * Makefile.in: Regenerate.
Diffstat (limited to 'src/boot/Makefile.pamphlet')
-rw-r--r--src/boot/Makefile.pamphlet37
1 files changed, 16 insertions, 21 deletions
diff --git a/src/boot/Makefile.pamphlet b/src/boot/Makefile.pamphlet
index 531a4e6f..d4e26ccc 100644
--- a/src/boot/Makefile.pamphlet
+++ b/src/boot/Makefile.pamphlet
@@ -1310,21 +1310,29 @@ compilation of these files proceeds in two steps:
## FIXME: This should be automatically extracted from the
## Boot source file at packaging time.
-%/tokens.($FASLEXT): %/initial-env.$(FASLEXT)
+%/tokens.$(FASLEXT): %/tokens.clisp %/initial-env.$(FASLEXT)
+ $(AXIOM_LOCAL_LISP) -- --compile --load-directory=$* $<
-%/includer.$(FASLEXT): %/tokens.$(FASLEXT)
+%/includer.$(FASLEXT): %/includer.clisp %/tokens.$(FASLEXT)
+ $(AXIOM_LOCAL_LISP) -- --compile --load-directory=$* $<
-%/scanner.$(FASLEXT): %/tokens.$(FASLEXT) %/includer.$(FASLEXT)
+%/scanner.$(FASLEXT): %/scanner.clisp %/tokens.$(FASLEXT) %/includer.$(FASLEXT)
+ $(AXIOM_LOCAL_LISP) -- --compile --load-directory=$* $<
-%/pile.$(FASLEXT): %/scanner.$(FASLEXT) %/includer.$(FASLEXT)
+%/pile.$(FASLEXT): %/pile.clisp %/scanner.$(FASLEXT) %/includer.$(FASLEXT)
+ $(AXIOM_LOCAL_LISP) -- --compile --load-directory=$* $<
-%/ast.$(FASLEXT): %/includer.$(FASLEXT)
+%/ast.$(FASLEXT): %/ast.clisp %/includer.$(FASLEXT)
+ $(AXIOM_LOCAL_LISP) -- --compile --load-directory=$* $<
-%/parser.$(FASLEXT): %/ast.$(FASLEXT) %/scanner.$(FASLEXT) %/includer.$(FASLEXT)
+%/parser.$(FASLEXT): %/parser.clisp %/ast.$(FASLEXT) %/scanner.$(FASLEXT) \
+ %/includer.$(FASLEXT)
+ $(AXIOM_LOCAL_LISP) -- --compile --load-directory=$* $<
-%/translator.$(FASLEXT): %/parser.$(FASLEXT) %/ast.$(FASLEXT) \
- %/pile.$(FASLEXT) %/scanner.$(FASLEXT) \
+%/translator.$(FASLEXT): %/translator.clisp %/parser.$(FASLEXT) \
+ %/ast.$(FASLEXT) %/pile.$(FASLEXT) %/scanner.$(FASLEXT) \
%/includer.$(FASLEXT)
+ $(AXIOM_LOCAL_LISP) -- --compile --load-directory=$* $<
<<boot from pamphlet>>
@
@@ -1402,10 +1410,6 @@ stage0/bootsys$(EXEEXT): $(stage0_boot_objects)
$(stage0_boot_objects): $(AXIOM_LOCAL_LISP)
-stage0/%.$(FASLEXT): stage0/%.clisp
- $(AXIOM_LOCAL_LISP) -- --compile \
- --load-directory=stage0 --output=$@ $<
-
stage0/%.clisp: $(srcdir)/%.boot.pamphlet stage0/.started
$(axiom_build_document) --tangle=$*.clisp --output=$@ $<
@@ -1429,10 +1433,6 @@ stage1/bootsys$(EXEEXT): $(addprefix stage1/, $(boot_objects))
--output=$@ --load-directory=stage1 \
$(addprefix stage1/, $(boot_objects))
-stage1/%.$(FASLEXT): stage1/%.clisp
- $(AXIOM_LOCAL_LISP) -- --compile \
- --load-directory=stage1 $<
-
stage1/%.clisp: %.boot stage0/stamp stage1/.started
stage0/bootsys -- --translate --output=$@ $<
@
@@ -1453,10 +1453,6 @@ stage2/bootsys$(EXEEXT): $(addprefix stage2/, $(boot_objects))
--output=$@ --load-directory=stage2 \
$(addprefix stage2/, $(boot_objects))
-stage2/%.$(FASLEXT): stage2/%.clisp
- $(AXIOM_LOCAL_LISP) -- --compile \
- --load-directory=stage2 $<
-
stage2/%.clisp: %.boot stage1/stamp stage2/.started
stage1/bootsys -- --translate --output=$@ $<
@
@@ -1504,7 +1500,6 @@ BOOT_TO_LISP = \
\section{Cleanup}
<<cleanup>>=
mostlyclean-local:
- @rm -f $(AXIOM_LOCAL_LISP)
@rm -f $(axiom_build_bindir)/bootsys$(EXEEXT)
@rm -rf prev-stage
@rm -rf stage0 stage1 stage2