Commit e7eb5bd3 authored by pouill_n's avatar pouill_n
Browse files

from Nicolas Pouillard <ertai@lrde.epita.fr>

	* lib/Makefile.am: Add an exhaustive list of sdf files.
	* src/specs-renamed/Makefile.am: Add an include directory.
	* src/syn/Makefile.am: Update CLEANFILES.

2004-05-18  Nicolas Pouillard  <ertai@lrde.epita.fr>
parent 96eb47bd
2004-05-18 Nicolas Pouillard <ertai@lrde.epita.fr>
* lib/Makefile.am: Add an exhaustive list of sdf files.
* src/specs-renamed/Makefile.am: Add an include directory.
* src/syn/Makefile.am: Update CLEANFILES.
2004-05-18 Nicolas Pouillard <ertai@lrde.epita.fr>
* src/specs-renamed/Makefile.am: Distribute rename.str.
......
......@@ -8,15 +8,46 @@ SDFINCLUDES = \
-I $(BUNDLED_BOXEDSDF)/share/sdf/boxedsdf \
-I $(BUNDLED_ASTGEN)/share/sdf/sdf-astgen
SDFS = \
Sdf2.sdf \
languages/sdf2/syntax/Aliases.sdf \
languages/sdf2/syntax/Restrictions.sdf \
languages/sdf2/syntax/Labels.sdf \
languages/sdf2/syntax/Literals.sdf \
languages/sdf2/syntax/Sorts.sdf \
languages/sdf2/syntax/Character.sdf \
languages/sdf2/syntax/Character-Class.sdf \
languages/sdf2/syntax/CC.sdf \
languages/sdf2/syntax/Priority.sdf \
languages/sdf2/syntax/Lifting.sdf \
languages/sdf2/syntax/Regular.sdf \
languages/sdf2/syntax/Renaming.sdf \
languages/sdf2/syntax/Modules.sdf \
languages/sdf2/syntax/Basic.sdf \
languages/sdf2/syntax/Grammars.sdf \
languages/sdf2/syntax/Symbols.sdf \
languages/sdf2/syntax/Kernel.sdf \
languages/sdf2/syntax/Sdf2-Syntax.sdf \
languages/sdf2/syntax/Sdf2.sdf \
languages/aterm/syntax/RealCon.sdf \
languages/aterm/syntax/IntCon.sdf \
languages/aterm/syntax/Literals.sdf \
languages/aterm/syntax/ATerms.sdf \
basic/Comments.sdf \
basic/Whitespace.sdf
SDF = AstBoxedSdf2.sdf
DEF = AstBoxedSdf2.def
TBL = AstBoxedSdf2.tbl
pkgdata_DATA = Sdf2.sdf $(DEF) $(TBL)
pkgdata_DATA = $(SDFS) $(DEF) $(TBL)
$(SDFS): Sdf2.def
$(STRATEGO_FRONT)/bin/unpack-sdf -i Sdf2.def
Sdf2.sdf:
unpack-sdf -i $(SDF_FRONT)/share/sdf/sdf-front/Sdf2.def
Sdf2.def: $(SDF_FRONT)/share/sdf/sdf-front/Sdf2.def
cp $(SDF_FRONT)/share/sdf/sdf-front/Sdf2.def $@
EXTRA_DIST = $(SDF)
CLEANFILES = $(pkgdata_DATA)
CLEANFILES = Sdf2.def $(pkgdata_DATA)
......@@ -23,7 +23,8 @@ SCFLAGS = --main $* --verbose 0
SDF2RTG_FLAGS = --main $*
STRINCLUDES = -I $(SDF_FRONT)/share/sdf-front \
-I $(STRATEGO_FRONT)/share/sdf/sdf-front
-I $(STRATEGO_FRONT)/share/sdf/sdf-front \
-I $(top_srcdir)/src/specs-renamed
noinst_PROGRAMS = rename
......@@ -37,7 +38,7 @@ SPECS-Renamed.def: rename $(top_builddir)/src/syn/SPECS.def.af
$(STRATEGO_FRONT)/bin/pp-sdf -o $@
nodist_rename_SOURCES = rename.c
EXTRA_DIST = rename.str
CLEANFILES = SPECS-Renamed.def \
EXTRA_DIST = rename.str rename.meta
CLEANFILES = SPECS-Renamed.{def,str,rtree} \
*.sdf \
rename{,.{c{,.dep},o,dep}}
......@@ -55,4 +55,4 @@ $(SPECS).ppdef.af: $(SDFS) $(SPECS).sdf
| $(SDF_OPTION)/bin/sdf-option \
| $(SDF_TOOLS)/bin/sdf-cons -o $@
CLEANFILES = SPECS.def SPECS.tbl SPECS.pp SPECS.ppdef.af SPECS.ppdef SPECS-Renamed.def SPECS-Renamed.tbl SPECS-Renamed.pp SPECS-Renamed.ppdef.af
CLEANFILES = SPECS.{{pp,ppdef,def}{,.af},tbl,pp} SPECS-Renamed.{def,tbl,pp,ppdef.af}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment