Replace libuuid with internal implementation
[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.
7DIST_SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
8419e18f 8 kernel-consumer ust-consumer testpoint index config consumer \
df038819 9 string-utils fd-tracker
b3f35e02
FD
10#
11# Common library
12noinst_LTLIBRARIES = libcommon.la
13EXTRA_DIST = mi-lttng-3.0.xsd
14
b1b34226 15libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.h runas.c \
b3f35e02
FD
16 common.h futex.c futex.h uri.c uri.h defaults.c \
17 pipe.c pipe.h readwrite.c readwrite.h \
18 mi-lttng.h mi-lttng.c \
19 daemonize.c daemonize.h \
ba49ae8c 20 unix.c unix.h \
b3f35e02
FD
21 filter.c filter.h context.c context.h \
22 action.c notify.c condition.c buffer-usage.c \
23 session-consumed-size.c \
24 session-rotation.c \
25 evaluation.c notification.c trigger.c endpoint.c \
26 dynamic-buffer.h dynamic-buffer.c \
27 buffer-view.h buffer-view.c \
28 location.c \
29 waiter.h waiter.c \
b178f53e 30 userspace-probe.c event.c time.c \
2c5ff4e4
JG
31 session-descriptor.c credentials.h \
32 trace-chunk.c trace-chunk.h trace-chunk-registry.h \
c70636a7
MJ
33 dynamic-array.h dynamic-array.c optional.h \
34 uuid.c uuid.h
b3f35e02 35
b1b34226
MJ
36if HAVE_ELF_H
37libcommon_la_SOURCES += lttng-elf.h lttng-elf.c
38endif
39
b3f35e02
FD
40libcommon_la_LIBADD = \
41 $(top_builddir)/src/common/config/libconfig.la \
18710679 42 $(top_builddir)/src/common/compat/libcompat.la \
c70636a7 43 $(top_builddir)/src/common/hashtable/libhashtable.la
b3f35e02 44
87fb9fc0
JR
45if BUILD_LIB_COMPAT
46SUBDIRS += compat
47endif
48
49if BUILD_LIB_HEALTH
50SUBDIRS += health
51endif
52
53if BUILD_LIB_HASHTABLE
54SUBDIRS += hashtable
55endif
56
57if BUILD_LIB_KERNEL_CTL
58SUBDIRS += kernel-ctl
59endif
60
61if BUILD_LIB_SESSIOND_COMM
62SUBDIRS += sessiond-comm
63endif
64
65if BUILD_LIB_RELAYD
df038819 66SUBDIRS += relayd fd-tracker
87fb9fc0
JR
67endif
68
69if BUILD_LIB_KERNEL_CONSUMER
70SUBDIRS += kernel-consumer
71endif
72
73if BUILD_LIB_UST_CONSUMER
74SUBDIRS += ust-consumer
75endif
76
77if BUILD_LIB_TESTPOINT
78SUBDIRS += testpoint
79endif
80
81if BUILD_LIB_INDEX
82SUBDIRS += index
83endif
84
85if BUILD_LIB_CONFIG
86SUBDIRS += config
87endif
88
89if BUILD_LIB_CONSUMER
90SUBDIRS += consumer
91endif
10a8a223 92
0b5fb049 93noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
331744e3 94 uri.h utils.h lttng-kernel-old.h \
aa4f202c 95 align.h bug.h time.h
1c39da61 96
c49fc5e4
JR
97all-local:
98 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
99 for script in $(EXTRA_DIST); do \
100 cp -f $(srcdir)/$$script $(builddir); \
101 done; \
102 fi
103
104clean-local:
105 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
106 for script in $(EXTRA_DIST); do \
107 rm -f $(builddir)/$$script; \
108 done; \
109 fi
This page took 0.070176 seconds and 5 git commands to generate.