b33ce5536b4124284100a52f1bc60c664987065a
[babeltrace.git] / formats / ctf / metadata / Makefile.am
1 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
2 BUILT_SOURCES = ctf-parser.h
3 AM_YFLAGS = -t -d -v
4
5 noinst_LTLIBRARIES = libctf-parser.la libctf-ast.la
6
7 noinst_HEADERS = \
8 ctf-scanner.h \
9 ctf-ast.h \
10 ctf-scanner-symbols.h \
11 objstack.h
12
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
15
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
20
21 libctf_ast_la_LIBADD = \
22 $(top_builddir)/lib/libbabeltrace.la
23
24 if BABELTRACE_BUILD_WITH_LIBUUID
25 libctf_ast_la_LIBADD += -luuid
26 endif
27 if BABELTRACE_BUILD_WITH_LIBC_UUID
28 libctf_ast_la_LIBADD += -lc
29 endif
30
31 noinst_PROGRAMS = ctf-parser-test
32 ctf_parser_test_SOURCES = ctf-parser-test.c
33
34 ctf_parser_test_LDADD = \
35 libctf-parser.la \
36 libctf-ast.la
This page took 0.033941 seconds and 3 git commands to generate.