1 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
2 BUILT_SOURCES = ctf-parser.h
5 noinst_LTLIBRARIES = libctf-parser.la libctf-ast.la
10 ctf-scanner-symbols.h \
13 libctf_parser_la_SOURCES = ctf-lexer.l ctf-parser.y objstack.c
14 libctf_parser_la_CFLAGS = $(AM_CFLAGS) -include ctf-scanner-symbols.h
16 libctf_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
21 libctf_ast_la_LIBADD = \
22 $(top_builddir)/lib/libbabeltrace.la
24 if BABELTRACE_BUILD_WITH_LIBUUID
25 libctf_ast_la_LIBADD += -luuid
27 if BABELTRACE_BUILD_WITH_LIBC_UUID
28 libctf_ast_la_LIBADD += -lc
31 noinst_PROGRAMS = ctf-parser-test
32 ctf_parser_test_SOURCES = ctf-parser-test.c
34 ctf_parser_test_LDADD = \
38 CLEANFILES = ctf-lexer.c ctf-parser.c ctf-parser.h ctf-parser.output