Create BSD wrapper for uuid
[babeltrace.git] / converter / Makefile.am
1 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -lpopt
2
3 bin_PROGRAMS = babeltrace babeltrace-log
4
5 babeltrace_SOURCES = \
6 babeltrace.c
7
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.
11 babeltrace_LDFLAGS = -Wl,--no-as-needed
12 babeltrace_LDADD = \
13 $(top_builddir)/lib/libbabeltrace.la \
14 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
15 $(top_builddir)/formats/ctf-text/libbabeltrace-ctf-text.la \
16 $(top_builddir)/formats/bt-dummy/libbabeltrace-dummy.la
17
18 babeltrace_log_SOURCES = babeltrace-log.c
19
20 babeltrace_log_LDADD = \
21 $(top_builddir)/lib/libbabeltrace.la \
22 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la
23
24 if BABELTRACE_BUILD_WITH_LIBUUID
25 babeltrace_log_LDADD += -luuid
26 endif
27 if BABELTRACE_BUILD_WITH_LIBC_UUID
28 babeltrace_log_LDADD += -lc
29 endif
This page took 0.035928 seconds and 4 git commands to generate.