Add missing lex/bison generated files to make clean
[babeltrace.git] / formats / ctf / metadata / Makefile.am
... / ...
CommitLineData
1AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
2BUILT_SOURCES = ctf-parser.h
3AM_YFLAGS = -t -d -v
4
5noinst_LTLIBRARIES = libctf-parser.la libctf-ast.la
6
7noinst_HEADERS = \
8 ctf-scanner.h \
9 ctf-ast.h \
10 ctf-scanner-symbols.h \
11 objstack.h
12
13libctf_parser_la_SOURCES = ctf-lexer.l ctf-parser.y objstack.c
14libctf_parser_la_CFLAGS = $(AM_CFLAGS) -include ctf-scanner-symbols.h
15
16libctf_ast_la_SOURCES = ctf-visitor-xml.c \
17 ctf-visitor-parent-links.c \
18 ctf-visitor-semantic-validator.c \
19 ctf-visitor-generate-io-struct.c
20
21libctf_ast_la_LIBADD = \
22 $(top_builddir)/lib/libbabeltrace.la
23
24if BABELTRACE_BUILD_WITH_LIBUUID
25libctf_ast_la_LIBADD += -luuid
26endif
27if BABELTRACE_BUILD_WITH_LIBC_UUID
28libctf_ast_la_LIBADD += -lc
29endif
30
31noinst_PROGRAMS = ctf-parser-test
32ctf_parser_test_SOURCES = ctf-parser-test.c
33
34ctf_parser_test_LDADD = \
35 libctf-parser.la \
36 libctf-ast.la
37
38CLEANFILES = ctf-lexer.c ctf-parser.c ctf-parser.h ctf-parser.output
This page took 0.021932 seconds and 4 git commands to generate.