Cleanup: remove unused m4/libxml.m4
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1AUTOMAKE_OPTIONS = subdir-objects
2
3SUBDIRS = string-utils
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 \
8 kernel-consumer ust-consumer testpoint index config consumer \
9 string-utils
10
11if BUILD_LIB_COMPAT
12SUBDIRS += compat
13endif
14
15if BUILD_LIB_HEALTH
16SUBDIRS += health
17endif
18
19if BUILD_LIB_HASHTABLE
20SUBDIRS += hashtable
21endif
22
23if BUILD_LIB_KERNEL_CTL
24SUBDIRS += kernel-ctl
25endif
26
27if BUILD_LIB_SESSIOND_COMM
28SUBDIRS += sessiond-comm
29endif
30
31if BUILD_LIB_RELAYD
32SUBDIRS += relayd
33endif
34
35if BUILD_LIB_KERNEL_CONSUMER
36SUBDIRS += kernel-consumer
37endif
38
39if BUILD_LIB_UST_CONSUMER
40SUBDIRS += ust-consumer
41endif
42
43if BUILD_LIB_TESTPOINT
44SUBDIRS += testpoint
45endif
46
47if BUILD_LIB_INDEX
48SUBDIRS += index
49endif
50
51if BUILD_LIB_CONFIG
52SUBDIRS += config
53endif
54
55if BUILD_LIB_CONSUMER
56SUBDIRS += consumer
57endif
58
59noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
60 uri.h utils.h lttng-kernel-old.h \
61 align.h bitfield.h bug.h time.h
62
63# Common library
64noinst_LTLIBRARIES = libcommon.la
65EXTRA_DIST = mi-lttng-3.0.xsd
66
67libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
68 common.h futex.c futex.h uri.c uri.h defaults.c \
69 pipe.c pipe.h readwrite.c readwrite.h \
70 mi-lttng.h mi-lttng.c \
71 daemonize.c daemonize.h \
72 unix.c unix.h \
73 filter.c filter.h context.c context.h \
74 action.c notify.c condition.c buffer-usage.c \
75 evaluation.c notification.c trigger.c endpoint.c \
76 dynamic-buffer.h dynamic-buffer.c \
77 buffer-view.h buffer-view.c \
78 waiter.h waiter.c
79
80libcommon_la_LIBADD = \
81 $(top_builddir)/src/common/config/libconfig.la \
82 $(UUID_LIBS)
83
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.02362 seconds and 4 git commands to generate.