Build system: implement REUSE with SPDX identifiers
[lttng-ust.git] / src / lib / lttng-ust / Makefile.am
1 # SPDX-FileCopyrightText: 2023 EfficiOS, Inc
2 #
3 # SPDX-License-Identifier: LGPL-2.1-only
4
5 AM_CFLAGS += -I$(srcdir)
6
7 lib_LTLIBRARIES = liblttng-ust.la
8
9 liblttng_ust_la_SOURCES = \
10 bytecode.h \
11 lttng-ust-comm.c \
12 lttng-ust-abi.c \
13 lttng-probes.c \
14 lttng-bytecode.c \
15 lttng-bytecode.h \
16 lttng-bytecode-validator.c \
17 lttng-bytecode-specialize.c \
18 lttng-bytecode-interpreter.c \
19 lttng-context-provider.c \
20 lttng-context-vtid.c \
21 lttng-context-vpid.c \
22 lttng-context-pthread-id.c \
23 lttng-context-procname.c \
24 lttng-context-ip.c \
25 lttng-context-cpu-id.c \
26 lttng-context-cgroup-ns.c \
27 lttng-context-ipc-ns.c \
28 lttng-context-mnt-ns.c \
29 lttng-context-net-ns.c \
30 lttng-context-pid-ns.c \
31 lttng-context-time-ns.c \
32 lttng-context-user-ns.c \
33 lttng-context-uts-ns.c \
34 lttng-context-vuid.c \
35 lttng-context-veuid.c \
36 lttng-context-vsuid.c \
37 lttng-context-vgid.c \
38 lttng-context-vegid.c \
39 lttng-context-vsgid.c \
40 lttng-context.c \
41 lttng-events.c \
42 lttng-ust-statedump.c \
43 lttng-ust-statedump.h \
44 lttng-ust-statedump-provider.h \
45 futex.c \
46 futex.h \
47 ust_lib.c \
48 ust_lib.h \
49 context-internal.h \
50 context-provider-internal.h \
51 events.h \
52 tracef.c \
53 lttng-ust-tracef-provider.h \
54 tracelog.c \
55 tracelog-internal.h \
56 lttng-ust-tracelog-provider.h \
57 event-notifier-notification.c \
58 rculfhash.c \
59 rculfhash.h \
60 rculfhash-internal.h \
61 rculfhash-mm-chunk.c \
62 rculfhash-mm-mmap.c \
63 rculfhash-mm-order.c \
64 strerror.c \
65 lttng-tracer-core.h
66
67 if HAVE_PERF_EVENT
68 liblttng_ust_la_SOURCES += \
69 lttng-context-perf-counters.c \
70 perf_event.h
71 endif
72
73 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
74
75 liblttng_ust_la_LIBADD = \
76 $(top_builddir)/src/common/libringbuffer.la \
77 $(top_builddir)/src/common/libringbuffer-clients.la \
78 $(top_builddir)/src/common/libcounter.la \
79 $(top_builddir)/src/common/libcounter-clients.la \
80 $(top_builddir)/src/common/libustcomm.la \
81 $(top_builddir)/src/common/libcommon.la \
82 $(top_builddir)/src/lib/lttng-ust-common/liblttng-ust-common.la \
83 $(top_builddir)/src/lib/lttng-ust-tracepoint/liblttng-ust-tracepoint.la \
84 -lrt \
85 $(DL_LIBS)
86
87 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.047361 seconds and 4 git commands to generate.