lttng-ctl: add event field value API
[lttng-tools.git] / src / common / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 AUTOMAKE_OPTIONS = subdir-objects
4
5 SUBDIRS = \
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.
13 DIST_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
33 noinst_LTLIBRARIES = libcommon.la
34 EXTRA_DIST = mi-lttng-4.0.xsd
35
36 libcommon_la_SOURCES = \
37 actions/action.c \
38 actions/group.c \
39 actions/notify.c \
40 actions/rotate-session.c \
41 actions/snapshot-session.c \
42 actions/start-session.c \
43 actions/stop-session.c \
44 buffer-view.h buffer-view.c \
45 common.h \
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 \
51 context.c context.h \
52 credentials.c credentials.h \
53 daemonize.c daemonize.h \
54 defaults.c \
55 domain.c \
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 \
62 event-expr-to-bytecode.c event-expr-to-bytecode.h \
63 event-field-value.c \
64 event-rule/event-rule.c \
65 event-rule/kprobe.c \
66 event-rule/syscall.c \
67 event-rule/uprobe.c \
68 event-rule/tracepoint.c \
69 filter.c filter.h \
70 fd-handle.c fd-handle.h \
71 fs-handle.c fs-handle.h fs-handle-internal.h \
72 futex.c futex.h \
73 kernel-probe.c \
74 location.c \
75 mi-lttng.c mi-lttng.h \
76 notification.c \
77 optional.h \
78 payload.c payload.h \
79 payload-view.c payload-view.h \
80 pipe.c pipe.h \
81 readwrite.c readwrite.h \
82 runas.c runas.h \
83 session-descriptor.c \
84 snapshot.c snapshot.h \
85 spawn-viewer.c spawn-viewer.h \
86 time.c \
87 trace-chunk.c trace-chunk.h \
88 trace-chunk-registry.h \
89 trigger.c \
90 unix.c unix.h \
91 uri.c uri.h \
92 userspace-probe.c \
93 utils.c utils.h \
94 uuid.c uuid.h \
95 thread.c thread.h \
96 tracker.c tracker.h \
97 waiter.c waiter.h
98
99 if HAVE_ELF_H
100 libcommon_la_SOURCES += \
101 lttng-elf.c lttng-elf.h
102 endif
103
104 libcommon_la_LIBADD = \
105 $(top_builddir)/src/common/bytecode/libbytecode.la \
106 $(top_builddir)/src/common/config/libconfig.la \
107 $(top_builddir)/src/common/compat/libcompat.la \
108 $(top_builddir)/src/common/hashtable/libhashtable.la \
109 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
110 $(top_builddir)/src/common/filter/libfilter.la \
111 $(top_builddir)/src/vendor/msgpack/libmsgpack.la
112
113 if BUILD_LIB_COMPAT
114 SUBDIRS += compat
115 endif
116
117 if BUILD_LIB_HEALTH
118 SUBDIRS += health
119 endif
120
121 if BUILD_LIB_HASHTABLE
122 SUBDIRS += hashtable
123 endif
124
125 if BUILD_LIB_KERNEL_CTL
126 SUBDIRS += kernel-ctl
127 endif
128
129 if BUILD_LIB_SESSIOND_COMM
130 SUBDIRS += sessiond-comm
131 endif
132
133 if BUILD_LIB_RELAYD
134 SUBDIRS += relayd
135 endif
136
137 if BUILD_LIB_FD_TRACKER
138 SUBDIRS += fd-tracker
139 endif
140
141 if BUILD_LIB_KERNEL_CONSUMER
142 SUBDIRS += kernel-consumer
143 endif
144
145 if BUILD_LIB_UST_CONSUMER
146 SUBDIRS += ust-consumer
147 endif
148
149 if BUILD_LIB_TESTPOINT
150 SUBDIRS += testpoint
151 endif
152
153 if BUILD_LIB_INDEX
154 SUBDIRS += index
155 endif
156
157 if BUILD_LIB_CONFIG
158 SUBDIRS += config
159 endif
160
161 if BUILD_LIB_CONSUMER
162 SUBDIRS += consumer
163 endif
164
165 noinst_HEADERS = \
166 align.h \
167 bug.h \
168 defaults.h \
169 error.h \
170 futex.h \
171 lttng-kernel.h \
172 lttng-kernel-old.h \
173 macros.h \
174 time.h \
175 uri.h \
176 utils.h
177
178 all-local:
179 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
180 for script in $(EXTRA_DIST); do \
181 cp -f $(srcdir)/$$script $(builddir); \
182 done; \
183 fi
184
185 clean-local:
186 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
187 for script in $(EXTRA_DIST); do \
188 rm -f $(builddir)/$$script; \
189 done; \
190 fi
This page took 0.032353 seconds and 4 git commands to generate.