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-04-08 23:18:30 +00:00
|
|
|
BUILT_SOURCES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c
|
2003-04-08 23:21:37 +00:00
|
|
|
CLEANFILES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c grammar.output
|
2002-03-31 21:09:17 +00:00
|
|
|
|
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-04-08 23:18:30 +00:00
|
|
|
nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
|
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
|
|
|
|
|
2003-01-08 16:03:49 +00:00
|
|
|
grammar.tab.c grammar.tab.h: grammar.y ../gstmarshal.h
|
2003-04-08 23:18:30 +00:00
|
|
|
$(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y
|
2002-08-13 16:30:58 +00:00
|
|
|
|
2003-04-08 23:18:30 +00:00
|
|
|
lex._gst_parse_yy.c: parse.l
|
|
|
|
$(FLEX_PATH) -P_gst_parse_yy $^
|
|
|
|
|
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:
|
2003-05-16 06:33:36 +00:00
|
|
|
cd .. && $(MAKE) gstmarshal.h
|
2003-01-08 16:03:49 +00:00
|
|
|
|