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