2 noinst_LTLIBRARIES = libgstparse.la
4 BUILT_SOURCES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c
5 CLEANFILES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c
7 EXTRA_DIST = grammar.y parse.l types.h
9 nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
10 libgstparse_la_CFLAGS = $(GST_CFLAGS)
11 libgstparse_la_LIBADD = $(LIBGST_LIBS)
13 noinst_HEADERS = grammar.tab.h
15 grammar.tab.c grammar.tab.h: grammar.y ../gstmarshal.h
16 $(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y
18 lex._gst_parse_yy.c: parse.l
19 $(FLEX_PATH) -P_gst_parse_yy $^
21 ## this is so make install without a previous make can work, because
22 ## this dir needs gstmarshal.h generated
24 cd .. && make gstmarshal.h