Tests fix: initialize kernel extended channel attributes
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
f9c59cd0 1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
10a8a223 2
26821431
MD
3AUTOMAKE_OPTIONS = subdir-objects
4
9c55c241 5SUBDIRS = string-utils
87fb9fc0
JR
6
7# Make sure to always distribute all folders
8# since SUBDIRS is decided at configure time.
9DIST_SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
10 kernel-consumer ust-consumer testpoint index config consumer
11
12if BUILD_LIB_COMPAT
13SUBDIRS += compat
14endif
15
16if BUILD_LIB_HEALTH
17SUBDIRS += health
18endif
19
20if BUILD_LIB_HASHTABLE
21SUBDIRS += hashtable
22endif
23
24if BUILD_LIB_KERNEL_CTL
25SUBDIRS += kernel-ctl
26endif
27
28if BUILD_LIB_SESSIOND_COMM
29SUBDIRS += sessiond-comm
30endif
31
32if BUILD_LIB_RELAYD
33SUBDIRS += relayd
34endif
35
36if BUILD_LIB_KERNEL_CONSUMER
37SUBDIRS += kernel-consumer
38endif
39
40if BUILD_LIB_UST_CONSUMER
41SUBDIRS += ust-consumer
42endif
43
44if BUILD_LIB_TESTPOINT
45SUBDIRS += testpoint
46endif
47
48if BUILD_LIB_INDEX
49SUBDIRS += index
50endif
51
52if BUILD_LIB_CONFIG
53SUBDIRS += config
54endif
55
56if BUILD_LIB_CONSUMER
57SUBDIRS += consumer
58endif
10a8a223
DG
59
60AM_CFLAGS = -fno-strict-aliasing
61
0b5fb049 62noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
331744e3 63 uri.h utils.h lttng-kernel-old.h \
395d6b02 64 align.h bitfield.h bug.h time.h
1c39da61 65
00e2e675 66# Common library
10a8a223 67noinst_LTLIBRARIES = libcommon.la
654f9f5e 68EXTRA_DIST = mi-lttng-3.0.xsd
10a8a223 69
6242251b 70libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
9fd92637 71 common.h futex.c futex.h uri.c uri.h defaults.c \
99ed9c43 72 pipe.c pipe.h readwrite.c readwrite.h \
c7e35b03 73 mi-lttng.h mi-lttng.c \
7567352f 74 daemonize.c daemonize.h \
2038dd6c 75 unix.c unix.h \
a58c490f
JG
76 filter.c filter.h context.c context.h \
77 action.c notify.c condition.c buffer-usage.c \
78 evaluation.c notification.c trigger.c endpoint.c \
01dc0eed
JG
79 dynamic-buffer.h dynamic-buffer.c \
80 buffer-view.h buffer-view.c
7567352f 81
c7e35b03 82libcommon_la_LIBADD = \
c7e35b03 83 $(top_builddir)/src/common/config/libconfig.la
81ba8833
MJ
84if LTTNG_BUILD_WITH_LIBUUID
85libcommon_la_LIBADD += -luuid
86endif
87if LTTNG_BUILD_WITH_LIBC_UUID
88libcommon_la_LIBADD += -lc
89endif
10a8a223 90
c49fc5e4
JR
91all-local:
92 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
93 for script in $(EXTRA_DIST); do \
94 cp -f $(srcdir)/$$script $(builddir); \
95 done; \
96 fi
97
98clean-local:
99 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
100 for script in $(EXTRA_DIST); do \
101 rm -f $(builddir)/$$script; \
102 done; \
103 fi
This page took 0.042716 seconds and 4 git commands to generate.