Remove lttng_event_rule_tracepoint
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1# SPDX-License-Identifier: GPL-2.0-only
2
3AUTOMAKE_OPTIONS = subdir-objects
4
5SUBDIRS = \
6 string-utils \
7 bytecode \
8 filter \
9 argpar
10
11# Make sure to always distribute all folders
12# since SUBDIRS is decided at configure time.
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 \
27 fd-tracker \
28 bytecode \
29 filter \
30 argpar
31
32# Common library
33noinst_LTLIBRARIES = libcommon.la
34EXTRA_DIST = mi-lttng-4.0.xsd
35
36libcommon_la_SOURCES = \
37 actions/action.c \
38 actions/list.c \
39 actions/notify.c \
40 actions/path.c \
41 actions/rotate-session.c \
42 actions/snapshot-session.c \
43 actions/start-session.c \
44 actions/stop-session.c \
45 actions/rate-policy.c \
46 buffer-view.h buffer-view.c \
47 common.h \
48 conditions/buffer-usage.c \
49 conditions/condition.c \
50 conditions/event-rule-matches.c \
51 conditions/session-consumed-size.c \
52 conditions/session-rotation.c \
53 context.c context.h \
54 credentials.c credentials.h \
55 daemonize.c daemonize.h \
56 defaults.c \
57 domain.c \
58 dynamic-array.c dynamic-array.h \
59 dynamic-buffer.c dynamic-buffer.h \
60 endpoint.c \
61 error.c error.h \
62 error-query.c \
63 evaluation.c \
64 event.c \
65 event-expr-to-bytecode.c event-expr-to-bytecode.h \
66 event-field-value.c \
67 event-rule/event-rule.c \
68 event-rule/kernel-kprobe.c \
69 event-rule/kernel-syscall.c \
70 event-rule/kernel-uprobe.c \
71 event-rule/kernel-tracepoint.c \
72 event-rule/user-tracepoint.c \
73 event-rule/log4j-logging.c \
74 event-rule/jul-logging.c \
75 event-rule/python-logging.c \
76 filter.c filter.h \
77 fd-handle.c fd-handle.h \
78 fs-handle.c fs-handle.h fs-handle-internal.h \
79 futex.c futex.h \
80 kernel-probe.c \
81 index-allocator.c index-allocator.h \
82 location.c \
83 log-level-rule.c \
84 mi-lttng.c mi-lttng.h \
85 notification.c \
86 optional.h \
87 payload.c payload.h \
88 payload-view.c payload-view.h \
89 pipe.c pipe.h \
90 readwrite.c readwrite.h \
91 runas.c runas.h \
92 shm.c shm.h \
93 session-descriptor.c \
94 snapshot.c snapshot.h \
95 spawn-viewer.c spawn-viewer.h \
96 time.c \
97 trace-chunk.c trace-chunk.h \
98 trace-chunk-registry.h \
99 trigger.c \
100 unix.c unix.h \
101 uri.c uri.h \
102 userspace-probe.c \
103 utils.c utils.h \
104 uuid.c uuid.h \
105 thread.c thread.h \
106 tracker.c tracker.h \
107 waiter.c waiter.h
108
109if HAVE_ELF_H
110libcommon_la_SOURCES += \
111 lttng-elf.c lttng-elf.h
112endif
113
114libcommon_la_LIBADD = \
115 $(top_builddir)/src/common/bytecode/libbytecode.la \
116 $(top_builddir)/src/common/config/libconfig.la \
117 $(top_builddir)/src/common/compat/libcompat.la \
118 $(top_builddir)/src/common/hashtable/libhashtable.la \
119 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
120 $(top_builddir)/src/common/filter/libfilter.la \
121 $(top_builddir)/src/vendor/msgpack/libmsgpack.la
122
123if BUILD_LIB_COMPAT
124SUBDIRS += compat
125endif
126
127if BUILD_LIB_HEALTH
128SUBDIRS += health
129endif
130
131if BUILD_LIB_HASHTABLE
132SUBDIRS += hashtable
133endif
134
135if BUILD_LIB_KERNEL_CTL
136SUBDIRS += kernel-ctl
137endif
138
139if BUILD_LIB_SESSIOND_COMM
140SUBDIRS += sessiond-comm
141endif
142
143if BUILD_LIB_RELAYD
144SUBDIRS += relayd
145endif
146
147if BUILD_LIB_FD_TRACKER
148SUBDIRS += fd-tracker
149endif
150
151if BUILD_LIB_KERNEL_CONSUMER
152SUBDIRS += kernel-consumer
153endif
154
155if BUILD_LIB_UST_CONSUMER
156SUBDIRS += ust-consumer
157endif
158
159if BUILD_LIB_TESTPOINT
160SUBDIRS += testpoint
161endif
162
163if BUILD_LIB_INDEX
164SUBDIRS += index
165endif
166
167if BUILD_LIB_CONFIG
168SUBDIRS += config
169endif
170
171if BUILD_LIB_CONSUMER
172SUBDIRS += consumer
173endif
174
175noinst_HEADERS = \
176 align.h \
177 bug.h \
178 defaults.h \
179 error.h \
180 futex.h \
181 lttng-kernel.h \
182 lttng-kernel-old.h \
183 macros.h \
184 time.h \
185 uri.h \
186 utils.h
187
188noinst_PROGRAMS = filter-grammar-test
189filter_grammar_test_SOURCES = filter-grammar-test.c
190filter_grammar_test_LDADD = \
191 libcommon.la
192
193all-local:
194 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
195 for script in $(EXTRA_DIST); do \
196 cp -f $(srcdir)/$$script $(builddir); \
197 done; \
198 fi
199
200clean-local:
201 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
202 for script in $(EXTRA_DIST); do \
203 rm -f $(builddir)/$$script; \
204 done; \
205 fi
This page took 0.022925 seconds and 4 git commands to generate.