ctf-fs: missing component->streams NULL check
[babeltrace.git] / formats / ctf / metadata / Makefile.am
1 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include \
2 -I$(srcdir)
3 BUILT_SOURCES = ctf-parser.h
4 AM_YFLAGS = -t -d -v
5
6 noinst_LTLIBRARIES = libctf-parser.la libctf-ast.la
7
8 noinst_HEADERS = \
9 ctf-scanner.h \
10 ctf-ast.h \
11 ctf-scanner-symbols.h \
12 objstack.h
13
14 libctf_parser_la_SOURCES = ctf-lexer.l ctf-parser.y objstack.c
15 # ctf-scanner-symbols.h is included to prefix generated yy_* symbols
16 # with bt_.
17 libctf_parser_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir) \
18 -include $(srcdir)/ctf-scanner-symbols.h
19
20 libctf_ast_la_CFLAGS = $(AM_CFLAGS) -I$(builddir)
21 libctf_ast_la_SOURCES = ctf-visitor-xml.c \
22 ctf-visitor-parent-links.c \
23 ctf-visitor-semantic-validator.c \
24 ctf-visitor-generate-io-struct.c
25 libctf_ast_la_LIBADD = \
26 $(top_builddir)/lib/libbabeltrace.la
27
28 if BABELTRACE_BUILD_WITH_LIBUUID
29 libctf_ast_la_LIBADD += -luuid
30 endif
31 if BABELTRACE_BUILD_WITH_LIBC_UUID
32 libctf_ast_la_LIBADD += -lc
33 endif
34 if BABELTRACE_BUILD_WITH_MINGW
35 libctf_ast_la_LIBADD += -lrpcrt4 -lintl -liconv -lole32 -lpopt
36 endif
37
38 noinst_PROGRAMS = ctf-parser-test
39 ctf_parser_test_SOURCES = ctf-parser-test.c
40 ctf_parser_test_CFLAGS = $(AM_CFLAGS) -I$(builddir)
41 ctf_parser_test_LDADD = \
42 libctf-parser.la \
43 libctf-ast.la
44
45 CLEANFILES = ctf-lexer.c ctf-parser.c ctf-parser.h ctf-parser.output
This page took 0.031322 seconds and 4 git commands to generate.