Commit | Line | Data |
---|---|---|
b6e4919f | 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include |
e1c62734 | 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 \ | |
5517d34d | 10 | tracepoint-weak-test.c \ |
8792fbae | 11 | tracepoint-internal.h \ |
7dd08bec | 12 | lttng-tracer-core.h \ |
8792fbae MD |
13 | jhash.h \ |
14 | error.h | |
9d4d2a63 | 15 | |
8792fbae | 16 | liblttng_ust_tracepoint_la_LIBADD = \ |
2723b9e6 | 17 | -lurcu-bp \ |
9d4d2a63 MJ |
18 | $(top_builddir)/snprintf/libustsnprintf.la \ |
19 | $(DL_LIBS) | |
20 | ||
8792fbae | 21 | liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
e1c62734 | 22 | liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS) |
c7dc133c | 23 | |
c1fca457 | 24 | liblttng_ust_runtime_la_SOURCES = \ |
5e96a467 | 25 | lttng-ust-comm.c \ |
c1fca457 | 26 | lttng-ust-abi.c \ |
7dd08bec | 27 | lttng-probes.c \ |
53569322 | 28 | lttng-context-provider.c \ |
3b402b40 | 29 | lttng-context-vtid.c \ |
c1ef86f0 | 30 | lttng-context-vpid.c \ |
8173ec7c | 31 | lttng-context-pthread-id.c \ |
4847e9bb | 32 | lttng-context-procname.c \ |
96f85541 | 33 | lttng-context-ip.c \ |
c7ea8487 | 34 | lttng-context-cpu-id.c \ |
735bef47 MJ |
35 | lttng-context-cgroup-ns.c \ |
36 | lttng-context-ipc-ns.c \ | |
37 | lttng-context-mnt-ns.c \ | |
38 | lttng-context-net-ns.c \ | |
39 | lttng-context-pid-ns.c \ | |
cefef7a7 | 40 | lttng-context-time-ns.c \ |
735bef47 MJ |
41 | lttng-context-user-ns.c \ |
42 | lttng-context-uts-ns.c \ | |
fca2f191 MJ |
43 | lttng-context-vuid.c \ |
44 | lttng-context-veuid.c \ | |
45 | lttng-context-vsuid.c \ | |
46 | lttng-context-vgid.c \ | |
47 | lttng-context-vegid.c \ | |
48 | lttng-context-vsgid.c \ | |
7dd08bec MD |
49 | lttng-context.c \ |
50 | lttng-events.c \ | |
2d78951a | 51 | lttng-filter.c \ |
b9d1a008 | 52 | lttng-filter.h \ |
97b58163 MD |
53 | lttng-filter-validator.c \ |
54 | lttng-filter-specialize.c \ | |
55 | lttng-filter-interpreter.c \ | |
cd54f6d9 | 56 | filter-bytecode.h \ |
bf956ec0 | 57 | lttng-hash-helper.h \ |
8e2aed3f | 58 | lttng-ust-elf.c \ |
cf73e0fe AB |
59 | lttng-ust-statedump.c \ |
60 | lttng-ust-statedump.h \ | |
61 | lttng-ust-statedump-provider.h \ | |
97c7c238 MD |
62 | ust_lib.c \ |
63 | ust_lib.h \ | |
b728d87e MD |
64 | tracepoint-internal.h \ |
65 | clock.h \ | |
f8b4fc8d | 66 | compat.h \ |
596c4223 | 67 | wait.h \ |
8f3f8c99 | 68 | jhash.h \ |
74d81a6c | 69 | lttng-ust-uuid.h \ |
641c659a MD |
70 | error.h \ |
71 | tracef.c \ | |
730bf2af | 72 | lttng-ust-tracef-provider.h \ |
0cb03c85 MD |
73 | tracelog.c \ |
74 | lttng-ust-tracelog-provider.h \ | |
e85a0294 PP |
75 | getenv.h \ |
76 | string-utils.c \ | |
735bef47 | 77 | string-utils.h \ |
fca2f191 MJ |
78 | ns.h \ |
79 | creds.h | |
c1fca457 | 80 | |
d58d1454 MD |
81 | if HAVE_PERF_EVENT |
82 | liblttng_ust_runtime_la_SOURCES += \ | |
77d7fa98 MD |
83 | lttng-context-perf-counters.c \ |
84 | perf_event.h | |
d58d1454 MD |
85 | endif |
86 | ||
c1fca457 | 87 | liblttng_ust_support_la_SOURCES = \ |
7dd08bec MD |
88 | lttng-tracer.h \ |
89 | lttng-tracer-core.h \ | |
c1fca457 | 90 | ust-core.c \ |
6f626d28 MD |
91 | getenv.h \ |
92 | getenv.c \ | |
53569322 | 93 | lttng-ust-dynamic-type.c \ |
82b9bde8 | 94 | lttng-rb-clients.h \ |
7dd08bec MD |
95 | lttng-ring-buffer-client.h \ |
96 | lttng-ring-buffer-client-discard.c \ | |
34a91bdb | 97 | lttng-ring-buffer-client-discard-rt.c \ |
7dd08bec | 98 | lttng-ring-buffer-client-overwrite.c \ |
34a91bdb | 99 | lttng-ring-buffer-client-overwrite-rt.c \ |
7dd08bec | 100 | lttng-ring-buffer-metadata-client.h \ |
f9364363 | 101 | lttng-ring-buffer-metadata-client.c \ |
5e1b7b8b | 102 | lttng-clock.c lttng-getcpu.c |
c1fca457 MD |
103 | |
104 | liblttng_ust_la_SOURCES = | |
15612a0f | 105 | |
a334646a | 106 | liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
c7dc133c | 107 | |
c1fca457 MD |
108 | liblttng_ust_support_la_LIBADD = \ |
109 | $(top_builddir)/libringbuffer/libringbuffer.la | |
110 | ||
69400ac4 | 111 | liblttng_ust_la_LIBADD = \ |
ca4525b5 | 112 | -lrt \ |
bf956ec0 | 113 | -lurcu-cds \ |
8d8a24c8 | 114 | $(top_builddir)/snprintf/libustsnprintf.la \ |
c1fca457 | 115 | $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \ |
b2684aaa | 116 | liblttng-ust-tracepoint.la \ |
9d4d2a63 MJ |
117 | liblttng-ust-runtime.la liblttng-ust-support.la \ |
118 | $(DL_LIBS) | |
ab12eb57 | 119 | |
e1c62734 | 120 | liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS) |