1 AUTOMAKE_OPTIONS = subdir-objects
5 # Make sure to always distribute all folders
6 # since SUBDIRS is decided at configure time.
24 noinst_LTLIBRARIES = libcommon.la
25 EXTRA_DIST = mi-lttng-3.0.xsd
27 libcommon_la_SOURCES = \
30 buffer-view.h buffer-view.c \
35 daemonize.c daemonize.h \
37 dynamic-array.c dynamic-array.h \
38 dynamic-buffer.c dynamic-buffer.h \
46 mi-lttng.c mi-lttng.h \
51 readwrite.c readwrite.h \
53 session-consumed-size.c \
54 session-descriptor.c \
57 trace-chunk.c trace-chunk.h \
58 trace-chunk-registry.h \
68 libcommon_la_SOURCES += \
69 lttng-elf.c lttng-elf.h
72 libcommon_la_LIBADD = \
73 $(top_builddir)/src/common/config/libconfig.la \
74 $(top_builddir)/src/common/compat/libcompat.la \
75 $(top_builddir)/src/common/hashtable/libhashtable.la
85 if BUILD_LIB_HASHTABLE
89 if BUILD_LIB_KERNEL_CTL
93 if BUILD_LIB_SESSIOND_COMM
94 SUBDIRS += sessiond-comm
98 SUBDIRS += relayd fd-tracker
101 if BUILD_LIB_KERNEL_CONSUMER
102 SUBDIRS += kernel-consumer
105 if BUILD_LIB_UST_CONSUMER
106 SUBDIRS += ust-consumer
109 if BUILD_LIB_TESTPOINT
121 if BUILD_LIB_CONSUMER
139 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
140 for script in $(EXTRA_DIST); do \
141 cp -f $(srcdir)/$$script $(builddir); \
146 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
147 for script in $(EXTRA_DIST); do \
148 rm -f $(builddir)/$$script; \