diff options
author | dos-reis <gdr@axiomatics.org> | 2008-08-15 04:52:25 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-08-15 04:52:25 +0000 |
commit | 66f954a68f42d1b3e9539bbfd794bc74e553bf93 (patch) | |
tree | 97a7815cc44aa402bda0b5a79910770b7c3c1234 /src/interp/Makefile.in | |
parent | a0e66d6ee5a830dcec95c5732ac4e7c200650400 (diff) | |
download | open-axiom-66f954a68f42d1b3e9539bbfd794bc74e553bf93.tar.gz |
* interp/Makefile.pamphlet: Simplify build of interpsys and AXIOMsys.
(interpsys_modules): Remove.
(IN_modules): Likewise.
(AS_modules): Likewise.
(makeint.lisp): Simplify.
(makeint.$(LNKEXT)): New make rule.
(${SAVESYS}): Tidy.
(${AXIOMSYS}): Likewise.
* interp/util.lisp (build-interpsys): Lose first parameter. Tidy.
Diffstat (limited to 'src/interp/Makefile.in')
-rw-r--r-- | src/interp/Makefile.in | 76 |
1 files changed, 28 insertions, 48 deletions
diff --git a/src/interp/Makefile.in b/src/interp/Makefile.in index 0cee42fb..e7775f17 100644 --- a/src/interp/Makefile.in +++ b/src/interp/Makefile.in @@ -85,18 +85,11 @@ OBJS= boot-pkg.$(FASLEXT) types.$(FASLEXT) \ spad.$(FASLEXT) \ spaderror.$(FASLEXT) \ template.$(FASLEXT) termrw.$(FASLEXT) \ - trace.$(FASLEXT) \ - daase.$(FASLEXT) \ - fortcall.$(FASLEXT) \ - $(OCOBJS) \ - $(BROBJS) i-parser.$(FASLEXT) + trace.$(FASLEXT) daase.$(FASLEXT) \ + fortcall.$(FASLEXT) i-parser.$(FASLEXT) \ + $(OCOBJS) $(BROBJS) $(ASCOMP) $(INOBJS) -interpsys_modules = $(patsubst %.$(FASLEXT), "%", $(OBJS)) -INOBJS= setvart.$(FASLEXT)\ - interop.$(FASLEXT) \ - patches.$(FASLEXT) - -IN_modules = $(patsubst %.$(FASLEXT), "%", $(INOBJS)) +INOBJS= setvart.$(FASLEXT) interop.$(FASLEXT) patches.$(FASLEXT) OCOBJS= \ info.$(FASLEXT) modemap.$(FASLEXT) \ @@ -130,8 +123,6 @@ autoload_objects += $(TRANOBJS) ASCOMP= hashcode.$(FASLEXT) as.$(FASLEXT) axext_l.$(FASLEXT) -AS_modules = $(patsubst %.$(FASLEXT), "%", $(ASCOMP)) - ASAUTO= ${AUTO}/ax.$(FASLEXT) autoload_objects += $(ASAUTO) @@ -180,72 +171,60 @@ all-axiomsys: all-interpsys mostlyclean-local: @rm -f *.fn *.data *.$(FASLEXT) *.lib *.$(OBJEXT) + rm -f makeint.lisp clean-local: mostlyclean-local @rm -f *.clisp *.lsp distclean-local: clean-local -makeint.lisp: $(OBJS) ${OUTINTERP} \ - database.date ${INOBJS} ${ASCOMP} ${ASAUTO} \ - ${TRANOBJS} \ - $(axiom_targetdir)/algebra/exposed.$(FASLEXT) \ - $(axiom_src_docdir)/msgs/s2-us.msgs - @ echo 5 invoking make in `pwd` with parms: - @rm -f makeint.lisp + +$(axiom_target_datadir)/msgs/s2-us.msgs: \ + $(axiom_src_docdir)/msgs/s2-us.msgs $(mkdir_p) $(axiom_target_datadir)/msgs - cp -p $(axiom_src_docdir)/msgs/s2-us.msgs \ - $(axiom_target_datadir)/msgs - @ echo '(|importModule| "boot-pkg")' >> makeint.lisp - @ echo '(|importModule| "types")' >> makeint.lisp - @ echo '(|importModule| "sys-driver")' >> makeint.lisp - @ echo '(|importModule| "sys-constants")' >> makeint.lisp - @ echo '(|importModule| "hash")' >> makeint.lisp - @ echo '(|importModule| "sys-globals")' >> makeint.lisp - @ echo '(|importModule| "vmlisp")' >> makeint.lisp - @ echo '#+:GCL (gbc t)' >> makeint.lisp - @ echo '(|importModule| "cfuns")' >> makeint.lisp - @ echo '(|importModule| "sys-os")' >> makeint.lisp - @ echo '(|importModule| "sys-utility")' >> makeint.lisp - @ echo '(|importModule| "diagnostics")' >> makeint.lisp - @ echo '(|importModule| "union")' >> makeint.lisp - @ echo '(|importModule| "sys-macros")' >> makeint.lisp - @ echo '(|importModule| "macros")' >> makeint.lisp - @ echo '(|importModule| "metalex")' >> makeint.lisp - @ echo '(|importModule| "parsing")' >> makeint.lisp - @ echo '(|importModule| "util")' >> makeint.lisp + cp -p $< $@ + +makeint.lisp: Makefile + @rm -f makeint.lisp + @ echo '(import-module "util")' >> makeint.lisp @ echo '(in-package "BOOT")' >> makeint.lisp @ touch ${TIMESTAMP} @ echo '${YEARWEEK}' >> makeint.lisp - @ echo '(build-interpsys (append (quote ($(interpsys_modules))) (quote ($(AS_modules))) (quote ($(IN_modules)))) (quote ($(patsubst %, "%", ${TRANOBJS}))) (quote ($(patsubst %, "%", ${ASAUTO}))))' >> makeint.lisp + @ echo '(build-interpsys (quote ($(patsubst %, "%", ${TRANOBJS}))) (quote ($(patsubst %, "%", ${ASAUTO}))))' >> makeint.lisp @ echo '(|clearClams|)' >> makeint.lisp @ echo '#+:akcl (setq compiler::*suppress-compiler-notes* t)' >> makeint.lisp @ echo '#+:akcl (si::gbc-time 0)' >> makeint.lisp @ echo '#+:GCL (si::gbc t)' >> makeint.lisp -${SAVESYS}: makeint.lisp +${SAVESYS}: database.date \ + $(axiom_targetdir)/algebra/exposed.$(FASLEXT) \ + $(axiom_target_datadir)/msgs/s2-us.msgs \ + $(ASAUTO) $(TRANOBJS) $(OBJS) makeint.$(LNKEXT) $(BOOTSYS) -- --system="$(AXIOM)/" \ --sysalg="$(axiom_src_datadir)/algebra/" \ --make --output=$@ --main="BOOT::|restart|" \ - --load-directory=. makeint.lisp - @ echo 6 ${SAVESYS} created + --load-directory=. $(OBJS) makeint.$(LNKEXT) + @ echo 6 $@ created $(mkdir_p) $(axiom_target_bindir) .PHONY: all-axiomsys all-axiomsys: ${AXIOMSYS} -${AXIOMSYS}: makeint.lisp +${AXIOMSYS}: database.date \ + $(axiom_targetdir)/algebra/exposed.$(FASLEXT) \ + $(axiom_target_datadir)/msgs/s2-us.msgs \ + $(ASAUTO) $(TRANOBJS) $(OBJS) makeint.$(LNKEXT) $(BOOTSYS) -- \ --system="$(AXIOM)/" \ --sysalg="$(axiom_targetdir)/algebra/" \ --make --output=$@ --main="BOOT::|restart|" \ - --load-directory=. makeint.lisp - @ echo 6a ${AXIOMSYS} created + --load-directory=. $(OBJS) makeint.$(LNKEXT) + @ echo 6a $@ created exposed.lsp: $(axiom_src_algdir)/exposed.lsp.pamphlet @ echo 615 making exposed.lsp from $(axiom_src_algdir)/exposed.lsp.pamphlet $(axiom_build_document) --tangle --output=$@ $< -$(axiom_targetdir)/algebra/exposed.$(FASLEXT) : exposed.lsp ${LISPSYS} +$(axiom_targetdir)/algebra/exposed.$(FASLEXT) : exposed.lsp boot-pkg.$(LNKEXT) @ echo 616 making $@ from exposed.lsp $(mkdir_p) $(axiom_targetdir)/algebra $(BOOTSYS) --compile --output=$@ --load-directory=. $< @@ -292,6 +271,7 @@ htsetvar.$(FASLEXT): macros.$(FASLEXT) hypertex.$(FASLEXT): types.$(FASLEXT) ## OpenAxiom's interpreter. +makeint.$(FASLEXT): util.$(FASLEXT) patches.$(FASLEXT): macros.$(FASLEXT) g-timer.$(FASLEXT) sys-driver.$(FASLEXT) setvars.$(FASLEXT): macros.$(FASLEXT) debug.$(FASLEXT) profile.$(FASLEXT): macros.$(FASLEXT) |