fd-tracker: restore suspended handles from their inode's path
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
26821431
MD
1AUTOMAKE_OPTIONS = subdir-objects
2
9c55c241 3SUBDIRS = string-utils
87fb9fc0
JR
4
5# Make sure to always distribute all folders
6# since SUBDIRS is decided at configure time.
28b6dfc8
SM
7DIST_SUBDIRS = \
8 compat \
9 health \
10 hashtable \
11 kernel-ctl \
12 sessiond-comm \
13 relayd \
14 kernel-consumer \
15 ust-consumer \
16 testpoint \
17 index \
18 config \
19 consumer \
20 string-utils \
21 fd-tracker
22
b3f35e02
FD
23# Common library
24noinst_LTLIBRARIES = libcommon.la
01fac814 25EXTRA_DIST = mi-lttng-4.0.xsd
b3f35e02 26
28b6dfc8
SM
27libcommon_la_SOURCES = \
28 action.c \
29 buffer-usage.c \
30 buffer-view.h buffer-view.c \
31 common.h \
32 condition.c \
33 context.c context.h \
34 credentials.h \
35 daemonize.c daemonize.h \
36 defaults.c \
37 dynamic-array.c dynamic-array.h \
38 dynamic-buffer.c dynamic-buffer.h \
39 endpoint.c \
40 error.c error.h \
41 evaluation.c \
42 event.c \
43 filter.c filter.h \
44 futex.c futex.h \
45 location.c \
46 mi-lttng.c mi-lttng.h \
47 notification.c \
48 notify.c \
49 optional.h \
50 pipe.c pipe.h \
51 readwrite.c readwrite.h \
52 runas.c runas.h \
53 session-consumed-size.c \
54 session-descriptor.c \
55 session-rotation.c \
56 time.c \
57 trace-chunk.c trace-chunk.h \
58 trace-chunk-registry.h \
59 trigger.c \
60 unix.c unix.h \
61 uri.c uri.h \
62 userspace-probe.c \
63 utils.c utils.h \
64 uuid.c uuid.h \
2d97a006 65 tracker.c \
f5ea0241
JG
66 waiter.c waiter.h \
67 fs-handle.h fs-handle-internal.h fs-handle.c
b3f35e02 68
b1b34226 69if HAVE_ELF_H
28b6dfc8
SM
70libcommon_la_SOURCES += \
71 lttng-elf.c lttng-elf.h
b1b34226
MJ
72endif
73
b3f35e02 74libcommon_la_LIBADD = \
28b6dfc8
SM
75 $(top_builddir)/src/common/config/libconfig.la \
76 $(top_builddir)/src/common/compat/libcompat.la \
77 $(top_builddir)/src/common/hashtable/libhashtable.la
b3f35e02 78
87fb9fc0
JR
79if BUILD_LIB_COMPAT
80SUBDIRS += compat
81endif
82
83if BUILD_LIB_HEALTH
84SUBDIRS += health
85endif
86
87if BUILD_LIB_HASHTABLE
88SUBDIRS += hashtable
89endif
90
91if BUILD_LIB_KERNEL_CTL
92SUBDIRS += kernel-ctl
93endif
94
95if BUILD_LIB_SESSIOND_COMM
96SUBDIRS += sessiond-comm
97endif
98
99if BUILD_LIB_RELAYD
aa360a35
JG
100SUBDIRS += relayd
101endif
102
103if BUILD_LIB_FD_TRACKER
104SUBDIRS += fd-tracker
87fb9fc0
JR
105endif
106
107if BUILD_LIB_KERNEL_CONSUMER
108SUBDIRS += kernel-consumer
109endif
110
111if BUILD_LIB_UST_CONSUMER
112SUBDIRS += ust-consumer
113endif
114
115if BUILD_LIB_TESTPOINT
116SUBDIRS += testpoint
117endif
118
119if BUILD_LIB_INDEX
120SUBDIRS += index
121endif
122
123if BUILD_LIB_CONFIG
124SUBDIRS += config
125endif
126
127if BUILD_LIB_CONSUMER
128SUBDIRS += consumer
129endif
10a8a223 130
28b6dfc8
SM
131noinst_HEADERS = \
132 align.h \
133 bug.h \
134 defaults.h \
135 error.h \
136 futex.h \
137 lttng-kernel.h \
138 lttng-kernel-old.h \
139 macros.h \
140 time.h \
141 uri.h \
142 utils.h
1c39da61 143
c49fc5e4
JR
144all-local:
145 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
146 for script in $(EXTRA_DIST); do \
147 cp -f $(srcdir)/$$script $(builddir); \
148 done; \
149 fi
150
151clean-local:
152 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
153 for script in $(EXTRA_DIST); do \
154 rm -f $(builddir)/$$script; \
155 done; \
156 fi
This page took 0.052219 seconds and 4 git commands to generate.