Refactoring: use an opaque lttng_tracker_id type
[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 \
28b6dfc8 66 waiter.c waiter.h
b3f35e02 67
b1b34226 68if HAVE_ELF_H
28b6dfc8
SM
69libcommon_la_SOURCES += \
70 lttng-elf.c lttng-elf.h
b1b34226
MJ
71endif
72
b3f35e02 73libcommon_la_LIBADD = \
28b6dfc8
SM
74 $(top_builddir)/src/common/config/libconfig.la \
75 $(top_builddir)/src/common/compat/libcompat.la \
76 $(top_builddir)/src/common/hashtable/libhashtable.la
b3f35e02 77
87fb9fc0
JR
78if BUILD_LIB_COMPAT
79SUBDIRS += compat
80endif
81
82if BUILD_LIB_HEALTH
83SUBDIRS += health
84endif
85
86if BUILD_LIB_HASHTABLE
87SUBDIRS += hashtable
88endif
89
90if BUILD_LIB_KERNEL_CTL
91SUBDIRS += kernel-ctl
92endif
93
94if BUILD_LIB_SESSIOND_COMM
95SUBDIRS += sessiond-comm
96endif
97
98if BUILD_LIB_RELAYD
aa360a35
JG
99SUBDIRS += relayd
100endif
101
102if BUILD_LIB_FD_TRACKER
103SUBDIRS += fd-tracker
87fb9fc0
JR
104endif
105
106if BUILD_LIB_KERNEL_CONSUMER
107SUBDIRS += kernel-consumer
108endif
109
110if BUILD_LIB_UST_CONSUMER
111SUBDIRS += ust-consumer
112endif
113
114if BUILD_LIB_TESTPOINT
115SUBDIRS += testpoint
116endif
117
118if BUILD_LIB_INDEX
119SUBDIRS += index
120endif
121
122if BUILD_LIB_CONFIG
123SUBDIRS += config
124endif
125
126if BUILD_LIB_CONSUMER
127SUBDIRS += consumer
128endif
10a8a223 129
28b6dfc8
SM
130noinst_HEADERS = \
131 align.h \
132 bug.h \
133 defaults.h \
134 error.h \
135 futex.h \
136 lttng-kernel.h \
137 lttng-kernel-old.h \
138 macros.h \
139 time.h \
140 uri.h \
141 utils.h
1c39da61 142
c49fc5e4
JR
143all-local:
144 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
145 for script in $(EXTRA_DIST); do \
146 cp -f $(srcdir)/$$script $(builddir); \
147 done; \
148 fi
149
150clean-local:
151 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
152 for script in $(EXTRA_DIST); do \
153 rm -f $(builddir)/$$script; \
154 done; \
155 fi
This page took 0.072773 seconds and 5 git commands to generate.