1 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -lpopt
3 bin_PROGRAMS = babeltrace babeltrace-log
8 # -Wl,--no-as-needed is needed for recent gold linker who seems to think
9 # it knows better and considers libraries with constructors having
10 # side-effects as dead code. Note: we put plugin dependencies on the
11 # executable rather than the library because libtool does not seem to
12 # issue the LDFLAGS before the rpaths, which makes it useless.
13 babeltrace_LDFLAGS = -Wl,--no-as-needed
15 $(top_builddir)/lib/libbabeltrace.la \
16 $(top_builddir)/formats/ctf/libctf.la \
17 $(top_builddir)/formats/ctf/metadata/libctf-ast.la \
18 $(top_builddir)/formats/ctf-text/libctf-text.la \
19 $(top_builddir)/formats/bt-dummy/libbt-dummy.la
21 babeltrace_log_SOURCES = babeltrace-log.c
23 babeltrace_log_LDADD = \
24 $(top_builddir)/lib/libbabeltrace.la \
25 $(top_builddir)/formats/ctf/libctf.la