Make futex compat internal to liblttng-ust
[lttng-ust.git] / src / lib / lttng-ust / Makefile.am
1 # SPDX-License-Identifier: LGPL-2.1-only
2
3 AM_CFLAGS += -I$(srcdir)
4
5 lib_LTLIBRARIES = liblttng-ust.la
6
7 noinst_LTLIBRARIES = \
8 liblttng-ust-runtime.la \
9 liblttng-ust-support.la
10
11 liblttng_ust_runtime_la_SOURCES = \
12 bytecode.h \
13 lttng-ust-comm.c \
14 lttng-ust-abi.c \
15 lttng-probes.c \
16 lttng-bytecode.c \
17 lttng-bytecode.h \
18 lttng-bytecode-validator.c \
19 lttng-bytecode-specialize.c \
20 lttng-bytecode-interpreter.c \
21 lttng-context-provider.c \
22 lttng-context-vtid.c \
23 lttng-context-vpid.c \
24 lttng-context-pthread-id.c \
25 lttng-context-procname.c \
26 lttng-context-ip.c \
27 lttng-context-cpu-id.c \
28 lttng-context-cgroup-ns.c \
29 lttng-context-ipc-ns.c \
30 lttng-context-mnt-ns.c \
31 lttng-context-net-ns.c \
32 lttng-context-pid-ns.c \
33 lttng-context-time-ns.c \
34 lttng-context-user-ns.c \
35 lttng-context-uts-ns.c \
36 lttng-context-vuid.c \
37 lttng-context-veuid.c \
38 lttng-context-vsuid.c \
39 lttng-context-vgid.c \
40 lttng-context-vegid.c \
41 lttng-context-vsgid.c \
42 lttng-context.c \
43 lttng-events.c \
44 lttng-ust-statedump.c \
45 lttng-ust-statedump.h \
46 lttng-ust-statedump-provider.h \
47 futex.c \
48 futex.h \
49 ust_lib.c \
50 ust_lib.h \
51 context-internal.h \
52 context-provider-internal.h \
53 events.h \
54 clock.h \
55 lttng-ust-uuid.h \
56 tracef.c \
57 lttng-ust-tracef-provider.h \
58 tracelog.c \
59 lttng-ust-tracelog-provider.h \
60 event-notifier-notification.c \
61 rculfhash.c \
62 rculfhash.h \
63 rculfhash-internal.h \
64 rculfhash-mm-chunk.c \
65 rculfhash-mm-mmap.c \
66 rculfhash-mm-order.c \
67 strerror.c
68
69 if HAVE_PERF_EVENT
70 liblttng_ust_runtime_la_SOURCES += \
71 lttng-context-perf-counters.c \
72 perf_event.h
73 endif
74
75 liblttng_ust_support_la_SOURCES = \
76 lttng-tracer.h \
77 lttng-tracer-core.h \
78 ust-core.c \
79 lttng-rb-clients.h \
80 lttng-ring-buffer-client-template.h \
81 lttng-ring-buffer-client-discard.c \
82 lttng-ring-buffer-client-discard-rt.c \
83 lttng-ring-buffer-client-overwrite.c \
84 lttng-ring-buffer-client-overwrite-rt.c \
85 lttng-ring-buffer-metadata-client-template.h \
86 lttng-ring-buffer-metadata-client.c \
87 lttng-counter-client.h \
88 lttng-counter-client-percpu-32-modular.c \
89 lttng-counter-client-percpu-64-modular.c \
90 lttng-clock.c \
91 getcpu.c getcpu.h
92
93 liblttng_ust_la_SOURCES =
94
95 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
96
97 liblttng_ust_support_la_LIBADD = \
98 $(top_builddir)/src/common/libringbuffer.la \
99 $(top_builddir)/src/common/libcounter.la
100
101 liblttng_ust_la_LIBADD = \
102 -lrt \
103 $(top_builddir)/src/lib/lttng-ust-common/liblttng-ust-common.la \
104 $(top_builddir)/src/common/libustcomm.la \
105 $(top_builddir)/src/common/libcommon.la \
106 $(top_builddir)/src/lib/lttng-ust-tracepoint/liblttng-ust-tracepoint.la \
107 liblttng-ust-runtime.la liblttng-ust-support.la \
108 $(DL_LIBS)
109
110 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.032259 seconds and 4 git commands to generate.