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