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