diff options
author | dos-reis <gdr@axiomatics.org> | 2011-06-22 13:22:03 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-06-22 13:22:03 +0000 |
commit | 75b3d072dd6a56dbe7d4fc675082056c2f2b54b2 (patch) | |
tree | edfd95150078ac3b58f31126f683e4380858fd6d /src | |
parent | 044ec4f17ae0098af6dba5a02787d39a7558e1e1 (diff) | |
download | open-axiom-75b3d072dd6a56dbe7d4fc675082056c2f2b54b2.tar.gz |
cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/Makefile.in | 1 | ||||
-rw-r--r-- | src/interp/Makefile.in | 20 | ||||
-rw-r--r-- | src/interp/util.lisp | 20 |
4 files changed, 1 insertions, 41 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 7b811b0b..f76021f5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -72,7 +72,6 @@ stamp-subdirs: $(MKDIR_P) $(oa_targetdir)/share $(MKDIR_P) $(oa_targetdir)/doc $(MKDIR_P) $(oa_targetdir)/doc/help - $(MKDIR_P) $(oa_targetdir)/autoload $(MKDIR_P) algebra/strap touch stamp-subdirs diff --git a/src/Makefile.in b/src/Makefile.in index 6e1f1596..f735ae0a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -669,7 +669,6 @@ stamp-subdirs: $(MKDIR_P) $(oa_targetdir)/share $(MKDIR_P) $(oa_targetdir)/doc $(MKDIR_P) $(oa_targetdir)/doc/help - $(MKDIR_P) $(oa_targetdir)/autoload $(MKDIR_P) algebra/strap touch stamp-subdirs diff --git a/src/interp/Makefile.in b/src/interp/Makefile.in index ec291d40..501e50f4 100644 --- a/src/interp/Makefile.in +++ b/src/interp/Makefile.in @@ -39,11 +39,6 @@ IN=$(srcdir) DOC=$(axiom_target_docdir)/src/interp BOOK=$(axiom_target_docdir) -# Do we still need this? -AUTO=$(axiom_targetdir)/autoload - -autoload_objects = - # Driver to launch translation and compilation DRIVER = $(top_builddir)/src/driver/open-axiom$(EXEEXT) @@ -125,8 +120,6 @@ OCOBJS= \ profile.$(FASLEXT) functor.$(FASLEXT) \ nruncomp.$(FASLEXT) htcheck.$(FASLEXT) -autoload_objects += $(OCOBJS) - # Browser component files. BROBJS= bc-matrix.$(FASLEXT) \ bc-misc.$(FASLEXT) bc-solve.$(FASLEXT) \ @@ -139,8 +132,6 @@ BROBJS= bc-matrix.$(FASLEXT) \ topics.$(FASLEXT) br-prof.$(FASLEXT) \ br-saturn.$(FASLEXT) -autoload_objects += $(BFOBJS) - TIMESTAMP=$(axiom_targetdir)/timestamp YEARWEEK=(progn (defconstant timestamp "${TIMESTAMP}") \ (setq *build-version* "$(PACKAGE_STRING)") \ @@ -251,9 +242,6 @@ database.date: @ touch database.date -## Copy FASLs that are autoloaded to the autoload directory. -.PREVIOUS: $(AUTO)/%.$(FASLEXT) - $(AUTO)/%.$(FASLEXT): %.$(FASLEXT) @cp -p $< $@ @@ -342,14 +330,6 @@ server.$(FASLEXT): macros.$(FASLEXT) ## (a) the interprerter's parser -- also referred to as new parser ## (b) the compiler parser -- also referred to as parser ## -## The new parser component is always included in a running OpenAxiom -## image. However the old parser component is so called `autoloaded'. -## While in theory that should work, in practice it turns out that -## people tend to override functions in the autoload part, correcting -## bugs only there. The consequence is that the same function will -## behave very differently based on the history of the seesion. Ideal -## recipe for creating heisenbugs. -## ## The old parser component roughtly is: ## diff --git a/src/interp/util.lisp b/src/interp/util.lisp index b05042e9..873bb03c 100644 --- a/src/interp/util.lisp +++ b/src/interp/util.lisp @@ -239,28 +239,10 @@ ;; directory from the current {\bf AXIOM} shell variable. (defvar $relative-library-directory-list '("/algebra/")) -;############################################################################ -;# autoload dependencies -;# -;# if you are adding a file which is to be autoloaded the following step -;# information is useful: -;# there are 2 cases: -;# 1) adding files to currently autoloaded parts -;# (as of 2/92: browser old parser and old compiler) -;# 2) adding new files -;# case 1: -;# a) you have to add the file to the list of files currently there -;# (e.g. see BROBJS above) -;# b) add an autolaod rule -;# (e.g. ${AUTO}/parsing.${O}: ${OUT}/parsing.${O}) -;# c) edit util.lisp to add the 'external' function (those that -;# should trigger the autoload -;############################################################################ - ;; This function calls `reroot' to set up pathnames we need. Next ;; it sets up the lisp system memory (at present only for AKCL/GCL). Next ;; it loads all of the named files, resets a few global state variables, -;; loads the databases, sets up autoload triggers and clears out hash tables. +;; loads the databases. ;; After this function is called the image is clean and can be saved. (defun build-interpsys () |