fd-tracker: refactor: extract fs_handle interface from fd_tracker
[lttng-tools.git] / src / common / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 SUBDIRS = string-utils
4
5 # Make sure to always distribute all folders
6 # since SUBDIRS is decided at configure time.
7 DIST_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
23 # Common library
24 noinst_LTLIBRARIES = libcommon.la
25 EXTRA_DIST = mi-lttng-4.0.xsd
26
27 libcommon_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 \
65 tracker.c \
66 waiter.c waiter.h \
67 fs-handle.h fs-handle-internal.h fs-handle.c
68
69 if HAVE_ELF_H
70 libcommon_la_SOURCES += \
71 lttng-elf.c lttng-elf.h
72 endif
73
74 libcommon_la_LIBADD = \
75 $(top_builddir)/src/common/config/libconfig.la \
76 $(top_builddir)/src/common/compat/libcompat.la \
77 $(top_builddir)/src/common/hashtable/libhashtable.la
78
79 if BUILD_LIB_COMPAT
80 SUBDIRS += compat
81 endif
82
83 if BUILD_LIB_HEALTH
84 SUBDIRS += health
85 endif
86
87 if BUILD_LIB_HASHTABLE
88 SUBDIRS += hashtable
89 endif
90
91 if BUILD_LIB_KERNEL_CTL
92 SUBDIRS += kernel-ctl
93 endif
94
95 if BUILD_LIB_SESSIOND_COMM
96 SUBDIRS += sessiond-comm
97 endif
98
99 if BUILD_LIB_RELAYD
100 SUBDIRS += relayd
101 endif
102
103 if BUILD_LIB_FD_TRACKER
104 SUBDIRS += fd-tracker
105 endif
106
107 if BUILD_LIB_KERNEL_CONSUMER
108 SUBDIRS += kernel-consumer
109 endif
110
111 if BUILD_LIB_UST_CONSUMER
112 SUBDIRS += ust-consumer
113 endif
114
115 if BUILD_LIB_TESTPOINT
116 SUBDIRS += testpoint
117 endif
118
119 if BUILD_LIB_INDEX
120 SUBDIRS += index
121 endif
122
123 if BUILD_LIB_CONFIG
124 SUBDIRS += config
125 endif
126
127 if BUILD_LIB_CONSUMER
128 SUBDIRS += consumer
129 endif
130
131 noinst_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
143
144 all-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
151 clean-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.032725 seconds and 4 git commands to generate.