gst/parse/Makefile.am: Now hopefully fix the build failures by setting proper rule dependencies and moving instead of...

Original commit message from CVS:
* gst/parse/Makefile.am:
Now hopefully fix the build failures by setting proper rule
dependencies and moving instead of copying.
This commit is contained in:
Sebastian Dröge 2007-04-19 14:06:52 +00:00
parent dda5061b74
commit 3215ad20c3
2 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
* gst/parse/Makefile.am:
Now hopefully fix the build failures by setting proper rule
dependencies and moving instead of copying.
2007-04-19 Stefan Kost <ensonic@users.sf.net> 2007-04-19 Stefan Kost <ensonic@users.sf.net>
* tests/benchmarks/complexity.gnuplot: * tests/benchmarks/complexity.gnuplot:

View file

@ -35,8 +35,8 @@ if GENERATE_PARSER
cat grammar.tab_tmp.c >> grammar.tab_tmp2.c && \ cat grammar.tab_tmp.c >> grammar.tab_tmp2.c && \
rm grammar.tab_tmp.c && \ rm grammar.tab_tmp.c && \
mv grammar.tab_tmp2.c grammar.tab.c mv grammar.tab_tmp2.c grammar.tab.c
cp grammar.tab.c grammar.tab.pre.c mv grammar.tab.c grammar.tab.pre.c
cp grammar.tab.h grammar.tab.pre.h mv grammar.tab.h grammar.tab.pre.h
else else
echo "Timestamp issue on pregenerated bison output." echo "Timestamp issue on pregenerated bison output."
echo "Using probably outdated pregenerated sources..." echo "Using probably outdated pregenerated sources..."
@ -45,7 +45,7 @@ endif
lex._gst_parse_yy.pre.c: parse.l grammar.tab.pre.h lex._gst_parse_yy.pre.c: parse.l grammar.tab.pre.h
if GENERATE_PARSER if GENERATE_PARSER
$(FLEX_PATH) -P_gst_parse_yy $^ && \ $(FLEX_PATH) -P_gst_parse_yy lex._gst_parse_yy.c && \
mv lex._gst_parse_yy.c lex._gst_parse_yy_tmp.c && \ mv lex._gst_parse_yy.c lex._gst_parse_yy_tmp.c && \
echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c && \ echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c && \
echo '#include <config.h>' >> lex._gst_parse_yy_tmp2.c && \ echo '#include <config.h>' >> lex._gst_parse_yy_tmp2.c && \
@ -53,7 +53,7 @@ if GENERATE_PARSER
cat lex._gst_parse_yy_tmp.c >> lex._gst_parse_yy_tmp2.c && \ cat lex._gst_parse_yy_tmp.c >> lex._gst_parse_yy_tmp2.c && \
rm lex._gst_parse_yy_tmp.c && \ rm lex._gst_parse_yy_tmp.c && \
mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c && \ mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c && \
cp lex._gst_parse_yy.c lex._gst_parse_yy.pre.c mv lex._gst_parse_yy.c lex._gst_parse_yy.pre.c
else else
echo "Timestamp issue on pregenerated flex output." echo "Timestamp issue on pregenerated flex output."
echo "Using probably outdated pregenerated sources..." echo "Using probably outdated pregenerated sources..."
@ -78,7 +78,7 @@ endif
if GENERATE_PARSER if GENERATE_PARSER
lex._gst_parse_yy.c: parse.l grammar.tab.h lex._gst_parse_yy.c: parse.l grammar.tab.h
$(FLEX_PATH) -P_gst_parse_yy $^ && \ $(FLEX_PATH) -P_gst_parse_yy lex._gst_parse_yy.c && \
mv lex._gst_parse_yy.c lex._gst_parse_yy_tmp.c && \ mv lex._gst_parse_yy.c lex._gst_parse_yy_tmp.c && \
echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c && \ echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c && \
echo '#include <config.h>' >> lex._gst_parse_yy_tmp2.c && \ echo '#include <config.h>' >> lex._gst_parse_yy_tmp2.c && \
@ -87,7 +87,7 @@ lex._gst_parse_yy.c: parse.l grammar.tab.h
rm lex._gst_parse_yy_tmp.c && \ rm lex._gst_parse_yy_tmp.c && \
mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c
else else
lex._gst_parse_yy.c: lex._gst_parse_yy.pre.c grammar.tab.h lex._gst_parse_yy.c: lex._gst_parse_yy.pre.c grammar.tab.h grammar.tab.c
cp $(srcdir)/lex._gst_parse_yy.pre.c lex._gst_parse_yy.c cp $(srcdir)/lex._gst_parse_yy.pre.c lex._gst_parse_yy.c
endif endif