Implement utils_parse_unsigned_long_long
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1# SPDX-License-Identifier: GPL-2.0-only
2
3AUTOMAKE_OPTIONS = subdir-objects
4
5SUBDIRS = string-utils filter
6
7# Make sure to always distribute all folders
8# since SUBDIRS is decided at configure time.
9DIST_SUBDIRS = \
10 compat \
11 health \
12 hashtable \
13 kernel-ctl \
14 sessiond-comm \
15 relayd \
16 kernel-consumer \
17 ust-consumer \
18 testpoint \
19 index \
20 config \
21 consumer \
22 string-utils \
23 fd-tracker \
24 filter
25# Common library
26noinst_LTLIBRARIES = libcommon.la
27EXTRA_DIST = mi-lttng-4.0.xsd
28
29libcommon_la_SOURCES = \
30 actions/action.c \
31 actions/group.c \
32 actions/notify.c \
33 actions/rotate-session.c \
34 actions/snapshot-session.c \
35 actions/start-session.c \
36 actions/stop-session.c \
37 buffer-view.h buffer-view.c \
38 common.h \
39 conditions/buffer-usage.c \
40 conditions/condition.c \
41 conditions/event-rule.c \
42 conditions/session-consumed-size.c \
43 conditions/session-rotation.c \
44 context.c context.h \
45 credentials.c credentials.h \
46 daemonize.c daemonize.h \
47 defaults.c \
48 domain.c \
49 dynamic-array.c dynamic-array.h \
50 dynamic-buffer.c dynamic-buffer.h \
51 endpoint.c \
52 error.c error.h \
53 evaluation.c \
54 event.c \
55 event-rule/event-rule.c \
56 event-rule/kprobe.c \
57 event-rule/syscall.c \
58 event-rule/uprobe.c \
59 event-rule/tracepoint.c \
60 filter.c filter.h \
61 fd-handle.c fd-handle.h \
62 fs-handle.c fs-handle.h fs-handle-internal.h \
63 futex.c futex.h \
64 kernel-probe.c \
65 location.c \
66 mi-lttng.c mi-lttng.h \
67 notification.c \
68 optional.h \
69 payload.c payload.h \
70 payload-view.c payload-view.h \
71 pipe.c pipe.h \
72 readwrite.c readwrite.h \
73 runas.c runas.h \
74 session-descriptor.c \
75 snapshot.c snapshot.h \
76 spawn-viewer.c spawn-viewer.h \
77 time.c \
78 trace-chunk.c trace-chunk.h \
79 trace-chunk-registry.h \
80 trigger.c \
81 unix.c unix.h \
82 uri.c uri.h \
83 userspace-probe.c \
84 utils.c utils.h \
85 uuid.c uuid.h \
86 thread.c thread.h \
87 tracker.c tracker.h \
88 waiter.c waiter.h
89
90if HAVE_ELF_H
91libcommon_la_SOURCES += \
92 lttng-elf.c lttng-elf.h
93endif
94
95libcommon_la_LIBADD = \
96 $(top_builddir)/src/common/config/libconfig.la \
97 $(top_builddir)/src/common/compat/libcompat.la \
98 $(top_builddir)/src/common/hashtable/libhashtable.la \
99 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
100 $(top_builddir)/src/common/filter/libfilter.la
101
102if BUILD_LIB_COMPAT
103SUBDIRS += compat
104endif
105
106if BUILD_LIB_HEALTH
107SUBDIRS += health
108endif
109
110if BUILD_LIB_HASHTABLE
111SUBDIRS += hashtable
112endif
113
114if BUILD_LIB_KERNEL_CTL
115SUBDIRS += kernel-ctl
116endif
117
118if BUILD_LIB_SESSIOND_COMM
119SUBDIRS += sessiond-comm
120endif
121
122if BUILD_LIB_RELAYD
123SUBDIRS += relayd
124endif
125
126if BUILD_LIB_FD_TRACKER
127SUBDIRS += fd-tracker
128endif
129
130if BUILD_LIB_KERNEL_CONSUMER
131SUBDIRS += kernel-consumer
132endif
133
134if BUILD_LIB_UST_CONSUMER
135SUBDIRS += ust-consumer
136endif
137
138if BUILD_LIB_TESTPOINT
139SUBDIRS += testpoint
140endif
141
142if BUILD_LIB_INDEX
143SUBDIRS += index
144endif
145
146if BUILD_LIB_CONFIG
147SUBDIRS += config
148endif
149
150if BUILD_LIB_CONSUMER
151SUBDIRS += consumer
152endif
153
154noinst_HEADERS = \
155 align.h \
156 bug.h \
157 defaults.h \
158 error.h \
159 futex.h \
160 lttng-kernel.h \
161 lttng-kernel-old.h \
162 macros.h \
163 time.h \
164 uri.h \
165 utils.h
166
167all-local:
168 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
169 for script in $(EXTRA_DIST); do \
170 cp -f $(srcdir)/$$script $(builddir); \
171 done; \
172 fi
173
174clean-local:
175 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
176 for script in $(EXTRA_DIST); do \
177 rm -f $(builddir)/$$script; \
178 done; \
179 fi
This page took 0.022945 seconds and 4 git commands to generate.