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 | 5 | lib_LTLIBRARIES = libbabeltrace.la |
46322b33 | 6 | |
847bf71a MD |
7 | libbabeltrace_la_SOURCES = \ |
8 | babeltrace-lib.c | |
46322b33 | 9 | |
847bf71a | 10 | libbabeltrace_la_LIBADD = \ |
7fb21036 | 11 | $(top_builddir)/types/libbabeltrace_types.la \ |
0d0f5149 | 12 | $(top_builddir)/lib/libprio_heap.la |
847bf71a MD |
13 | |
14 | babeltrace_SOURCES = \ | |
15 | babeltrace.c | |
16 | ||
e7c058b4 MD |
17 | # -Wl,--no-as-needed is needed for recent gold linker who seems to think |
18 | # it knows better and considers libraries with constructors having | |
19 | # side-effects as dead code. Note: we put plugin dependencies on the | |
20 | # executable rather than the library because libtool does not seem to | |
21 | # issue the LDFLAGS before the rpaths, which makes it useless. | |
22 | babeltrace_LDFLAGS = -Wl,--no-as-needed | |
847bf71a MD |
23 | babeltrace_LDADD = \ |
24 | libbabeltrace.la \ | |
e7c058b4 MD |
25 | $(top_builddir)/formats/libbabeltrace_registry.la \ |
26 | $(top_builddir)/formats/ctf/libctf.la \ | |
27 | $(top_builddir)/formats/ctf-text/libctf-text.la \ | |
28 | $(top_builddir)/formats/bt-dummy/libbt-dummy.la | |
1e3d1cee MD |
29 | |
30 | babeltrace_log_SOURCES = babeltrace-log.c | |
31 | ||
32 | babeltrace_log_LDADD = \ | |
33 | $(top_builddir)/formats/libbabeltrace_registry.la \ | |
34 | $(top_builddir)/formats/ctf/libctf.la |