mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-29 15:22:17 +00:00
832f0a7852
Original commit message from CVS: add (incomplete) flex/bison-based parser to cvs the tokenizer is functional, but the grammar definition is bad. this probably breaks distcheck somehow, but hey.
21 lines
419 B
Makefile
21 lines
419 B
Makefile
#noinst_LTLIBRARIES = libgstparse.la
|
|
|
|
#libgstparse_la_SOURCES = parse.c grammar.c
|
|
|
|
noinst_PROGRAMS = grammar
|
|
|
|
grammar_SOURCES = lex.yy.c grammar.tab.c
|
|
grammar_CFLAGS = $(GLIB_CFLAGS) -DYYERROR_VERBOSE
|
|
|
|
noinst_HEADERS = grammar.tab.h
|
|
|
|
BUILT_SOURCES = grammar.tab.h grammar.tab.c lex.yy.c
|
|
|
|
grammar.tab.h: grammar.y
|
|
bison -v -d grammar.y
|
|
|
|
grammar.tab.c: grammar.y
|
|
bison -v -d grammar.y
|
|
|
|
lex.yy.c: parse.l
|
|
flex parse.l
|