summaryrefslogtreecommitdiff
path: root/gcc/melt-build-script.def
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-16 14:44:48 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-16 14:44:48 +0000
commita929412d436f956be0c5f896f610ea0b43eebd5d (patch)
tree6aca1768908074a7a71dfcd4aef9a851868d308c /gcc/melt-build-script.def
parentcccfa8ca41d9e8f223feb20c316b34a9ba89a4f2 (diff)
downloadgcc-a929412d436f956be0c5f896f610ea0b43eebd5d.tar.gz
2012-07-16 Basile Starynkevitch <basile@starynkevitch.net>
* Makefile.in (melt-build-param.sh): Bettet GCCMELT_STAGE_ZERO. * melt-build-script.def: New file. * melt-build-script.tpl: New file. Not working yet. * melt-build-script.sh: New generated file. Not working yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@189540 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-build-script.def')
-rw-r--r--gcc/melt-build-script.def122
1 files changed, 122 insertions, 0 deletions
diff --git a/gcc/melt-build-script.def b/gcc/melt-build-script.def
new file mode 100644
index 00000000000..10d05481cfe
--- /dev/null
+++ b/gcc/melt-build-script.def
@@ -0,0 +1,122 @@
+#! /usr/bin/autogen
+AutoGen definitions melt-build-script.tpl;
+
+// melt-build-script.mk is generated from melt-build-script.tpl using melt-build-script.def
+// and the autogen utility by 'autogen melt-build-script.def'.
+// This file is written by Basile Starynkevitch
+//
+// Copyright 2012 Free Software Foundation
+//
+// This file is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; see the file COPYING3. If not see
+// <http://www.gnu.org/licenses/>.
+
+// When adding or removing a core melt/*.melt file, please describe it
+// here.
+////////////////////////////////////////////////////////////////
+
+// the MELT translator is described by several similar entries, one
+// for each source file. Entry order is important!
+
+// field 'base' gives the base name of the *.melt file
+// field 'varsuf' gives a suffix part of a generated shell variable name
+melt_translator_file = {
+ base = "warmelt-first";
+ varsuf = FIRST;
+};
+
+melt_translator_file = {
+ base = "warmelt-base";
+ varsuf = BASE;
+};
+
+melt_translator_file = {
+ base = "warmelt-debug";
+ varsuf = DEBUG;
+};
+
+melt_translator_file = {
+ base = "warmelt-macro";
+ varsuf = MACRO;
+};
+
+melt_translator_file = {
+ base = "warmelt-normal";
+ // warmelt-normal.melt contains (load "warmelt-predef.melt")
+ includeload = "warmelt-predef.melt";
+ varsuf = NORMAL;
+};
+
+melt_translator_file = {
+ base = "warmelt-normatch";
+ varsuf = NORMATCH;
+};
+
+melt_translator_file = {
+ base = "warmelt-genobj";
+ varsuf = GENOBJ;
+};
+
+melt_translator_file = {
+ base = "warmelt-outobj";
+ varsuf = OUTOBJ;
+};
+
+melt_translator_file = {
+ base = "warmelt-modes";
+ varsuf = MODES;
+};
+
+
+////////////////
+// the additional MELT application files
+melt_application_file = {
+ base = "xtramelt-ana-base";
+ varsuf = ANA_BASE;
+};
+
+melt_application_file = {
+ base = "xtramelt-ana-tree";
+ varsuf = ANA_TREE;
+};
+
+melt_application_file = {
+ base = "xtramelt-ana-gimple";
+ varsuf = ANA_GIMPLE;
+};
+
+melt_application_file = {
+ base = "xtramelt-probe";
+ varsuf = PROBE;
+};
+
+melt_application_file = {
+ base = "xtramelt-ana-simple";
+ varsuf = ANA_SIMPLE;
+};
+
+melt_application_file = {
+ base = "xtramelt-c-generator";
+ varsuf = C_GENERATOR;
+};
+
+melt_application_file = {
+ base = "xtramelt-opengpu";
+ varsuf = OPENGPU;
+};
+
+// the various MELT stages which should be melt-stage1 melt-stage2
+// etc...
+melt_stage = meltbuild-stage1;
+melt_stage = meltbuild-stage2;
+melt_stage = meltbuild-stage3; \ No newline at end of file