Create libuuid/libc uuid wrapper
[lttng-ust.git] / liblttng-ust / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS = -I$(top_srcdir)/include
2AM_CFLAGS = -fno-strict-aliasing
3
4noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
5
6lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
7
8liblttng_ust_tracepoint_la_SOURCES = \
9 tracepoint.c \
10 tracepoint-internal.h \
11 ltt-tracer-core.h \
12 jhash.h \
13 error.h
14liblttng_ust_tracepoint_la_LIBADD = \
15 -lurcu-bp
16liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
17liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" -fno-strict-aliasing
18
19liblttng_ust_runtime_la_SOURCES = \
20 lttng-ust-comm.c \
21 lttng-ust-abi.c \
22 ltt-probes.c \
23 probes/lttng-probe-ust.c \
24 probes/lttng-probe-ust.h \
25 lttng-context-vtid.c \
26 lttng-context-vpid.c \
27 lttng-context-pthread-id.c \
28 lttng-context-procname.c \
29 ltt-context.c \
30 ltt-events.c \
31 tracepoint-internal.h \
32 clock.h \
33 compat.h \
34 wait.h \
35 jhash.h \
36 error.h \
37 uuid.h
38
39liblttng_ust_support_la_SOURCES = \
40 ltt-tracer.h \
41 ltt-tracer-core.h \
42 ust-core.c \
43 ltt-ring-buffer-client.h \
44 ltt-ring-buffer-client-discard.c \
45 ltt-ring-buffer-client-overwrite.c \
46 ltt-ring-buffer-metadata-client.h \
47 ltt-ring-buffer-metadata-client.c
48
49liblttng_ust_la_SOURCES =
50
51liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
52
53liblttng_ust_support_la_LIBADD = \
54 $(top_builddir)/libringbuffer/libringbuffer.la
55
56liblttng_ust_la_LIBADD = \
57 -lpthread \
58 -lrt \
59 -llttng-ust-tracepoint \
60 $(top_builddir)/snprintf/libustsnprintf.la \
61 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
62 liblttng-ust-runtime.la liblttng-ust-support.la
63
64if LTTNG_UST_BUILD_WITH_LIBUUID
65liblttng_ust_la_LIBADD += -luuid
66endif
67if LTTNG_UST_BUILD_WITH_LIBC_UUID
68liblttng_ust_la_LIBADD += -lc
69endif
70
71liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" -fno-strict-aliasing
This page took 0.022597 seconds and 4 git commands to generate.