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