actions: introduce stop session action
[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
9c55c241 5SUBDIRS = string-utils
87fb9fc0
JR
6
7# Make sure to always distribute all folders
8# since SUBDIRS is decided at configure time.
28b6dfc8
SM
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
b3f35e02
FD
25# Common library
26noinst_LTLIBRARIES = libcommon.la
01fac814 27EXTRA_DIST = mi-lttng-4.0.xsd
b3f35e02 28
28b6dfc8 29libcommon_la_SOURCES = \
03bb2358
SM
30 actions/action.c \
31 actions/notify.c \
58397d0d 32 actions/start-session.c \
931bdbaa 33 actions/stop-session.c \
28b6dfc8
SM
34 buffer-usage.c \
35 buffer-view.h buffer-view.c \
36 common.h \
37 condition.c \
38 context.c context.h \
39 credentials.h \
40 daemonize.c daemonize.h \
41 defaults.c \
42 dynamic-array.c dynamic-array.h \
43 dynamic-buffer.c dynamic-buffer.h \
44 endpoint.c \
45 error.c error.h \
46 evaluation.c \
47 event.c \
48 filter.c filter.h \
75e36e37 49 fs-handle.c fs-handle.h fs-handle-internal.h \
28b6dfc8
SM
50 futex.c futex.h \
51 location.c \
52 mi-lttng.c mi-lttng.h \
53 notification.c \
28b6dfc8
SM
54 optional.h \
55 pipe.c pipe.h \
56 readwrite.c readwrite.h \
57 runas.c runas.h \
58 session-consumed-size.c \
59 session-descriptor.c \
60 session-rotation.c \
dd392e94 61 spawn-viewer.c spawn-viewer.h \
28b6dfc8
SM
62 time.c \
63 trace-chunk.c trace-chunk.h \
64 trace-chunk-registry.h \
65 trigger.c \
66 unix.c unix.h \
67 uri.c uri.h \
68 userspace-probe.c \
69 utils.c utils.h \
70 uuid.c uuid.h \
159b042f 71 tracker.c tracker.h \
75e36e37 72 waiter.c waiter.h
b3f35e02 73
b1b34226 74if HAVE_ELF_H
28b6dfc8
SM
75libcommon_la_SOURCES += \
76 lttng-elf.c lttng-elf.h
b1b34226
MJ
77endif
78
b3f35e02 79libcommon_la_LIBADD = \
28b6dfc8
SM
80 $(top_builddir)/src/common/config/libconfig.la \
81 $(top_builddir)/src/common/compat/libcompat.la \
8bb66c3c
JG
82 $(top_builddir)/src/common/hashtable/libhashtable.la \
83 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la
b3f35e02 84
87fb9fc0
JR
85if BUILD_LIB_COMPAT
86SUBDIRS += compat
87endif
88
89if BUILD_LIB_HEALTH
90SUBDIRS += health
91endif
92
93if BUILD_LIB_HASHTABLE
94SUBDIRS += hashtable
95endif
96
97if BUILD_LIB_KERNEL_CTL
98SUBDIRS += kernel-ctl
99endif
100
101if BUILD_LIB_SESSIOND_COMM
102SUBDIRS += sessiond-comm
103endif
104
105if BUILD_LIB_RELAYD
aa360a35
JG
106SUBDIRS += relayd
107endif
108
109if BUILD_LIB_FD_TRACKER
110SUBDIRS += fd-tracker
87fb9fc0
JR
111endif
112
113if BUILD_LIB_KERNEL_CONSUMER
114SUBDIRS += kernel-consumer
115endif
116
117if BUILD_LIB_UST_CONSUMER
118SUBDIRS += ust-consumer
119endif
120
121if BUILD_LIB_TESTPOINT
122SUBDIRS += testpoint
123endif
124
125if BUILD_LIB_INDEX
126SUBDIRS += index
127endif
128
129if BUILD_LIB_CONFIG
130SUBDIRS += config
131endif
132
133if BUILD_LIB_CONSUMER
134SUBDIRS += consumer
135endif
10a8a223 136
28b6dfc8
SM
137noinst_HEADERS = \
138 align.h \
139 bug.h \
140 defaults.h \
141 error.h \
142 futex.h \
143 lttng-kernel.h \
144 lttng-kernel-old.h \
145 macros.h \
146 time.h \
147 uri.h \
148 utils.h
1c39da61 149
c49fc5e4
JR
150all-local:
151 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
152 for script in $(EXTRA_DIST); do \
153 cp -f $(srcdir)/$$script $(builddir); \
154 done; \
155 fi
156
157clean-local:
158 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
159 for script in $(EXTRA_DIST); do \
160 rm -f $(builddir)/$$script; \
161 done; \
162 fi
This page took 0.077932 seconds and 5 git commands to generate.