1 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
4 bin_PROGRAMS = babeltrace babeltrace-log
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
11 # side-effects as dead code.
12 babeltrace_LDFLAGS = -Wl,--no-as-needed
14 $(top_builddir)/lib/libbabeltrace.la \
15 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
16 $(top_builddir)/formats/ctf-text/libbabeltrace-ctf-text.la \
17 $(top_builddir)/formats/bt-dummy/libbabeltrace-dummy.la
19 babeltrace_log_SOURCES = babeltrace-log.c
21 babeltrace_log_LDADD = \
22 $(top_builddir)/lib/libbabeltrace.la \
23 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la
25 if BABELTRACE_BUILD_WITH_LIBUUID
26 babeltrace_log_LDADD += -luuid
28 if BABELTRACE_BUILD_WITH_LIBC_UUID
29 babeltrace_log_LDADD += -lc