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