2003-04-08 23:18:30 +00:00
|
|
|
|
2002-04-07 23:32:16 +00:00
|
|
|
noinst_LTLIBRARIES = libgstparse.la
|
2002-03-31 21:09:17 +00:00
|
|
|
|
|
|
|
|
2003-10-09 13:47:35 +00:00
|
|
|
CLEANFILES = grammar.tab.h grammar.output
|
2003-04-08 23:18:30 +00:00
|
|
|
EXTRA_DIST = grammar.y parse.l types.h
|
2002-04-01 04:36:56 +00:00
|
|
|
|
2003-10-29 00:15:46 +00:00
|
|
|
# uncomment these lines to dist the generated sources
|
|
|
|
#BUILT_SOURCES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c
|
|
|
|
#libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
|
|
|
|
|
|
|
|
# uncomment these lines to _NOT_ dist the generated sources
|
|
|
|
nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
|
2003-10-31 03:52:11 +00:00
|
|
|
CLEANFILES += grammar.tab.c lex._gst_parse_yy.c
|
2003-08-30 02:42:55 +00:00
|
|
|
|
2003-04-11 21:44:04 +00:00
|
|
|
libgstparse_la_CFLAGS = $(GST_CFLAGS) $(DISABLE_FLEX_WARNING)
|
2002-04-07 23:32:16 +00:00
|
|
|
libgstparse_la_LIBADD = $(LIBGST_LIBS)
|
2002-03-31 21:09:17 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = grammar.tab.h
|
|
|
|
|
2004-02-03 03:31:26 +00:00
|
|
|
grammar.tab.c grammar.tab.h: grammar.y
|
2003-08-13 11:07:26 +00:00
|
|
|
$(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y -o grammar.tab.c
|
2002-08-13 16:30:58 +00:00
|
|
|
|
2004-02-26 17:02:49 +00:00
|
|
|
lex._gst_parse_yy.c: parse.l grammar.tab.h
|
2003-12-15 22:13:03 +00:00
|
|
|
$(FLEX_PATH) -P_gst_parse_yy $^
|