plugins/ctf/common/metadata: logging: standardize in parser and lexer
[babeltrace.git] / plugins / ctf / common / metadata / Makefile.am
1 AM_CPPFLAGS = $(CPPFLAGS) -I$(top_srcdir)/include -I$(srcdir)
2 AM_CFLAGS = $(PACKAGE_CFLAGS)
3 BUILT_SOURCES = parser.h parser.c lexer.c
4 AM_YFLAGS = -t -d -v
5
6 noinst_LTLIBRARIES = libctf-parser.la libctf-ast.la
7
8 libctf_parser_la_SOURCES = lexer.l parser.y objstack.c
9 # ctf-scanner-symbols.h is included to prefix generated yy_* symbols
10 # with bt_.
11 libctf_parser_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir) \
12 -include $(srcdir)/scanner-symbols.h
13 libctf_parser_la_CFLAGS = $(AM_CFLAGS) -Wno-unused-function
14
15 libctf_ast_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)
16 libctf_ast_la_SOURCES = \
17 visitor-generate-ir.c \
18 visitor-semantic-validator.c \
19 visitor-parent-links.c \
20 ast.h \
21 objstack.h \
22 parser.h \
23 scanner.h \
24 scanner-symbols.h \
25 decoder.c \
26 decoder.h \
27 logging.c \
28 logging.h
29
30 libctf_ast_la_LIBADD =
31
32 if BABELTRACE_BUILD_WITH_LIBUUID
33 libctf_ast_la_LIBADD += -luuid
34 endif
35
36 if BABELTRACE_BUILD_WITH_LIBC_UUID
37 libctf_ast_la_LIBADD += -lc
38 endif
39
40 if BABELTRACE_BUILD_WITH_MINGW
41 libctf_ast_la_LIBADD += -lrpcrt4 -lintl -liconv -lole32 -lpopt
42 endif
43
44 CLEANFILES = $(BUILT_SOURCES) parser.output
This page took 0.046644 seconds and 5 git commands to generate.