Commit | Line | Data |
---|---|---|
8b9d5b5e MD |
1 | AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include |
2 | BUILT_SOURCES = ctf-parser.h | |
0fbb34a5 | 3 | AM_YFLAGS = -t -d -v |
8b9d5b5e | 4 | |
30827463 | 5 | noinst_LTLIBRARIES = libctf-parser.la libctf-ast.la |
8b9d5b5e | 6 | |
e92927d1 MD |
7 | noinst_HEADERS = \ |
8 | ctf-scanner.h \ | |
9 | ctf-ast.h | |
10 | ||
7fb21036 | 11 | libctf_parser_la_SOURCES = ctf-lexer.l ctf-parser.y |
34d3acc4 | 12 | |
7fb21036 | 13 | libctf_ast_la_SOURCES = ctf-visitor-xml.c \ |
78af2bcd MD |
14 | ctf-visitor-parent-links.c \ |
15 | ctf-visitor-semantic-validator.c \ | |
16 | ctf-visitor-generate-io-struct.c | |
17 | ||
7fb21036 | 18 | libctf_ast_la_LIBADD = \ |
76863fd6 | 19 | $(top_builddir)/lib/libbabeltrace.la |
7fb21036 | 20 | |
a4dfa07b MD |
21 | if BABELTRACE_BUILD_WITH_LIBUUID |
22 | libctf_ast_la_LIBADD += -luuid | |
23 | endif | |
24 | if BABELTRACE_BUILD_WITH_LIBC_UUID | |
25 | libctf_ast_la_LIBADD += -lc | |
26 | endif | |
27 | ||
b57d9fed | 28 | noinst_PROGRAMS = ctf-parser-test |
78af2bcd | 29 | ctf_parser_test_SOURCES = ctf-parser-test.c |
7fb21036 MD |
30 | |
31 | ctf_parser_test_LDADD = \ | |
32 | libctf-parser.la \ | |
33 | libctf-ast.la |