gst/parse/Makefile.am: Make 'make -j' proof (see #340698).

Original commit message from CVS:
* gst/parse/Makefile.am:
Make 'make -j' proof (see #340698).
This commit is contained in:
Tim-Philipp Müller 2006-05-05 09:01:52 +00:00
parent 54c2d0552c
commit 2a543782d0
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
* gst/parse/Makefile.am:
Make 'make -j' proof (see #340698).
2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:

View file

@ -18,7 +18,7 @@ libgstparse_la_LIBADD = $(GST_ALL_LIBS)
noinst_HEADERS = grammar.tab.h
grammar.tab.c grammar.tab.h: grammar.y
$(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y -o grammar.tab.c
$(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y -o grammar.tab.c; \
mv grammar.tab.c grammar.tab_tmp.c; \
echo '#ifdef HAVE_CONFIG_H' > grammar.tab_tmp2.c; \
echo '#include <config.h>' >> grammar.tab_tmp2.c; \
@ -28,7 +28,7 @@ grammar.tab.c grammar.tab.h: grammar.y
mv grammar.tab_tmp2.c grammar.tab.c
lex._gst_parse_yy.c: parse.l grammar.tab.h
$(FLEX_PATH) -P_gst_parse_yy $^
$(FLEX_PATH) -P_gst_parse_yy $^; \
mv lex._gst_parse_yy.c lex._gst_parse_yy_tmp.c; \
echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c; \
echo '#include <config.h>' >> lex._gst_parse_yy_tmp2.c; \