From 75e606946370e97837e697e5f5070ddff4627952 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 7 May 2010 19:41:44 +0000 Subject: * 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. --- src/lisp/Makefile.in | 7 ++++++- src/lisp/core.lisp.in | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'src/lisp') 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@)) -- cgit v1.2.3