Cleanup: update ifdef wrapper name
[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 = -Wl,--no-as-needed
13 babeltrace_LDADD = \
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
18
19 babeltrace_log_SOURCES = babeltrace-log.c
20
21 babeltrace_log_LDADD = \
22 $(top_builddir)/lib/libbabeltrace.la \
23 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la
24
25 if BABELTRACE_BUILD_WITH_LIBUUID
26 babeltrace_log_LDADD += -luuid
27 endif
28 if BABELTRACE_BUILD_WITH_LIBC_UUID
29 babeltrace_log_LDADD += -lc
30 endif
This page took 0.029787 seconds and 4 git commands to generate.