Fix: swapped libelf and libdw names in configure error message
[babeltrace.git] / converter / Makefile.am
1 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
2 AM_LDFLAGS = -lpopt
3
4 bin_PROGRAMS = babeltrace babeltrace-log
5
6 babeltrace_SOURCES = \
7 babeltrace.c
8
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 = $(LD_NO_AS_NEEDED)
13 babeltrace_LDADD = \
14 $(top_builddir)/lib/libbabeltrace.la \
15 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
16 $(top_builddir)/compat/libcompat.la \
17 $(top_builddir)/formats/ctf-text/libbabeltrace-ctf-text.la \
18 $(top_builddir)/formats/ctf-metadata/libbabeltrace-ctf-metadata.la \
19 $(top_builddir)/formats/bt-dummy/libbabeltrace-dummy.la \
20 $(top_builddir)/formats/lttng-live/libbabeltrace-lttng-live.la
21
22 if ENABLE_DEBUGINFO
23 babeltrace_LDADD += $(top_builddir)/lib/libdebuginfo.la
24 endif
25
26 babeltrace_log_SOURCES = babeltrace-log.c
27
28 babeltrace_log_LDADD = \
29 $(top_builddir)/lib/libbabeltrace.la \
30 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
31 $(top_builddir)/compat/libcompat.la
32
33 if BABELTRACE_BUILD_WITH_LIBUUID
34 babeltrace_log_LDADD += -luuid
35 endif
36 if BABELTRACE_BUILD_WITH_LIBC_UUID
37 babeltrace_log_LDADD += -lc
38 endif
39
40 if BABELTRACE_BUILD_WITH_MINGW
41 babeltrace_log_LDADD += -lrpcrt4 -lintl -liconv -lole32 -lpopt -lpthread
42 babeltrace_LDADD += -lrpcrt4 -lintl -liconv -lole32 -lpopt -lpthread
43 endif
This page took 0.042493 seconds and 4 git commands to generate.