SoW-2019-0007-2: Dynamic Snapshot: Triggers send partial event payload with notifications
[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
5024c2ac
JR
5SUBDIRS = \
6 string-utils \
7 bytecode \
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 \
5024c2ac
JR
27 fd-tracker \
28 bytecode \
29 filter \
30 argpar
28b6dfc8 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 \
5024c2ac 38 actions/group.c \
03bb2358 39 actions/notify.c \
5024c2ac
JR
40 actions/rotate-session.c \
41 actions/snapshot-session.c \
42 actions/start-session.c \
43 actions/stop-session.c \
28b6dfc8
SM
44 buffer-view.h buffer-view.c \
45 common.h \
5024c2ac
JR
46 conditions/buffer-usage.c \
47 conditions/condition.c \
48 conditions/event-rule.c \
49 conditions/session-consumed-size.c \
50 conditions/session-rotation.c \
28b6dfc8 51 context.c context.h \
5024c2ac 52 credentials.c credentials.h \
28b6dfc8
SM
53 daemonize.c daemonize.h \
54 defaults.c \
5024c2ac 55 domain.c \
28b6dfc8
SM
56 dynamic-array.c dynamic-array.h \
57 dynamic-buffer.c dynamic-buffer.h \
58 endpoint.c \
59 error.c error.h \
60 evaluation.c \
61 event.c \
5024c2ac
JR
62 event-expr.c \
63 event-expr-to-bytecode.c event-expr-to-bytecode.h \
64 event-field-value.c \
65 event-rule/event-rule.c \
66 event-rule/kprobe.c \
67 event-rule/kretprobe.c \
68 event-rule/syscall.c \
69 event-rule/uprobe.c \
70 event-rule/tracepoint.c \
28b6dfc8 71 filter.c filter.h \
75e36e37 72 fs-handle.c fs-handle.h fs-handle-internal.h \
28b6dfc8
SM
73 futex.c futex.h \
74 location.c \
75 mi-lttng.c mi-lttng.h \
76 notification.c \
28b6dfc8
SM
77 optional.h \
78 pipe.c pipe.h \
79 readwrite.c readwrite.h \
80 runas.c runas.h \
28b6dfc8 81 session-descriptor.c \
5024c2ac 82 snapshot.c snapshot.h \
dd392e94 83 spawn-viewer.c spawn-viewer.h \
28b6dfc8
SM
84 time.c \
85 trace-chunk.c trace-chunk.h \
86 trace-chunk-registry.h \
87 trigger.c \
88 unix.c unix.h \
89 uri.c uri.h \
90 userspace-probe.c \
91 utils.c utils.h \
92 uuid.c uuid.h \
159b042f 93 tracker.c tracker.h \
75e36e37 94 waiter.c waiter.h
b3f35e02 95
b1b34226 96if HAVE_ELF_H
28b6dfc8
SM
97libcommon_la_SOURCES += \
98 lttng-elf.c lttng-elf.h
b1b34226
MJ
99endif
100
b3f35e02 101libcommon_la_LIBADD = \
5024c2ac 102 $(top_builddir)/src/common/bytecode/libbytecode.la \
28b6dfc8
SM
103 $(top_builddir)/src/common/config/libconfig.la \
104 $(top_builddir)/src/common/compat/libcompat.la \
8bb66c3c 105 $(top_builddir)/src/common/hashtable/libhashtable.la \
5024c2ac
JR
106 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
107 $(top_builddir)/src/common/filter/libfilter.la \
108 -lmsgpackc
b3f35e02 109
87fb9fc0
JR
110if BUILD_LIB_COMPAT
111SUBDIRS += compat
112endif
113
114if BUILD_LIB_HEALTH
115SUBDIRS += health
116endif
117
118if BUILD_LIB_HASHTABLE
119SUBDIRS += hashtable
120endif
121
122if BUILD_LIB_KERNEL_CTL
123SUBDIRS += kernel-ctl
124endif
125
126if BUILD_LIB_SESSIOND_COMM
127SUBDIRS += sessiond-comm
128endif
129
130if BUILD_LIB_RELAYD
aa360a35
JG
131SUBDIRS += relayd
132endif
133
134if BUILD_LIB_FD_TRACKER
135SUBDIRS += fd-tracker
87fb9fc0
JR
136endif
137
138if BUILD_LIB_KERNEL_CONSUMER
139SUBDIRS += kernel-consumer
140endif
141
142if BUILD_LIB_UST_CONSUMER
143SUBDIRS += ust-consumer
144endif
145
146if BUILD_LIB_TESTPOINT
147SUBDIRS += testpoint
148endif
149
150if BUILD_LIB_INDEX
151SUBDIRS += index
152endif
153
154if BUILD_LIB_CONFIG
155SUBDIRS += config
156endif
157
158if BUILD_LIB_CONSUMER
159SUBDIRS += consumer
160endif
10a8a223 161
28b6dfc8
SM
162noinst_HEADERS = \
163 align.h \
164 bug.h \
165 defaults.h \
166 error.h \
167 futex.h \
168 lttng-kernel.h \
169 lttng-kernel-old.h \
170 macros.h \
171 time.h \
172 uri.h \
173 utils.h
1c39da61 174
c49fc5e4
JR
175all-local:
176 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
177 for script in $(EXTRA_DIST); do \
178 cp -f $(srcdir)/$$script $(builddir); \
179 done; \
180 fi
181
182clean-local:
183 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
184 for script in $(EXTRA_DIST); do \
185 rm -f $(builddir)/$$script; \
186 done; \
187 fi
This page took 0.07813 seconds and 5 git commands to generate.