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