diff options
author | dos-reis <gdr@axiomatics.org> | 2010-05-07 19:41:44 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-05-07 19:41:44 +0000 |
commit | 75e606946370e97837e697e5f5070ddff4627952 (patch) | |
tree | 6a51f09fc2c32104ddb7eb328cc2270045f0b5bc /src/lisp | |
parent | c9c4d89aa7cc261a19ac29c7d74a43f1369f1773 (diff) | |
download | open-axiom-75e606946370e97837e697e5f5070ddff4627952.tar.gz |
* configure.ac.pamphlet: Add new option: --enable-int-file-retention.
src/
* lisp/core.lisp.in ($FilesToRetain): New. Export.
* lisp/Makefile.in: Tidy.
* boot/translator.boot (retainFile?): New.
(compileBootHandler): Use it.
Diffstat (limited to 'src/lisp')
-rw-r--r-- | src/lisp/Makefile.in | 7 | ||||
-rw-r--r-- | src/lisp/core.lisp.in | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/lisp/Makefile.in b/src/lisp/Makefile.in index 4933e90b..c1685b47 100644 --- a/src/lisp/Makefile.in +++ b/src/lisp/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2007-2009, Gabriel Dos Reis. +# Copyright (C) 2007-2010, Gabriel Dos Reis. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -137,10 +137,15 @@ float_type = @float_type@ double_type = @double_type@ string_type = @string_type@ +oa_comma =, + +oa_keep_files = $(patsubst %,|%|,$(subst $(oa_comma), ,@oa_keep_files@)) + edit = sed \ -e 's|@open_axiom_installdir[@]|$(open_axiom_installdir)|g' \ -e 's|@axiom_optimize_options[@]|$(axiom_optimize_options)|g' \ -e 's|@oa_editor[@]|$(oa_editor)|g' \ + -e 's/@oa_keep_files[@]/$(oa_keep_files)/g' \ -e 's|@host[@]|$(host)|g' \ -e 's|@build[@]|$(build)|g' \ -e 's|@target[@]|$(target)|g' \ diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in index 5078b47a..94e8823c 100644 --- a/src/lisp/core.lisp.in +++ b/src/lisp/core.lisp.in @@ -91,6 +91,7 @@ "$LispOptimizeOptions" "$StandardLinking" "$ECLVersionNumber" + "$FilesToRetain" "getOptionValue" "getCommandLineArguments" @@ -136,6 +137,10 @@ (defconstant |$systemInstallationDirectory| "@open_axiom_installdir@/") +;; File kinds to retain. +(defconstant |$FilesToRetain| + '(@oa_keep_files@)) + ;; Lisp compiler optimization settings. (defconstant |$LispOptimizeOptions| '(@axiom_optimize_options@)) |