Commit 19933902 authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Index: ChangeLog

from  Benoît Perrot  <benoit@lrde.epita.fr>

	Do not update timestamps of generators when they fail.

	* src/parse/Makefile.am, dev/inst-makefile-gen.py:
	Suggested by Akim Demaille: Read Automake.texi :)
parent 33caa50a
2004-09-28 Benot Perrot <benoit@lrde.epita.fr>
Do not update timestamps of generators when they fail.
* src/parse/Makefile.am, dev/inst-makefile-gen.py:
Suggested by Akim Demaille: Read Automake.texi :)
2004-09-26 Benot Perrot <benoit@lrde.epita.fr>
Add data storage directives.
......
......@@ -50,20 +50,28 @@ BUILT_SOURCES = \\
program_builder.hh inst-builder-gen.stamp \\
program_solver.hh program_solver.cc inst-solver-gen.stamp
# This code comes from \"Handling Tools that Produce Many Outputs\",
# from the Automake documentation.
inst-nodes-gen.stamp: $(top_srcdir)/dev/inst-nodes-gen.py $(top_srcdir)/dev/nolimips.xml
@rm -rf $@.tmp
@touch $@.tmp
$(top_srcdir)/dev/inst-nodes-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
@mv -f $@.tmp $@
$(FROM_INST_NODES_GEN_PY): inst-nodes-gen.stamp
inst-builder-gen.stamp: $(top_srcdir)/dev/inst-builder-gen.py $(top_srcdir)/dev/nolimips.xml
@rm -rf $@.tmp
@touch $@.tmp
$(top_srcdir)/dev/inst-builder-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
@mv -f $@.tmp $@
program_builder.hh: inst-builder-gen.stamp
inst-solver-gen.stamp: $(top_srcdir)/dev/inst-solver-gen.py $(top_srcdir)/dev/nolimips.xml
@rm -rf $@.tmp
@touch $@.tmp
$(top_srcdir)/dev/inst-solver-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
@mv -f $@.tmp $@
program_solver.hh program_solver.cc: inst-solver-gen.stamp
......
......@@ -13,17 +13,22 @@ BUILT_SOURCES = \
asm-parse.yy parse-asm-parse.stamp \
$(FROM_ASM_PARSE_YY)
# This code comes from "Handling Tools that Produce Many Outputs",
# from the Automake documentation.
parse-asm-scan.stamp: $(top_srcdir)/dev/parse-asm-scan-gen.py $(top_srcdir)/dev/nolimips.xml
@rm -rf $@.tmp
@touch $@.tmp
$(top_srcdir)/dev/parse-asm-scan-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
@mv -f $@.tmp $@
asm-scan.ll: parse-asm-scan.stamp
touch $@
parse-asm-parse.stamp: $(top_srcdir)/dev/parse-asm-parse-gen.py $(top_srcdir)/dev/nolimips.xml
@rm -rf $@.tmp
@touch $@.tmp
$(top_srcdir)/dev/parse-asm-parse-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
@mv -f $@.tmp $@
asm-parse.yy: parse-asm-parse.stamp
touch $@
$(FROM_ASM_PARSE_YY): $(srcdir)/asm-parse.yy
bison -S lalr1.cc -d -ra $(srcdir)/asm-parse.yy -o asm-parse.cc
......
Supports Markdown
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