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
18 if BUILD_LIB_HASHTABLE
22 if BUILD_LIB_KERNEL_CTL
26 if BUILD_LIB_SESSIOND_COMM
27 SUBDIRS += sessiond-comm
34 if BUILD_LIB_KERNEL_CONSUMER
35 SUBDIRS += kernel-consumer
38 if BUILD_LIB_UST_CONSUMER
39 SUBDIRS += ust-consumer
42 if BUILD_LIB_TESTPOINT
58 noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
59 uri.h utils.h lttng-kernel-old.h \
60 align.h bitfield.h bug.h time.h
63 noinst_LTLIBRARIES = libcommon.la
64 EXTRA_DIST = mi-lttng-3.0.xsd
66 libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
67 common.h futex.c futex.h uri.c uri.h defaults.c \
68 pipe.c pipe.h readwrite.c readwrite.h \
69 mi-lttng.h mi-lttng.c \
70 daemonize.c daemonize.h \
71 dynamic-buffer.h dynamic-buffer.c \
72 buffer-view.h buffer-view.c \
74 filter.c filter.h context.c context.h
76 libcommon_la_LIBADD = \
77 $(top_builddir)/src/common/config/libconfig.la
78 if LTTNG_BUILD_WITH_LIBUUID
79 libcommon_la_LIBADD += -luuid
81 if LTTNG_BUILD_WITH_LIBC_UUID
82 libcommon_la_LIBADD += -lc
86 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
87 for script in $(EXTRA_DIST); do \
88 cp -f $(srcdir)/$$script $(builddir); \
93 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
94 for script in $(EXTRA_DIST); do \
95 rm -f $(builddir)/$$script; \