1 AUTOMAKE_OPTIONS = subdir-objects
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 \
19 if BUILD_LIB_HASHTABLE
23 if BUILD_LIB_KERNEL_CTL
27 if BUILD_LIB_SESSIOND_COMM
28 SUBDIRS += sessiond-comm
35 if BUILD_LIB_KERNEL_CONSUMER
36 SUBDIRS += kernel-consumer
39 if BUILD_LIB_UST_CONSUMER
40 SUBDIRS += ust-consumer
43 if BUILD_LIB_TESTPOINT
59 noinst_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
64 noinst_LTLIBRARIES = libcommon.la
65 EXTRA_DIST = mi-lttng-3.0.xsd
67 libcommon_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 \
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 \
80 libcommon_la_LIBADD = \
81 $(top_builddir)/src/common/config/libconfig.la
82 if LTTNG_BUILD_WITH_LIBUUID
83 libcommon_la_LIBADD += -luuid
85 if LTTNG_BUILD_WITH_LIBC_UUID
86 libcommon_la_LIBADD += -lc
90 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
91 for script in $(EXTRA_DIST); do \
92 cp -f $(srcdir)/$$script $(builddir); \
97 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
98 for script in $(EXTRA_DIST); do \
99 rm -f $(builddir)/$$script; \