Rename group action files to list files
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
ab5be9fa
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
26821431
MD
3AUTOMAKE_OPTIONS = subdir-objects
4
e2fb96d8
SM
5SUBDIRS = \
6 string-utils \
0ae3cfc6 7 bytecode \
e2fb96d8
SM
8 filter \
9 argpar
87fb9fc0
JR
10
11# Make sure to always distribute all folders
12# since SUBDIRS is decided at configure time.
28b6dfc8
SM
13DIST_SUBDIRS = \
14 compat \
15 health \
16 hashtable \
17 kernel-ctl \
18 sessiond-comm \
19 relayd \
20 kernel-consumer \
21 ust-consumer \
22 testpoint \
23 index \
24 config \
25 consumer \
26 string-utils \
e4d2f27a 27 fd-tracker \
0ae3cfc6 28 bytecode \
e2fb96d8
SM
29 filter \
30 argpar
31
b3f35e02
FD
32# Common library
33noinst_LTLIBRARIES = libcommon.la
01fac814 34EXTRA_DIST = mi-lttng-4.0.xsd
b3f35e02 35
28b6dfc8 36libcommon_la_SOURCES = \
03bb2358 37 actions/action.c \
ad63a966 38 actions/list.c \
03bb2358 39 actions/notify.c \
bfb2ec6a 40 actions/rotate-session.c \
757c48a2 41 actions/snapshot-session.c \
58397d0d 42 actions/start-session.c \
931bdbaa 43 actions/stop-session.c \
7f4d5b07 44 actions/rate-policy.c \
28b6dfc8
SM
45 buffer-view.h buffer-view.c \
46 common.h \
ae20d1bd
JR
47 conditions/buffer-usage.c \
48 conditions/condition.c \
670a26e4 49 conditions/event-rule-matches.c \
ae20d1bd
JR
50 conditions/session-consumed-size.c \
51 conditions/session-rotation.c \
28b6dfc8 52 context.c context.h \
894e6e1c 53 credentials.c credentials.h \
28b6dfc8
SM
54 daemonize.c daemonize.h \
55 defaults.c \
c0374092 56 domain.c \
28b6dfc8
SM
57 dynamic-array.c dynamic-array.h \
58 dynamic-buffer.c dynamic-buffer.h \
59 endpoint.c \
60 error.c error.h \
b99a0cb3 61 error-query.c \
28b6dfc8
SM
62 evaluation.c \
63 event.c \
748b5f7b 64 event-expr-to-bytecode.c event-expr-to-bytecode.h \
d28fcdec 65 event-field-value.c \
7a3dcaf6 66 event-rule/event-rule.c \
a3c51653 67 event-rule/kernel-probe.c \
e6a39346 68 event-rule/syscall.c \
e957bf98 69 event-rule/userspace-probe.c \
6d420eff 70 event-rule/tracepoint.c \
28b6dfc8 71 filter.c filter.h \
dd1bac00 72 fd-handle.c fd-handle.h \
75e36e37 73 fs-handle.c fs-handle.h fs-handle-internal.h \
28b6dfc8 74 futex.c futex.h \
808cb744 75 kernel-probe.c \
246611b0 76 index-allocator.c index-allocator.h \
28b6dfc8 77 location.c \
85b05318 78 log-level-rule.c \
28b6dfc8
SM
79 mi-lttng.c mi-lttng.h \
80 notification.c \
28b6dfc8 81 optional.h \
9e620ea7
JG
82 payload.c payload.h \
83 payload-view.c payload-view.h \
28b6dfc8
SM
84 pipe.c pipe.h \
85 readwrite.c readwrite.h \
86 runas.c runas.h \
b7fc068d 87 shm.c shm.h \
28b6dfc8 88 session-descriptor.c \
b30fa191 89 snapshot.c snapshot.h \
dd392e94 90 spawn-viewer.c spawn-viewer.h \
28b6dfc8
SM
91 time.c \
92 trace-chunk.c trace-chunk.h \
93 trace-chunk-registry.h \
94 trigger.c \
95 unix.c unix.h \
96 uri.c uri.h \
97 userspace-probe.c \
98 utils.c utils.h \
99 uuid.c uuid.h \
cb8d0d24 100 thread.c thread.h \
159b042f 101 tracker.c tracker.h \
75e36e37 102 waiter.c waiter.h
b3f35e02 103
b1b34226 104if HAVE_ELF_H
28b6dfc8
SM
105libcommon_la_SOURCES += \
106 lttng-elf.c lttng-elf.h
b1b34226
MJ
107endif
108
b3f35e02 109libcommon_la_LIBADD = \
0ae3cfc6 110 $(top_builddir)/src/common/bytecode/libbytecode.la \
28b6dfc8
SM
111 $(top_builddir)/src/common/config/libconfig.la \
112 $(top_builddir)/src/common/compat/libcompat.la \
8bb66c3c 113 $(top_builddir)/src/common/hashtable/libhashtable.la \
e4d2f27a 114 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
116a02e3
JG
115 $(top_builddir)/src/common/filter/libfilter.la \
116 $(top_builddir)/src/vendor/msgpack/libmsgpack.la
b3f35e02 117
87fb9fc0
JR
118if BUILD_LIB_COMPAT
119SUBDIRS += compat
120endif
121
122if BUILD_LIB_HEALTH
123SUBDIRS += health
124endif
125
126if BUILD_LIB_HASHTABLE
127SUBDIRS += hashtable
128endif
129
130if BUILD_LIB_KERNEL_CTL
131SUBDIRS += kernel-ctl
132endif
133
134if BUILD_LIB_SESSIOND_COMM
135SUBDIRS += sessiond-comm
136endif
137
138if BUILD_LIB_RELAYD
aa360a35
JG
139SUBDIRS += relayd
140endif
141
142if BUILD_LIB_FD_TRACKER
143SUBDIRS += fd-tracker
87fb9fc0
JR
144endif
145
146if BUILD_LIB_KERNEL_CONSUMER
147SUBDIRS += kernel-consumer
148endif
149
150if BUILD_LIB_UST_CONSUMER
151SUBDIRS += ust-consumer
152endif
153
154if BUILD_LIB_TESTPOINT
155SUBDIRS += testpoint
156endif
157
158if BUILD_LIB_INDEX
159SUBDIRS += index
160endif
161
162if BUILD_LIB_CONFIG
163SUBDIRS += config
164endif
165
166if BUILD_LIB_CONSUMER
167SUBDIRS += consumer
168endif
10a8a223 169
28b6dfc8
SM
170noinst_HEADERS = \
171 align.h \
172 bug.h \
173 defaults.h \
174 error.h \
175 futex.h \
176 lttng-kernel.h \
177 lttng-kernel-old.h \
178 macros.h \
179 time.h \
180 uri.h \
181 utils.h
1c39da61 182
c49fc5e4
JR
183all-local:
184 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
185 for script in $(EXTRA_DIST); do \
186 cp -f $(srcdir)/$$script $(builddir); \
187 done; \
188 fi
189
190clean-local:
191 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
192 for script in $(EXTRA_DIST); do \
193 rm -f $(builddir)/$$script; \
194 done; \
195 fi
This page took 0.078981 seconds and 4 git commands to generate.