Move libringbuffer to 'src/common/'
[lttng-ust.git] / src / liblttng-ust / Makefile.am
1 # SPDX-License-Identifier: LGPL-2.1-only
2
3 AM_CFLAGS += -I$(srcdir) -fno-strict-aliasing
4
5 noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
6
7 lib_LTLIBRARIES = liblttng-ust-common.la liblttng-ust-tracepoint.la liblttng-ust.la
8
9 # ust-common
10 liblttng_ust_common_la_SOURCES = \
11 lttng-ust-urcu.c \
12 lttng-ust-urcu-pointer.c
13
14 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
15
16 liblttng_ust_tracepoint_la_SOURCES = \
17 tracepoint.c \
18 tracepoint-weak-test.c \
19 tracepoint-internal.h \
20 lttng-tracer-core.h \
21 jhash.h \
22 error.h
23
24 liblttng_ust_tracepoint_la_LIBADD = \
25 liblttng-ust-common.la \
26 $(top_builddir)/src/common/libcommon.la \
27 $(DL_LIBS)
28
29 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
30 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
31
32 liblttng_ust_runtime_la_SOURCES = \
33 bytecode.h \
34 lttng-ust-comm.c \
35 lttng-ust-abi.c \
36 lttng-probes.c \
37 lttng-bytecode.c \
38 lttng-bytecode.h \
39 lttng-bytecode-validator.c \
40 lttng-bytecode-specialize.c \
41 lttng-bytecode-interpreter.c \
42 lttng-context-provider.c \
43 lttng-context-vtid.c \
44 lttng-context-vpid.c \
45 lttng-context-pthread-id.c \
46 lttng-context-procname.c \
47 lttng-context-ip.c \
48 lttng-context-cpu-id.c \
49 lttng-context-cgroup-ns.c \
50 lttng-context-ipc-ns.c \
51 lttng-context-mnt-ns.c \
52 lttng-context-net-ns.c \
53 lttng-context-pid-ns.c \
54 lttng-context-time-ns.c \
55 lttng-context-user-ns.c \
56 lttng-context-uts-ns.c \
57 lttng-context-vuid.c \
58 lttng-context-veuid.c \
59 lttng-context-vsuid.c \
60 lttng-context-vgid.c \
61 lttng-context-vegid.c \
62 lttng-context-vsgid.c \
63 lttng-context.c \
64 lttng-events.c \
65 lttng-hash-helper.h \
66 lttng-ust-elf.c \
67 lttng-ust-elf.h \
68 lttng-ust-statedump.c \
69 lttng-ust-statedump.h \
70 lttng-ust-statedump-provider.h \
71 ust_lib.c \
72 ust_lib.h \
73 context-internal.h \
74 context-provider-internal.h \
75 tracepoint-internal.h \
76 ust-events-internal.h \
77 clock.h \
78 compat.h \
79 wait.h \
80 jhash.h \
81 lttng-ust-uuid.h \
82 error.h \
83 tracef.c \
84 lttng-ust-tracef-provider.h \
85 tracelog.c \
86 lttng-ust-tracelog-provider.h \
87 getenv.h \
88 string-utils.c \
89 string-utils.h \
90 event-notifier-notification.c \
91 ns.h \
92 creds.h \
93 rculfhash.c \
94 rculfhash.h \
95 rculfhash-internal.h \
96 rculfhash-mm-chunk.c \
97 rculfhash-mm-mmap.c \
98 rculfhash-mm-order.c \
99 compat_futex.c \
100 futex.h
101
102 if HAVE_PERF_EVENT
103 liblttng_ust_runtime_la_SOURCES += \
104 lttng-context-perf-counters.c \
105 perf_event.h
106 endif
107
108 liblttng_ust_support_la_SOURCES = \
109 lttng-tracer.h \
110 lttng-tracer-core.h \
111 ust-core.c \
112 getenv.h \
113 getenv.c \
114 lttng-ust-dynamic-type.c \
115 lttng-rb-clients.h \
116 lttng-ring-buffer-client-template.h \
117 lttng-ring-buffer-client-discard.c \
118 lttng-ring-buffer-client-discard-rt.c \
119 lttng-ring-buffer-client-overwrite.c \
120 lttng-ring-buffer-client-overwrite-rt.c \
121 lttng-ring-buffer-metadata-client-template.h \
122 lttng-ring-buffer-metadata-client.c \
123 lttng-counter-client.h \
124 lttng-counter-client-percpu-32-modular.c \
125 lttng-counter-client-percpu-64-modular.c \
126 lttng-clock.c lttng-getcpu.c
127
128 liblttng_ust_la_SOURCES =
129
130 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
131
132 liblttng_ust_support_la_LIBADD = \
133 $(top_builddir)/src/common/libringbuffer.la \
134 $(top_builddir)/src/common/libcounter.la
135
136 liblttng_ust_la_LIBADD = \
137 -lrt \
138 liblttng-ust-common.la \
139 $(top_builddir)/src/common/libcommon.la \
140 $(top_builddir)/src/liblttng-ust-comm/liblttng-ust-comm.la \
141 liblttng-ust-tracepoint.la \
142 liblttng-ust-runtime.la liblttng-ust-support.la \
143 $(DL_LIBS)
144
145 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.034249 seconds and 4 git commands to generate.