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