Generate session name and default output on sessiond's end
[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
JG
8 kernel-consumer ust-consumer testpoint index config consumer \
9 string-utils
b3f35e02
FD
10#
11# Common library
12noinst_LTLIBRARIES = libcommon.la
13EXTRA_DIST = mi-lttng-3.0.xsd
14
df458f8c 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 \
6380c001 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 \
5feee503
JG
30 userspace-probe.c event.c time.c \
31 session-descriptor.c
b3f35e02 32
df458f8c
MJ
33if HAVE_ELF_H
34libcommon_la_SOURCES += lttng-elf.h lttng-elf.c
35endif
36
b3f35e02
FD
37libcommon_la_LIBADD = \
38 $(top_builddir)/src/common/config/libconfig.la \
39 $(UUID_LIBS)
40
87fb9fc0
JR
41if BUILD_LIB_COMPAT
42SUBDIRS += compat
43endif
44
45if BUILD_LIB_HEALTH
46SUBDIRS += health
47endif
48
49if BUILD_LIB_HASHTABLE
50SUBDIRS += hashtable
51endif
52
53if BUILD_LIB_KERNEL_CTL
54SUBDIRS += kernel-ctl
55endif
56
57if BUILD_LIB_SESSIOND_COMM
58SUBDIRS += sessiond-comm
59endif
60
61if BUILD_LIB_RELAYD
62SUBDIRS += relayd
63endif
64
65if BUILD_LIB_KERNEL_CONSUMER
66SUBDIRS += kernel-consumer
67endif
68
69if BUILD_LIB_UST_CONSUMER
70SUBDIRS += ust-consumer
71endif
72
73if BUILD_LIB_TESTPOINT
74SUBDIRS += testpoint
75endif
76
77if BUILD_LIB_INDEX
78SUBDIRS += index
79endif
80
81if BUILD_LIB_CONFIG
82SUBDIRS += config
83endif
84
85if BUILD_LIB_CONSUMER
86SUBDIRS += consumer
87endif
10a8a223 88
0b5fb049 89noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
331744e3 90 uri.h utils.h lttng-kernel-old.h \
395d6b02 91 align.h bitfield.h bug.h time.h
1c39da61 92
c49fc5e4
JR
93all-local:
94 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
95 for script in $(EXTRA_DIST); do \
96 cp -f $(srcdir)/$$script $(builddir); \
97 done; \
98 fi
99
100clean-local:
101 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
102 for script in $(EXTRA_DIST); do \
103 rm -f $(builddir)/$$script; \
104 done; \
105 fi
This page took 0.054047 seconds and 4 git commands to generate.