Commit | Line | Data |
---|---|---|
15612a0f | 1 | AM_CPPFLAGS = -I$(top_srcdir)/include |
16c83055 | 2 | AM_CFLAGS = -fno-strict-aliasing |
55355fa5 | 3 | |
c1fca457 MD |
4 | noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la |
5 | ||
8792fbae MD |
6 | lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la |
7 | ||
8 | liblttng_ust_tracepoint_la_SOURCES = \ | |
9 | tracepoint.c \ | |
10 | tracepoint-internal.h \ | |
11 | ltt-tracer-core.h \ | |
12 | jhash.h \ | |
13 | error.h | |
14 | liblttng_ust_tracepoint_la_LIBADD = \ | |
15 | -lurcu-bp | |
16 | liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) | |
17 | liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" -fno-strict-aliasing | |
c7dc133c | 18 | |
c1fca457 | 19 | liblttng_ust_runtime_la_SOURCES = \ |
5e96a467 | 20 | lttng-ust-comm.c \ |
c1fca457 MD |
21 | lttng-ust-abi.c \ |
22 | ltt-probes.c \ | |
a10cfdbd | 23 | probes/lttng-probe-ust.c \ |
8173ec7c | 24 | probes/lttng-probe-ust.h \ |
3b402b40 | 25 | lttng-context-vtid.c \ |
c1ef86f0 | 26 | lttng-context-vpid.c \ |
8173ec7c | 27 | lttng-context-pthread-id.c \ |
4847e9bb | 28 | lttng-context-procname.c \ |
c1fca457 MD |
29 | ltt-context.c \ |
30 | ltt-events.c \ | |
b728d87e MD |
31 | tracepoint-internal.h \ |
32 | clock.h \ | |
f8b4fc8d | 33 | compat.h \ |
596c4223 | 34 | wait.h \ |
8f3f8c99 | 35 | jhash.h \ |
19d8b1b3 | 36 | error.h \ |
eda498b8 | 37 | lttng-ust-uuid.h |
c1fca457 MD |
38 | |
39 | liblttng_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 | ||
49 | liblttng_ust_la_SOURCES = | |
15612a0f | 50 | |
a334646a | 51 | liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
c7dc133c | 52 | |
c1fca457 MD |
53 | liblttng_ust_support_la_LIBADD = \ |
54 | $(top_builddir)/libringbuffer/libringbuffer.la | |
55 | ||
69400ac4 | 56 | liblttng_ust_la_LIBADD = \ |
c7dc133c | 57 | -lpthread \ |
ca4525b5 | 58 | -lrt \ |
8792fbae | 59 | -llttng-ust-tracepoint \ |
8d8a24c8 | 60 | $(top_builddir)/snprintf/libustsnprintf.la \ |
c1fca457 MD |
61 | $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \ |
62 | liblttng-ust-runtime.la liblttng-ust-support.la | |
c7dc133c | 63 | |
19d8b1b3 MD |
64 | if LTTNG_UST_BUILD_WITH_LIBUUID |
65 | liblttng_ust_la_LIBADD += -luuid | |
66 | endif | |
67 | if LTTNG_UST_BUILD_WITH_LIBC_UUID | |
68 | liblttng_ust_la_LIBADD += -lc | |
69 | endif | |
70 | ||
7f0aeeba | 71 | liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" -fno-strict-aliasing |