X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=29a35e6adfb422451b20d0ad76459896293b0f87;hb=7b66313326a56d8d1b400db6085f54ef13865f98;hp=8633730a92b102baee5ee59f8b5b226e241750d7;hpb=f9c59cd0ed7d63a1cf988361eca6faf307e0f9a7;p=lttng-tools.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 8633730a9..29a35e6ad 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -1,5 +1,3 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src - AUTOMAKE_OPTIONS = subdir-objects SUBDIRS = @@ -57,11 +55,9 @@ if BUILD_LIB_CONSUMER SUBDIRS += consumer endif -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 @@ -72,13 +68,19 @@ libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \ pipe.c pipe.h readwrite.c readwrite.h \ mi-lttng.h mi-lttng.c \ daemonize.c daemonize.h \ + dynamic-buffer.h dynamic-buffer.c \ + buffer-view.h buffer-view.c \ unix.c unix.h \ filter.c filter.h context.c context.h 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 \