Fix: lttng: list_triggers: use proper format specifier for uint64_t
[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
SM
5SUBDIRS = \
6 string-utils \
0ae3cfc6 7 bytecode \
e2fb96d8
SM
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 \
e4d2f27a 27 fd-tracker \
0ae3cfc6 28 bytecode \
e2fb96d8
SM
29 filter \
30 argpar
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 \
0c51e8f3 38 actions/group.c \
03bb2358 39 actions/notify.c \
bfb2ec6a 40 actions/rotate-session.c \
757c48a2 41 actions/snapshot-session.c \
58397d0d 42 actions/start-session.c \
931bdbaa 43 actions/stop-session.c \
28b6dfc8
SM
44 buffer-view.h buffer-view.c \
45 common.h \
ae20d1bd
JR
46 conditions/buffer-usage.c \
47 conditions/condition.c \
e393070a 48 conditions/on-event.c \
ae20d1bd
JR
49 conditions/session-consumed-size.c \
50 conditions/session-rotation.c \
28b6dfc8 51 context.c context.h \
894e6e1c 52 credentials.c credentials.h \
28b6dfc8
SM
53 daemonize.c daemonize.h \
54 defaults.c \
c0374092 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 \
748b5f7b 62 event-expr-to-bytecode.c event-expr-to-bytecode.h \
d28fcdec 63 event-field-value.c \
7a3dcaf6 64 event-rule/event-rule.c \
a3c51653 65 event-rule/kernel-probe.c \
e6a39346 66 event-rule/syscall.c \
e957bf98 67 event-rule/userspace-probe.c \
6d420eff 68 event-rule/tracepoint.c \
28b6dfc8 69 filter.c filter.h \
dd1bac00 70 fd-handle.c fd-handle.h \
75e36e37 71 fs-handle.c fs-handle.h fs-handle-internal.h \
28b6dfc8 72 futex.c futex.h \
808cb744 73 kernel-probe.c \
246611b0 74 index-allocator.c index-allocator.h \
28b6dfc8 75 location.c \
85b05318 76 log-level-rule.c \
28b6dfc8
SM
77 mi-lttng.c mi-lttng.h \
78 notification.c \
28b6dfc8 79 optional.h \
9e620ea7
JG
80 payload.c payload.h \
81 payload-view.c payload-view.h \
28b6dfc8
SM
82 pipe.c pipe.h \
83 readwrite.c readwrite.h \
84 runas.c runas.h \
b7fc068d 85 shm.c shm.h \
28b6dfc8 86 session-descriptor.c \
b30fa191 87 snapshot.c snapshot.h \
dd392e94 88 spawn-viewer.c spawn-viewer.h \
28b6dfc8
SM
89 time.c \
90 trace-chunk.c trace-chunk.h \
91 trace-chunk-registry.h \
92 trigger.c \
93 unix.c unix.h \
94 uri.c uri.h \
95 userspace-probe.c \
96 utils.c utils.h \
97 uuid.c uuid.h \
cb8d0d24 98 thread.c thread.h \
159b042f 99 tracker.c tracker.h \
75e36e37 100 waiter.c waiter.h
b3f35e02 101
b1b34226 102if HAVE_ELF_H
28b6dfc8
SM
103libcommon_la_SOURCES += \
104 lttng-elf.c lttng-elf.h
b1b34226
MJ
105endif
106
b3f35e02 107libcommon_la_LIBADD = \
0ae3cfc6 108 $(top_builddir)/src/common/bytecode/libbytecode.la \
28b6dfc8
SM
109 $(top_builddir)/src/common/config/libconfig.la \
110 $(top_builddir)/src/common/compat/libcompat.la \
8bb66c3c 111 $(top_builddir)/src/common/hashtable/libhashtable.la \
e4d2f27a 112 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
116a02e3
JG
113 $(top_builddir)/src/common/filter/libfilter.la \
114 $(top_builddir)/src/vendor/msgpack/libmsgpack.la
b3f35e02 115
87fb9fc0
JR
116if BUILD_LIB_COMPAT
117SUBDIRS += compat
118endif
119
120if BUILD_LIB_HEALTH
121SUBDIRS += health
122endif
123
124if BUILD_LIB_HASHTABLE
125SUBDIRS += hashtable
126endif
127
128if BUILD_LIB_KERNEL_CTL
129SUBDIRS += kernel-ctl
130endif
131
132if BUILD_LIB_SESSIOND_COMM
133SUBDIRS += sessiond-comm
134endif
135
136if BUILD_LIB_RELAYD
aa360a35
JG
137SUBDIRS += relayd
138endif
139
140if BUILD_LIB_FD_TRACKER
141SUBDIRS += fd-tracker
87fb9fc0
JR
142endif
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
160if BUILD_LIB_CONFIG
161SUBDIRS += config
162endif
163
164if BUILD_LIB_CONSUMER
165SUBDIRS += consumer
166endif
10a8a223 167
28b6dfc8
SM
168noinst_HEADERS = \
169 align.h \
170 bug.h \
171 defaults.h \
172 error.h \
173 futex.h \
174 lttng-kernel.h \
175 lttng-kernel-old.h \
176 macros.h \
177 time.h \
178 uri.h \
179 utils.h
1c39da61 180
c49fc5e4
JR
181all-local:
182 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
183 for script in $(EXTRA_DIST); do \
184 cp -f $(srcdir)/$$script $(builddir); \
185 done; \
186 fi
187
188clean-local:
189 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
190 for script in $(EXTRA_DIST); do \
191 rm -f $(builddir)/$$script; \
192 done; \
193 fi
This page took 0.06493 seconds and 4 git commands to generate.