Fix: kernel adds creds on recv with SO_PASSCRED unix socket option
[lttng-tools.git] / src / common / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 SUBDIRS = string-utils
4
5 # Make sure to always distribute all folders
6 # since SUBDIRS is decided at configure time.
7 DIST_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
12 noinst_LTLIBRARIES = libcommon.la
13 EXTRA_DIST = mi-lttng-3.0.xsd
14
15 libcommon_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.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
31
32 libcommon_la_LIBADD = \
33 $(top_builddir)/src/common/config/libconfig.la \
34 $(UUID_LIBS)
35
36 if BUILD_LIB_UNIX
37 libcommon_la_SOURCES += unix.c
38 else
39 libcommon_la_SOURCES += unix-stub.c
40 endif
41
42 if BUILD_LIB_COMPAT
43 SUBDIRS += compat
44 endif
45
46 if BUILD_LIB_HEALTH
47 SUBDIRS += health
48 endif
49
50 if BUILD_LIB_HASHTABLE
51 SUBDIRS += hashtable
52 endif
53
54 if BUILD_LIB_KERNEL_CTL
55 SUBDIRS += kernel-ctl
56 endif
57
58 if BUILD_LIB_SESSIOND_COMM
59 SUBDIRS += sessiond-comm
60 endif
61
62 if BUILD_LIB_RELAYD
63 SUBDIRS += relayd
64 endif
65
66 if BUILD_LIB_KERNEL_CONSUMER
67 SUBDIRS += kernel-consumer
68 endif
69
70 if BUILD_LIB_UST_CONSUMER
71 SUBDIRS += ust-consumer
72 endif
73
74 if BUILD_LIB_TESTPOINT
75 SUBDIRS += testpoint
76 endif
77
78 if BUILD_LIB_INDEX
79 SUBDIRS += index
80 endif
81
82 if BUILD_LIB_CONFIG
83 SUBDIRS += config
84 endif
85
86 if BUILD_LIB_CONSUMER
87 SUBDIRS += consumer
88 endif
89
90 noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
91 uri.h utils.h lttng-kernel-old.h \
92 align.h bitfield.h bug.h time.h
93
94 all-local:
95 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
96 for script in $(EXTRA_DIST); do \
97 cp -f $(srcdir)/$$script $(builddir); \
98 done; \
99 fi
100
101 clean-local:
102 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
103 for script in $(EXTRA_DIST); do \
104 rm -f $(builddir)/$$script; \
105 done; \
106 fi
This page took 0.031323 seconds and 4 git commands to generate.