2 noinst_LTLIBRARIES = libgstparse.la
5 CLEANFILES = grammar.tab.h grammar.output
6 EXTRA_DIST = grammar.y parse.l types.h
8 BUILT_SOURCES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c
10 libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
11 libgstparse_la_CFLAGS = $(GST_CFLAGS) $(DISABLE_FLEX_WARNING)
12 libgstparse_la_LIBADD = $(LIBGST_LIBS)
14 noinst_HEADERS = grammar.tab.h
16 grammar.tab.c grammar.tab.h: grammar.y ../gstmarshal.h
17 $(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y -o grammar.tab.c
19 lex._gst_parse_yy.c: parse.l
20 $(FLEX_PATH) -P_gst_parse_yy $^
22 ## this is so make install without a previous make can work, because
23 ## this dir needs gstmarshal.h generated
25 cd .. && $(MAKE) gstmarshal.h