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