summaryrefslogtreecommitdiff
path: root/gcc/melt-build.mk
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-14 06:55:12 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-14 06:55:12 +0000
commit8f1c6dd098b4701f69ebe63abcff26b022ad5591 (patch)
tree62ed2b8cde6eba99ce26d08d1944573a4ff479fe /gcc/melt-build.mk
parentf853c83ac30182167ea36a24ad966e5236b63705 (diff)
downloadgcc-8f1c6dd098b4701f69ebe63abcff26b022ad5591.tar.gz
2010-12-13 Basile Starynkevitch <basile@starynkevitch.net>
* melt-/warmelt-base.melt (class_value_descriptor): Rename :valdesc_chunk as :valdesc_membchunk field. Add :valdesc_copychunk field. Update every value descriptor instance. * melt/warmelt-outobj.melt: Rename :valdesc_chunk as :valdesc_membchunk * melt-build.tpl: Add generate-meltrun. * melt-build.mk: Regenerate. * Makefile.in (upgrade-warmelt): Invoke generate-meltrun. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-build.mk')
-rw-r--r--gcc/melt-build.mk15
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/melt-build.mk b/gcc/melt-build.mk
index 3f417ab3437..d534e8f7b24 100644
--- a/gcc/melt-build.mk
+++ b/gcc/melt-build.mk
@@ -2505,11 +2505,24 @@ xtramelt-parse-infix-syntax.melt,xtramelt-ana-base.melt,xtramelt-ana-simple.melt
vpath %.so $(melt_make_module_dir) .
-vpath %.c $(melt_make_source_dir)/generated . $(melt_source_dir)
+vpath %.c $(melt_make_source_dir)/generated . $(melt_source_dir)
+vpath %.h $(melt_make_source_dir)/generated . $(melt_source_dir)
+
+.PHONY: generate-meltrun
+generate-meltrun: $(melt_default_modules_list).modlis empty-file-for-melt.c \
+ melt-all-sources melt-all-modules $(melt_make_cc1_dependency)
+ $(melt_make_cc1) $(melt_make_cc1flags) \
+ $(meltarg_mode)=runtypesupport \
+ $(meltarg_tempdir)=. $(meltarg_bootstrapping) $(MELT_DEBUG) \
+ $(meltarg_init)=@$(melt_default_modules_list) \
+ $(meltarg_module_path)=melt-modules:. \
+ $(meltarg_source_path)=melt-sources:. \
+ $(meltarg_output)=meltrunsup \
+ empty-file-for-melt.c
### MELT cleanup
.PHONY: melt-clean