Print the location of trace chunk produced at session destruction
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1AUTOMAKE_OPTIONS = subdir-objects
2
3SUBDIRS = string-utils
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 \
8 kernel-consumer ust-consumer testpoint index config consumer \
9 string-utils
10#
11# Common library
12noinst_LTLIBRARIES = libcommon.la
13EXTRA_DIST = mi-lttng-3.0.xsd
14
15libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.h runas.c \
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 \
20 unix.c unix.h \
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 \
30 userspace-probe.c event.c time.c \
31 session-descriptor.c credentials.h \
32 trace-chunk.c trace-chunk.h trace-chunk-registry.h \
33 dynamic-array.h dynamic-array.c optional.h
34
35if HAVE_ELF_H
36libcommon_la_SOURCES += lttng-elf.h lttng-elf.c
37endif
38
39libcommon_la_LIBADD = \
40 $(top_builddir)/src/common/config/libconfig.la \
41 $(top_builddir)/src/common/compat/libcompat.la \
42 $(UUID_LIBS)
43
44if BUILD_LIB_COMPAT
45SUBDIRS += compat
46endif
47
48if BUILD_LIB_HEALTH
49SUBDIRS += health
50endif
51
52if BUILD_LIB_HASHTABLE
53SUBDIRS += hashtable
54endif
55
56if BUILD_LIB_KERNEL_CTL
57SUBDIRS += kernel-ctl
58endif
59
60if BUILD_LIB_SESSIOND_COMM
61SUBDIRS += sessiond-comm
62endif
63
64if BUILD_LIB_RELAYD
65SUBDIRS += relayd
66endif
67
68if BUILD_LIB_KERNEL_CONSUMER
69SUBDIRS += kernel-consumer
70endif
71
72if BUILD_LIB_UST_CONSUMER
73SUBDIRS += ust-consumer
74endif
75
76if BUILD_LIB_TESTPOINT
77SUBDIRS += testpoint
78endif
79
80if BUILD_LIB_INDEX
81SUBDIRS += index
82endif
83
84if BUILD_LIB_CONFIG
85SUBDIRS += config
86endif
87
88if BUILD_LIB_CONSUMER
89SUBDIRS += consumer
90endif
91
92noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
93 uri.h utils.h lttng-kernel-old.h \
94 align.h bug.h time.h
95
96all-local:
97 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
98 for script in $(EXTRA_DIST); do \
99 cp -f $(srcdir)/$$script $(builddir); \
100 done; \
101 fi
102
103clean-local:
104 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
105 for script in $(EXTRA_DIST); do \
106 rm -f $(builddir)/$$script; \
107 done; \
108 fi
This page took 0.024942 seconds and 5 git commands to generate.