X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=fde03922bcd5b35b7a162ba6044d180b0157cb07;hp=8633730a92b102baee5ee59f8b5b226e241750d7;hb=63aaa3dcfd221ac2bcdbc6b61d5e3fbaeca70165;hpb=f9c59cd0ed7d63a1cf988361eca6faf307e0f9a7 diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 8633730a9..fde03922b 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src AUTOMAKE_OPTIONS = subdir-objects -SUBDIRS = +SUBDIRS = string-utils # Make sure to always distribute all folders # since SUBDIRS is decided at configure time. @@ -61,7 +61,7 @@ AM_CFLAGS = -fno-strict-aliasing noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \ uri.h utils.h lttng-kernel-old.h \ - align.h bitfield.h bug.h + align.h bitfield.h bug.h time.h # Common library noinst_LTLIBRARIES = libcommon.la @@ -73,12 +73,20 @@ libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \ mi-lttng.h mi-lttng.c \ daemonize.c daemonize.h \ unix.c unix.h \ - filter.c filter.h context.c context.h + filter.c filter.h context.c context.h \ + action.c notify.c condition.c buffer-usage.c \ + evaluation.c notification.c trigger.c endpoint.c \ + dynamic-buffer.h dynamic-buffer.c \ + buffer-view.h buffer-view.c libcommon_la_LIBADD = \ - -luuid \ - -lrt \ $(top_builddir)/src/common/config/libconfig.la +if LTTNG_BUILD_WITH_LIBUUID +libcommon_la_LIBADD += -luuid +endif +if LTTNG_BUILD_WITH_LIBC_UUID +libcommon_la_LIBADD += -lc +endif all-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \