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