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 \
67 fs-handle.h fs-handle-internal.h fs-handle.c
70 libcommon_la_SOURCES += \
71 lttng-elf.c lttng-elf.h
74 libcommon_la_LIBADD = \
75 $(top_builddir)/src/common/config/libconfig.la \
76 $(top_builddir)/src/common/compat/libcompat.la \
77 $(top_builddir)/src/common/hashtable/libhashtable.la \
78 $(top_builddir)/src/common/fd-tracker/libfd-tracker.la
88 if BUILD_LIB_HASHTABLE
92 if BUILD_LIB_KERNEL_CTL
96 if BUILD_LIB_SESSIOND_COMM
97 SUBDIRS += sessiond-comm
104 if BUILD_LIB_FD_TRACKER
105 SUBDIRS += fd-tracker
108 if BUILD_LIB_KERNEL_CONSUMER
109 SUBDIRS += kernel-consumer
112 if BUILD_LIB_UST_CONSUMER
113 SUBDIRS += ust-consumer
116 if BUILD_LIB_TESTPOINT
128 if BUILD_LIB_CONSUMER
146 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
147 for script in $(EXTRA_DIST); do \
148 cp -f $(srcdir)/$$script $(builddir); \
153 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
154 for script in $(EXTRA_DIST); do \
155 rm -f $(builddir)/$$script; \