X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=2c734d7ecf6b38ce31da477db95b627a7cbbe376;hp=8633730a92b102baee5ee59f8b5b226e241750d7;hb=e9404c27e7cc9d841785e6c4292c1add19fbc1cc;hpb=f9c59cd0ed7d63a1cf988361eca6faf307e0f9a7 diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 8633730a9..2c734d7ec 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -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 \