doc: fix passing non-event messages in distill examples
[babeltrace.git] / src / Makefile.am
... / ...
CommitLineData
1# SPDX-License-Identifier: MIT
2
3# Build 'common' first to ensure 'version.h' is generated before any
4# compilation.
5SUBDIRS = \
6 common \
7 . \
8 plugins \
9 cli \
10 bindings
11
12noinst_HEADERS = \
13 cpp-common/bt2/clock-class.hpp \
14 cpp-common/bt2/clock-snapshot.hpp \
15 cpp-common/bt2/common-iter.hpp \
16 cpp-common/bt2/exc.hpp \
17 cpp-common/bt2/field-class.hpp \
18 cpp-common/bt2/field.hpp \
19 cpp-common/bt2/field-path.hpp \
20 cpp-common/bt2/integer-range.hpp \
21 cpp-common/bt2/integer-range-set.hpp \
22 cpp-common/bt2/internal/borrowed-obj.hpp \
23 cpp-common/bt2/internal/shared-obj.hpp \
24 cpp-common/bt2/internal/utils.hpp \
25 cpp-common/bt2/logging.hpp \
26 cpp-common/bt2/message.hpp \
27 cpp-common/bt2/trace-ir.hpp \
28 cpp-common/bt2/type-traits.hpp \
29 cpp-common/bt2/value.hpp \
30 cpp-common/align.hpp \
31 cpp-common/cfg-error-reporting.hpp \
32 cpp-common/cfg-error-reporting-throw.hpp \
33 cpp-common/cfg-logging-error-reporting.hpp \
34 cpp-common/cfg-logging-error-reporting-throw.hpp \
35 cpp-common/cfg-logging.hpp \
36 cpp-common/endian.hpp \
37 cpp-common/exc.hpp \
38 cpp-common/glib-up.hpp \
39 cpp-common/libc-up.hpp \
40 cpp-common/lib-str.hpp \
41 cpp-common/log-cfg.hpp \
42 cpp-common/make-unique.hpp \
43 cpp-common/nlohmann/json.hpp \
44 cpp-common/optional.hpp \
45 cpp-common/read-fixed-len-int.hpp \
46 cpp-common/safe-ops.hpp \
47 cpp-common/std-int.hpp \
48 cpp-common/string_view.hpp \
49 cpp-common/uuid.hpp \
50 cpp-common/uuid-view.hpp \
51 cpp-common/vector.hpp
52
53#
54# Convenience libraries
55#
56
57noinst_LTLIBRARIES = \
58 argpar/libargpar.la \
59 autodisc/libautodisc.la \
60 compat/libcompat.la \
61 ctfser/libctfser.la \
62 fd-cache/libfd-cache.la \
63 logging/liblogging.la \
64 param-parse/libparam-parse.la \
65 string-format/libstring-format.la
66
67argpar_libargpar_la_SOURCES = \
68 argpar/argpar.c \
69 argpar/argpar.h
70
71autodisc_libautodisc_la_SOURCES = \
72 autodisc/autodisc.c \
73 autodisc/autodisc.h
74
75compat_libcompat_la_SOURCES = \
76 compat/bitfield.h \
77 compat/compiler.h \
78 compat/endian.h \
79 compat/fcntl.h \
80 compat/glib.h \
81 compat/limits.h \
82 compat/memstream.h \
83 compat/mman.c \
84 compat/mman.h \
85 compat/socket.h \
86 compat/stdio.h \
87 compat/stdlib.h \
88 compat/string.h \
89 compat/time.h \
90 compat/unistd.h \
91 compat/utc.h
92
93ctfser_libctfser_la_SOURCES = \
94 ctfser/ctfser.c \
95 ctfser/ctfser.h
96
97fd_cache_libfd_cache_la_SOURCES = \
98 fd-cache/fd-cache.c \
99 fd-cache/fd-cache.h
100
101logging_liblogging_la_SOURCES = \
102 logging/comp-logging.h \
103 logging/log.c \
104 logging/log.h
105
106param_parse_libparam_parse_la_SOURCES = \
107 param-parse/param-parse.c \
108 param-parse/param-parse.h
109
110string_format_libstring_format_la_SOURCES = \
111 string-format/format-plugin-comp-cls-name.c \
112 string-format/format-plugin-comp-cls-name.h \
113 string-format/format-error.c \
114 string-format/format-error.h
115
116if ENABLE_PYTHON_COMMON_DEPS
117noinst_LTLIBRARIES += py-common/libpy-common.la
118
119py_common_libpy_common_la_SOURCES = \
120 py-common/py-common.c \
121 py-common/py-common.h
122
123py_common_libpy_common_la_CPPFLAGS = \
124 $(AM_CPPFLAGS) \
125 $(PYTHON_INCLUDE)
126
127endif # ENABLE_PYTHON_COMMON_DEPS
128
129#
130# Public libraries
131#
132
133lib_LTLIBRARIES = \
134 ctf-writer/libbabeltrace2-ctf-writer.la \
135 lib/libbabeltrace2.la
136
137lib_libbabeltrace2_la_SOURCES = \
138 lib/graph/message/discarded-items.c \
139 lib/graph/message/discarded-items.h \
140 lib/graph/message/event.c \
141 lib/graph/message/event.h \
142 lib/graph/message-iterator-class.c \
143 lib/graph/message-iterator-class.h \
144 lib/graph/message/iterator.h \
145 lib/graph/message/message.c \
146 lib/graph/message/message.h \
147 lib/graph/message/message-iterator-inactivity.c \
148 lib/graph/message/message-iterator-inactivity.h \
149 lib/graph/message/packet.c \
150 lib/graph/message/packet.h \
151 lib/graph/message/stream.c \
152 lib/graph/message/stream.h \
153 lib/graph/component.c \
154 lib/graph/component-class.c \
155 lib/graph/component-class.h \
156 lib/graph/component-class-sink-simple.c \
157 lib/graph/component-class-sink-simple.h \
158 lib/graph/component-descriptor-set.c \
159 lib/graph/component-descriptor-set.h \
160 lib/graph/component-filter.c \
161 lib/graph/component-filter.h \
162 lib/graph/component.h \
163 lib/graph/component-sink.c \
164 lib/graph/component-sink.h \
165 lib/graph/component-source.c \
166 lib/graph/component-source.h \
167 lib/graph/connection.c \
168 lib/graph/connection.h \
169 lib/graph/graph.c \
170 lib/graph/graph.h \
171 lib/graph/interrupter.c \
172 lib/graph/interrupter.h \
173 lib/graph/iterator.c \
174 lib/graph/mip.c \
175 lib/graph/port.c \
176 lib/graph/port.h \
177 lib/graph/query-executor.c \
178 lib/graph/query-executor.h \
179 lib/plugin/plugin.c \
180 lib/plugin/plugin.h \
181 lib/plugin/plugin-so.c \
182 lib/plugin/plugin-so.h \
183 lib/prio-heap/prio-heap.c \
184 lib/prio-heap/prio-heap.h \
185 lib/trace-ir/attributes.c \
186 lib/trace-ir/attributes.h \
187 lib/trace-ir/clock-class.c \
188 lib/trace-ir/clock-class.h \
189 lib/trace-ir/clock-snapshot.c \
190 lib/trace-ir/clock-snapshot.h \
191 lib/trace-ir/event.c \
192 lib/trace-ir/event-class.c \
193 lib/trace-ir/event-class.h \
194 lib/trace-ir/event.h \
195 lib/trace-ir/field.c \
196 lib/trace-ir/field-class.c \
197 lib/trace-ir/field-class.h \
198 lib/trace-ir/field.h \
199 lib/trace-ir/field-path.c \
200 lib/trace-ir/field-path.h \
201 lib/trace-ir/field-wrapper.c \
202 lib/trace-ir/field-wrapper.h \
203 lib/trace-ir/packet.c \
204 lib/trace-ir/packet.h \
205 lib/trace-ir/resolve-field-path.c \
206 lib/trace-ir/resolve-field-path.h \
207 lib/trace-ir/stream.c \
208 lib/trace-ir/stream-class.c \
209 lib/trace-ir/stream-class.h \
210 lib/trace-ir/stream.h \
211 lib/trace-ir/trace.c \
212 lib/trace-ir/trace-class.c \
213 lib/trace-ir/trace-class.h \
214 lib/trace-ir/trace.h \
215 lib/trace-ir/utils.c \
216 lib/trace-ir/utils.h \
217 lib/assert-cond-base.h \
218 lib/assert-cond.h \
219 lib/assert-cond.c \
220 lib/babeltrace2.c \
221 lib/current-thread.c \
222 lib/error.c \
223 lib/error.h \
224 lib/func-status.h \
225 lib/integer-range-set.c \
226 lib/integer-range-set.h \
227 lib/lib-logging.c \
228 lib/logging.c \
229 lib/logging.h \
230 lib/object-pool.c \
231 lib/object-pool.h \
232 lib/object.h \
233 lib/property.h \
234 lib/util.c \
235 lib/value.c \
236 lib/value.h
237
238lib_libbabeltrace2_la_LDFLAGS = \
239 $(AM_LDFLAGS) \
240 $(LT_NO_UNDEFINED) \
241 -version-info $(BABELTRACE_LIBRARY_VERSION)
242
243lib_libbabeltrace2_la_CPPFLAGS = \
244 $(AM_CPPFLAGS) \
245 '-DBABELTRACE_PLUGIN_PROVIDERS_DIR="$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"'
246
247lib_libbabeltrace2_la_LIBADD = \
248 logging/liblogging.la \
249 common/libbabeltrace2-common.la \
250 compat/libcompat.la
251
252ctf_writer_libbabeltrace2_ctf_writer_la_SOURCES = \
253 ctf-writer/assert-pre.h \
254 ctf-writer/attributes.c \
255 ctf-writer/attributes.h \
256 ctf-writer/clock.c \
257 ctf-writer/clock-class.c \
258 ctf-writer/clock-class.h \
259 ctf-writer/clock.h \
260 ctf-writer/event.c \
261 ctf-writer/event-class.c \
262 ctf-writer/event-class.h \
263 ctf-writer/event.h \
264 ctf-writer/field-path.c \
265 ctf-writer/field-path.h \
266 ctf-writer/fields.c \
267 ctf-writer/fields.h \
268 ctf-writer/field-types.c \
269 ctf-writer/field-types.h \
270 ctf-writer/field-wrapper.c \
271 ctf-writer/field-wrapper.h \
272 ctf-writer/functor.c \
273 ctf-writer/functor.h \
274 ctf-writer/logging.c \
275 ctf-writer/logging.h \
276 ctf-writer/object.c \
277 ctf-writer/object.h \
278 ctf-writer/object-pool.c \
279 ctf-writer/object-pool.h \
280 ctf-writer/resolve.c \
281 ctf-writer/resolve.h \
282 ctf-writer/stream.c \
283 ctf-writer/stream-class.c \
284 ctf-writer/stream-class.h \
285 ctf-writer/stream.h \
286 ctf-writer/trace.c \
287 ctf-writer/trace.h \
288 ctf-writer/utils.c \
289 ctf-writer/utils.h \
290 ctf-writer/validation.c \
291 ctf-writer/validation.h \
292 ctf-writer/values.c \
293 ctf-writer/values.h \
294 ctf-writer/visitor.c \
295 ctf-writer/visitor.h \
296 ctf-writer/writer.c \
297 ctf-writer/writer.h
298
299ctf_writer_libbabeltrace2_ctf_writer_la_LDFLAGS = \
300 $(AM_LDFLAGS) \
301 $(LT_NO_UNDEFINED) \
302 -version-info $(BABELTRACE_LIBRARY_VERSION)
303
304ctf_writer_libbabeltrace2_ctf_writer_la_LIBADD = \
305 logging/liblogging.la \
306 common/libbabeltrace2-common.la \
307 ctfser/libctfser.la \
308 compat/libcompat.la
309
310pkgconfigdir = $(libdir)/pkgconfig
311pkgconfig_DATA = \
312 babeltrace2-ctf-writer.pc \
313 babeltrace2.pc
314
315#
316# Python plugin provider
317#
318
319if ENABLE_PYTHON_PLUGINS
320pluginproviderdir = "$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"
321pluginprovider_LTLIBRARIES = python-plugin-provider/babeltrace2-python-plugin-provider.la
322
323python_plugin_provider_babeltrace2_python_plugin_provider_la_SOURCES = \
324 python-plugin-provider/python-plugin-provider.c \
325 python-plugin-provider/python-plugin-provider.h
326
327python_plugin_provider_babeltrace2_python_plugin_provider_la_LDFLAGS = \
328 $(AM_LDFLAGS) \
329 $(LT_NO_UNDEFINED) \
330 -avoid-version -module \
331 $(PYTHON_LDFLAGS)
332
333python_plugin_provider_babeltrace2_python_plugin_provider_la_CPPFLAGS = \
334 $(AM_CPPFLAGS) \
335 $(PYTHON_INCLUDE)
336
337python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD =
338
339# Link the Python plugin provider library with libbabeltrace2
340# when it's not built-in the babeltrace2 executable.
341if !ENABLE_BUILT_IN_PLUGINS
342python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD += \
343 logging/liblogging.la \
344 common/libbabeltrace2-common.la \
345 py-common/libpy-common.la \
346 lib/libbabeltrace2.la
347endif
348endif # ENABLE_PYTHON_PLUGINS
This page took 0.024393 seconds and 4 git commands to generate.