diff options
author | dos-reis <gdr@axiomatics.org> | 2007-08-17 07:20:23 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2007-08-17 07:20:23 +0000 |
commit | 88d049946f421fb111a726fc3a954d1bf5af9907 (patch) | |
tree | 128454b7193ada09827c1333bff43990100449b7 /src/boot/Makefile.in | |
parent | f7c894bf2f4e5fa91cd1f15e94569d557d1942a8 (diff) | |
download | open-axiom-88d049946f421fb111a726fc3a954d1bf5af9907.tar.gz |
src/
2007-08-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* Makefile.pamphlet (all-lisp): Don't make $(axiom_build_bindir)
here. Pass target tp $(MAKE).
(all-boot): Likewise.
(all-lib): Don't make $(OUT) here. Pass target to $(MAKE).
* Makefile.in: Regenerate.
src/boot/
2007-08-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* Makefile.pamphlet (BOOTSYS_FOR_TARGET): Remove.
(stamp): Update prerequisite.
($(axiom_build_bindir)/bootsys$(EXEEXT)): Rename from
$(BOOTSYS_FOR_TARGET).
(%/.started): Rename from mk-statge0-dir. Tidy.
(stage0/%.clisp): Update prerequisite.
(%/initial-env.$(FASLEXT)): Likewise.
(mk-stage1-dir): Remove.
(mk-stage2-dir): Likewise.
(mostlyclean-local): Update.
* Makefile.in: Regenerate.
src/lib/
2007-08-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* Makefile.pamphlet ($(axiom_target_libdir)/libspad.la): Remove
prerequisite mk-target-libdir.
(mk-target-libdir): Remove.
* Makefile.in: Regenerate.
src/lisp/
2007-08-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* Makefile.pamphlet ($(OUT)/lisp$(EXEEXT)): Create $(OUT)
directory before installing lisp executable.
* Makefile.in: Regenerate.
Diffstat (limited to 'src/boot/Makefile.in')
-rw-r--r-- | src/boot/Makefile.in | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/src/boot/Makefile.in b/src/boot/Makefile.in index 444748bf..e97b22aa 100644 --- a/src/boot/Makefile.in +++ b/src/boot/Makefile.in @@ -1,6 +1,5 @@ AXIOM_LOCAL_LISP_sources = initial-env.lisp AXIOM_LOCAL_LISP = ../lisp/base-lisp$(EXEEXT) -BOOTSYS_FOR_TARGET = $(axiom_target_bindir)/bootsys$(EXEEXT) PROCLAIMS=(load "$(srcdir)/boot-proclaims.lisp") boot_objects = initial-env.$(FASLEXT) $(boot_sources:.boot=.$(FASLEXT)) @@ -32,11 +31,12 @@ all: all-ax all-boot all-ax all-boot: stamp -stamp: $(BOOTSYS_FOR_TARGET) +stamp: $(axiom_build_bindir)/bootsys$(EXEEXT) @rm -f stamp $(STAMP) $@ -$(BOOTSYS_FOR_TARGET): stage2/bootsys$(EXEEXT) +$(axiom_build_bindir)/bootsys$(EXEEXT): stage2/bootsys$(EXEEXT) + $(mkinstalldirs) $(axiom_build_bindir) $(INSTALL_PROGRAM) stage2/bootsys$(EXEEXT) $(axiom_build_bindir) .PRECIOUS: stage0/%.clisp @@ -56,9 +56,10 @@ stage0/bootsys$(EXEEXT): $(stage0_boot_objects) $(stage0_boot_objects) -.PHONY: mk-stage0-dir -mk-stage0-dir: - @[ -d stage0 ] || $(mkinstalldirs) stage0 +.PRECIOUS: %/.started +%/.started: + $(mkinstalldirs) $* + $(STAMP) $@ $(stage0_boot_objects): $(AXIOM_LOCAL_LISP) @@ -66,11 +67,10 @@ stage0/%.$(FASLEXT): stage0/%.clisp $(AXIOM_LOCAL_LISP) -- --compile \ --load-directory=stage0 --output=$@ $< - -stage0/%.clisp: $(srcdir)/%.boot.pamphlet mk-stage0-dir +stage0/%.clisp: $(srcdir)/%.boot.pamphlet stage0/.started $(axiom_build_document) --tangle=$*.clisp --output=$@ $< -%/initial-env.$(FASLEXT): initial-env.lisp mk-%-dir +%/initial-env.$(FASLEXT): initial-env.lisp %/.started $(AXIOM_LOCAL_LISP) -- --compile --output=$@ $< .PRECIOUS: stage1/%.$(FASLEXT) @@ -89,13 +89,9 @@ stage1/%.$(FASLEXT): stage1/%.clisp $(AXIOM_LOCAL_LISP) -- --compile \ --load-directory=stage1 $< -stage1/%.clisp: %.boot stage0/stamp mk-stage1-dir +stage1/%.clisp: %.boot stage0/stamp stage1/.started stage0/bootsys -- --translate --output=$@ $< -.PHONY: mk-stage1-dir -mk-stage1-dir: - @[ -d stage1 ] || $(mkinstalldirs) stage1 - .PRECIOUS: stage2/%.$(FASLEXT) .PRECIOUS: stage2/%.clisp @@ -112,13 +108,9 @@ stage2/%.$(FASLEXT): stage2/%.clisp $(AXIOM_LOCAL_LISP) -- --compile \ --load-directory=stage2 $< -stage2/%.clisp: %.boot stage1/stamp mk-stage2-dir +stage2/%.clisp: %.boot stage1/stamp stage2/.started stage1/bootsys -- --translate --output=$@ $< -.PHONY: mk-stage2-dir -mk-stage2-dir: - @[ -d stage2 ] || $(mkinstalldirs) stage2 - ## Dependency for various modules. ## FIXME: This should be automatically extracted from the ## Boot source file at packaging time. @@ -153,7 +145,7 @@ initial-env.lisp: initial-env.lisp.pamphlet mostlyclean-local: @rm -f $(AXIOM_LOCAL_LISP) - @rm -f $(BOOTSYS_FOR_TARGET) + @rm -f $(axiom_build_bindir)/bootsys$(EXEEXT) @rm -rf prev-stage @rm -rf stage0 stage1 stage2 @rm -f *.data *.fn |