Fix: error: remove trailing period from error descriptions
[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/list.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 actions/rate-policy.c \
45 buffer-view.h buffer-view.c \
46 common.h \
47 conditions/buffer-usage.c \
48 conditions/condition.c \
49 conditions/event-rule-matches.c \
50 conditions/session-consumed-size.c \
51 conditions/session-rotation.c \
52 context.c context.h \
53 credentials.c credentials.h \
54 daemonize.c daemonize.h \
55 defaults.c \
56 domain.c \
57 dynamic-array.c dynamic-array.h \
58 dynamic-buffer.c dynamic-buffer.h \
59 endpoint.c \
60 error.c error.h \
61 error-query.c \
62 evaluation.c \
63 event.c \
64 event-expr-to-bytecode.c event-expr-to-bytecode.h \
65 event-field-value.c \
66 event-rule/event-rule.c \
67 event-rule/kernel-probe.c \
68 event-rule/syscall.c \
69 event-rule/userspace-probe.c \
70 event-rule/tracepoint.c \
71 filter.c filter.h \
72 fd-handle.c fd-handle.h \
73 fs-handle.c fs-handle.h fs-handle-internal.h \
74 futex.c futex.h \
75 kernel-probe.c \
76 index-allocator.c index-allocator.h \
77 location.c \
78 log-level-rule.c \
79 mi-lttng.c mi-lttng.h \
80 notification.c \
81 optional.h \
82 payload.c payload.h \
83 payload-view.c payload-view.h \
84 pipe.c pipe.h \
85 readwrite.c readwrite.h \
86 runas.c runas.h \
87 shm.c shm.h \
88 session-descriptor.c \
89 snapshot.c snapshot.h \
90 spawn-viewer.c spawn-viewer.h \
91 time.c \
92 trace-chunk.c trace-chunk.h \
93 trace-chunk-registry.h \
94 trigger.c \
95 unix.c unix.h \
96 uri.c uri.h \
97 userspace-probe.c \
98 utils.c utils.h \
99 uuid.c uuid.h \
100 thread.c thread.h \
101 tracker.c tracker.h \
102 waiter.c waiter.h
103
104 if HAVE_ELF_H
105 libcommon_la_SOURCES += \
106 lttng-elf.c lttng-elf.h
107 endif
108
109 libcommon_la_LIBADD = \
110 $(top_builddir)/src/common/bytecode/libbytecode.la \
111 $(top_builddir)/src/common/config/libconfig.la \
112 $(top_builddir)/src/common/compat/libcompat.la \
113 $(top_builddir)/src/common/hashtable/libhashtable.la \
114 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
115 $(top_builddir)/src/common/filter/libfilter.la \
116 $(top_builddir)/src/vendor/msgpack/libmsgpack.la
117
118 if BUILD_LIB_COMPAT
119 SUBDIRS += compat
120 endif
121
122 if BUILD_LIB_HEALTH
123 SUBDIRS += health
124 endif
125
126 if BUILD_LIB_HASHTABLE
127 SUBDIRS += hashtable
128 endif
129
130 if BUILD_LIB_KERNEL_CTL
131 SUBDIRS += kernel-ctl
132 endif
133
134 if BUILD_LIB_SESSIOND_COMM
135 SUBDIRS += sessiond-comm
136 endif
137
138 if BUILD_LIB_RELAYD
139 SUBDIRS += relayd
140 endif
141
142 if BUILD_LIB_FD_TRACKER
143 SUBDIRS += fd-tracker
144 endif
145
146 if BUILD_LIB_KERNEL_CONSUMER
147 SUBDIRS += kernel-consumer
148 endif
149
150 if BUILD_LIB_UST_CONSUMER
151 SUBDIRS += ust-consumer
152 endif
153
154 if BUILD_LIB_TESTPOINT
155 SUBDIRS += testpoint
156 endif
157
158 if BUILD_LIB_INDEX
159 SUBDIRS += index
160 endif
161
162 if BUILD_LIB_CONFIG
163 SUBDIRS += config
164 endif
165
166 if BUILD_LIB_CONSUMER
167 SUBDIRS += consumer
168 endif
169
170 noinst_HEADERS = \
171 align.h \
172 bug.h \
173 defaults.h \
174 error.h \
175 futex.h \
176 lttng-kernel.h \
177 lttng-kernel-old.h \
178 macros.h \
179 time.h \
180 uri.h \
181 utils.h
182
183 noinst_PROGRAMS = filter-grammar-test
184 filter_grammar_test_SOURCES = filter-grammar-test.c
185 filter_grammar_test_LDADD = \
186 libcommon.la
187
188 all-local:
189 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
190 for script in $(EXTRA_DIST); do \
191 cp -f $(srcdir)/$$script $(builddir); \
192 done; \
193 fi
194
195 clean-local:
196 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
197 for script in $(EXTRA_DIST); do \
198 rm -f $(builddir)/$$script; \
199 done; \
200 fi
This page took 0.033252 seconds and 4 git commands to generate.