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-4.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 \
69 libcommon_la_SOURCES += \
70 lttng-elf.c lttng-elf.h
73 libcommon_la_LIBADD = \
74 $(top_builddir)/src/common/config/libconfig.la \
75 $(top_builddir)/src/common/compat/libcompat.la \
76 $(top_builddir)/src/common/hashtable/libhashtable.la
86 if BUILD_LIB_HASHTABLE
90 if BUILD_LIB_KERNEL_CTL
94 if BUILD_LIB_SESSIOND_COMM
95 SUBDIRS += sessiond-comm
102 if BUILD_LIB_FD_TRACKER
103 SUBDIRS += fd-tracker
106 if BUILD_LIB_KERNEL_CONSUMER
107 SUBDIRS += kernel-consumer
110 if BUILD_LIB_UST_CONSUMER
111 SUBDIRS += ust-consumer
114 if BUILD_LIB_TESTPOINT
126 if BUILD_LIB_CONSUMER
144 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
145 for script in $(EXTRA_DIST); do \
146 cp -f $(srcdir)/$$script $(builddir); \
151 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
152 for script in $(EXTRA_DIST); do \
153 rm -f $(builddir)/$$script; \