event-rule: introduce event rule uprobe
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1# SPDX-License-Identifier: GPL-2.0-only
2
3AUTOMAKE_OPTIONS = subdir-objects
4
5SUBDIRS = string-utils filter
6
7# Make sure to always distribute all folders
8# since SUBDIRS is decided at configure time.
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 filter
25# Common library
26noinst_LTLIBRARIES = libcommon.la
27EXTRA_DIST = mi-lttng-4.0.xsd
28
29libcommon_la_SOURCES = \
30 actions/action.c \
31 actions/group.c \
32 actions/notify.c \
33 actions/rotate-session.c \
34 actions/snapshot-session.c \
35 actions/start-session.c \
36 actions/stop-session.c \
37 buffer-usage.c \
38 buffer-view.h buffer-view.c \
39 common.h \
40 condition.c \
41 context.c context.h \
42 credentials.c credentials.h \
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 \
51 event-rule/event-rule.c \
52 event-rule/kprobe.c \
53 event-rule/syscall.c \
54 event-rule/uprobe.c \
55 filter.c filter.h \
56 fd-handle.c fd-handle.h \
57 fs-handle.c fs-handle.h fs-handle-internal.h \
58 futex.c futex.h \
59 kernel-probe.c \
60 location.c \
61 mi-lttng.c mi-lttng.h \
62 notification.c \
63 optional.h \
64 payload.c payload.h \
65 payload-view.c payload-view.h \
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 \
72 snapshot.c snapshot.h \
73 spawn-viewer.c spawn-viewer.h \
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 \
83 thread.c thread.h \
84 tracker.c tracker.h \
85 waiter.c waiter.h
86
87if HAVE_ELF_H
88libcommon_la_SOURCES += \
89 lttng-elf.c lttng-elf.h
90endif
91
92libcommon_la_LIBADD = \
93 $(top_builddir)/src/common/config/libconfig.la \
94 $(top_builddir)/src/common/compat/libcompat.la \
95 $(top_builddir)/src/common/hashtable/libhashtable.la \
96 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la \
97 $(top_builddir)/src/common/filter/libfilter.la
98
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
120SUBDIRS += relayd
121endif
122
123if BUILD_LIB_FD_TRACKER
124SUBDIRS += fd-tracker
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
150
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
163
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.023684 seconds and 5 git commands to generate.