aboutsummaryrefslogtreecommitdiff
path: root/src/lisp/Makefile.in
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-07-03 02:48:59 +0000
committerdos-reis <gdr@axiomatics.org>2009-07-03 02:48:59 +0000
commit9cbc59b328898f7a0966be5ec1665409f6aa836f (patch)
tree04c8a44171f367c8df21487f6157fdf59b03bf7c /src/lisp/Makefile.in
parentf28f87186f166f68374a132ef89065adb6752bc8 (diff)
downloadopen-axiom-9cbc59b328898f7a0966be5ec1665409f6aa836f.tar.gz
Support ECL-based build profiling.
* configure.ac.pamphlet: Support --enable-profiling. * config/var-def.mk (oa_yesno_to_lisp_boolean): New. (oa_enable_profiling): Likewise. (oa_enable_lisp_profiling): Likewise. src/ * lisp/Makefile.in (edit): Substitute for oa_enable_profiling. * lisp/core.lisp.in ($EnableLispProfiling): New. (compileLispFile): Use it.
Diffstat (limited to 'src/lisp/Makefile.in')
-rw-r--r--src/lisp/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lisp/Makefile.in b/src/lisp/Makefile.in
index 734d114d..4933e90b 100644
--- a/src/lisp/Makefile.in
+++ b/src/lisp/Makefile.in
@@ -148,6 +148,7 @@ edit = sed \
-e 's|@LIBEXT[@]|$(LIBEXT)|g' \
-e 's|@oa_c_runtime_extra[@]|$(patsubst %,"%",$(oa_c_runtime_extra))|g' \
-e 's|@oa_standard_linking[@]|$(oa_standard_linking)|g' \
+ -e 's|@oa_enable_profiling[@]|$(oa_enable_lisp_profiling)|g' \
-e 's|@void_type[@]|$(void_type)|g' \
-e 's|@char_type[@]|$(char_type)|g' \
-e 's|@int_type[@]|$(int_type)|g' \
@@ -156,6 +157,7 @@ edit = sed \
-e 's|@string_type[@]|$(string_type)|g'
core.lisp: $(srcdir)/core.lisp.in
+ @echo "oa_enable_lisp_profiling= ${oa_enable_lisp_profiling}"
$(edit) $< > $@.tmp
$(top_srcdir)/config/move-if-change $@.tmp $@