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