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