X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fust%2FMakefile.am;h=c59829051f2d9da9fe79a1d0cbcd2b31a9ae3fe0;hp=300ebf15e10fb0623d00e483ea1691dab8bd3766;hb=26b53d3b7ce1812a2ebc2c7153a50d35bba2a270;hpb=e72d66a658231b37d7dc1525ed5c2e5e9a3f0668 diff --git a/tests/ust/Makefile.am b/tests/ust/Makefile.am index 300ebf15e..c59829051 100644 --- a/tests/ust/Makefile.am +++ b/tests/ust/Makefile.am @@ -1,16 +1,28 @@ -SUBDIRS = nevents nprocesses high-throughput +if HAVE_LIBLTTNG_UST_CTL +SUBDIRS = nprocesses high-throughput low-throughput before-after multi-session \ + overlap -AM_CFLAGS = -g -Wall -I../ +AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests -I$(top_srcdir)/src -g -Wall AM_LDFLAGS = -lurcu -lurcu-cds -EXTRA_DIST = runall.sh utils.sh run-ust-global-tests.sh +EXTRA_DIST = runall.sh run-ust-global-tests.sh -noinst_PROGRAMS = ust_global_event_basic ust_global_all_events_basic +noinst_PROGRAMS = ust_global_event_basic ust_global_event_wildcard -UTILS=utils.h -LIBLTTNG=$(top_srcdir)/src/lib/lttng-ctl/lttng-ctl.c \ - $(top_srcdir)/src/common/sessiond-comm/sessiond-comm.c +UTILS=../utils.h +LIBLTTNG=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la -ust_global_all_events_basic_SOURCES = ust_global_all_events_basic.c $(UTILS) $(LIBLTTNG) +SESSIONDSRC=$(top_srcdir)/src/common/sessiond-comm/sessiond-comm.c \ + $(top_srcdir)/src/common/sessiond-comm/unix.c \ + $(top_srcdir)/src/common/sessiond-comm/inet.c \ + $(top_srcdir)/src/common/sessiond-comm/inet6.c -ust_global_event_basic_SOURCES = ust_global_event_basic.c $(UTILS) $(LIBLTTNG) +ust_global_event_wildcard_SOURCES = ust_global_event_wildcard.c $(UTILS) \ + $(SESSIONDSRC) +ust_global_event_wildcard_LDADD = $(LIBLTTNG) + +ust_global_event_basic_SOURCES = ust_global_event_basic.c $(UTILS) \ + $(SESSIONDSRC) +ust_global_event_basic_LDADD = $(LIBLTTNG) + +endif