Commit | Line | Data |
---|---|---|
34ac0e6c | 1 | AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -lpopt |
4c8bfb7e | 2 | |
1e3d1cee | 3 | bin_PROGRAMS = babeltrace babeltrace-log |
4c8bfb7e | 4 | |
847bf71a MD |
5 | babeltrace_SOURCES = \ |
6 | babeltrace.c | |
7 | ||
e7c058b4 MD |
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 | |
847bf71a | 14 | babeltrace_LDADD = \ |
6f3077a2 | 15 | $(top_builddir)/lib/libbabeltrace.la \ |
e7c058b4 MD |
16 | $(top_builddir)/formats/libbabeltrace_registry.la \ |
17 | $(top_builddir)/formats/ctf/libctf.la \ | |
18 | $(top_builddir)/formats/ctf-text/libctf-text.la \ | |
19 | $(top_builddir)/formats/bt-dummy/libbt-dummy.la | |
1e3d1cee MD |
20 | |
21 | babeltrace_log_SOURCES = babeltrace-log.c | |
22 | ||
23 | babeltrace_log_LDADD = \ | |
24 | $(top_builddir)/formats/libbabeltrace_registry.la \ | |
25 | $(top_builddir)/formats/ctf/libctf.la |