X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Ftools%2FMakefile.am;h=56eda3adae64e25710cce4e83c3bae5d62166f21;hp=f4cfe57b9ffa2f332b46038563fd7d084b4c9aaf;hb=ef049beed75d56a90fcc522288da44c7307f3080;hpb=a4b92340642035d1eafeb1eead0ad01f64d2007d diff --git a/tests/tools/Makefile.am b/tests/tools/Makefile.am index f4cfe57b9..56eda3ada 100644 --- a/tests/tools/Makefile.am +++ b/tests/tools/Makefile.am @@ -1,6 +1,6 @@ -SUBDIRS = streaming +SUBDIRS = streaming filtering health -AM_CFLAGS = -g -Wall -I../ +AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests -g -Wall AM_LDFLAGS = -lurcu -lurcu-cds EXTRA_DIST = runall.sh @@ -8,7 +8,11 @@ EXTRA_DIST = runall.sh noinst_PROGRAMS = test_sessions test_kernel_data_trace UTILS=../utils.h -SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c +SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c \ + $(top_srcdir)/src/bin/lttng-sessiond/consumer.c \ + $(top_srcdir)/src/common/uri.c \ + $(top_srcdir)/src/common/utils.c \ + $(top_srcdir)/src/common/error.c KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.c \ $(top_srcdir)/src/bin/lttng-sessiond/consumer.c \ $(top_srcdir)/src/common/uri.c \ @@ -19,7 +23,7 @@ SESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la # Tracing sessions unit tests test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS) -test_sessions_LDADD = $(COMMON) $(HASHTABLE) +test_sessions_LDADD = $(COMMON) $(HASHTABLE) $(SESSIOND_COMM) # Kernel trace data unit tests test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)