Fix: Use list rather than ptr array for trace streams
[babeltrace.git] / converter / Makefile.am
CommitLineData
a2029731
MD
1AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
2AM_LDFLAGS = -lpopt
4c8bfb7e 3
1e3d1cee 4bin_PROGRAMS = babeltrace babeltrace-log
4c8bfb7e 5
847bf71a
MD
6babeltrace_SOURCES = \
7 babeltrace.c
8
e7c058b4
MD
9# -Wl,--no-as-needed is needed for recent gold linker who seems to think
10# it knows better and considers libraries with constructors having
30827463 11# side-effects as dead code.
203d6b31 12babeltrace_LDFLAGS = $(LD_NO_AS_NEEDED)
847bf71a 13babeltrace_LDADD = \
6f3077a2 14 $(top_builddir)/lib/libbabeltrace.la \
30827463 15 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
9d1e7de0 16 $(top_builddir)/compat/libcompat.la \
30827463 17 $(top_builddir)/formats/ctf-text/libbabeltrace-ctf-text.la \
5d93a76e 18 $(top_builddir)/formats/ctf-metadata/libbabeltrace-ctf-metadata.la \
4a744367
JD
19 $(top_builddir)/formats/bt-dummy/libbabeltrace-dummy.la \
20 $(top_builddir)/formats/lttng-live/libbabeltrace-lttng-live.la
1e3d1cee 21
eb75a494
AB
22if ENABLE_DEBUG_INFO
23babeltrace_LDADD += $(top_builddir)/lib/libdebug-info.la
b5a8598f
AB
24endif
25
1e3d1cee
MD
26babeltrace_log_SOURCES = babeltrace-log.c
27
28babeltrace_log_LDADD = \
e4195791 29 $(top_builddir)/lib/libbabeltrace.la \
9d1e7de0
JI
30 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
31 $(top_builddir)/compat/libcompat.la
a4dfa07b
MD
32
33if BABELTRACE_BUILD_WITH_LIBUUID
34babeltrace_log_LDADD += -luuid
35endif
36if BABELTRACE_BUILD_WITH_LIBC_UUID
37babeltrace_log_LDADD += -lc
38endif
58819898
JI
39
40if BABELTRACE_BUILD_WITH_MINGW
41babeltrace_log_LDADD += -lrpcrt4 -lintl -liconv -lole32 -lpopt -lpthread
42babeltrace_LDADD += -lrpcrt4 -lintl -liconv -lole32 -lpopt -lpthread
43endif
This page took 0.044467 seconds and 4 git commands to generate.