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