2002-04-07 23:32:16 +00:00
|
|
|
noinst_LTLIBRARIES = libgstparse.la
|
2002-03-31 21:09:17 +00:00
|
|
|
|
2002-09-18 23:23:41 +00:00
|
|
|
libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
|
2002-03-31 21:09:17 +00:00
|
|
|
|
2002-09-18 23:23:41 +00:00
|
|
|
BISON = bison -d -v -p_gst_parse__yy
|
2002-04-01 04:36:56 +00:00
|
|
|
|
2002-04-07 23:32:16 +00:00
|
|
|
libgstparse_la_CFLAGS = $(LIBGST_CFLAGS)
|
|
|
|
libgstparse_la_LIBADD = $(LIBGST_LIBS)
|
2002-03-31 21:09:17 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = grammar.tab.h
|
|
|
|
|
2002-09-18 23:23:41 +00:00
|
|
|
BUILT_SOURCES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c
|
2002-03-31 21:09:17 +00:00
|
|
|
|
2002-04-10 17:16:05 +00:00
|
|
|
EXTRA_DIST = grammar.y parse.l types.h
|
|
|
|
|
2003-01-08 16:03:49 +00:00
|
|
|
grammar.tab.c grammar.tab.h: grammar.y ../gstmarshal.h
|
2003-01-21 22:58:04 +00:00
|
|
|
$(BISON) $(srcdir)/grammar.y
|
2002-08-13 16:30:58 +00:00
|
|
|
|
2003-01-08 16:03:49 +00:00
|
|
|
## this is so make install without a previous make can work, because
|
|
|
|
## this dir needs gstmarshal.h generated
|
|
|
|
../gstmarshal.h:
|
|
|
|
cd .. && make gstmarshal.h
|
|
|
|
|
2002-09-18 23:23:41 +00:00
|
|
|
lex._gst_parse_yy.c: parse.l
|
|
|
|
flex -P_gst_parse_yy $^
|