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