-AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/libkernelctl \
- -I$(top_srcdir)/liblttngctl -g -Wall
+SUBDIRS = . tools kernel
-noinst_PROGRAMS = test_sessions
+AM_CFLAGS = -g -Wall
+AM_LDFLAGS = -lurcu -lurcu-cds
-SESSIONS=$(top_srcdir)/ltt-sessiond/session.c
+EXTRA_DIST = run-report.py test_list.py utils.sh utils.h
-test_sessions_SOURCES = test_sessions.c $(SESSIONS)
+if HAVE_LIBLTTNG_UST_CTL
+SUBDIRS += ust
+endif # HAVE_LIBLTTNG_UST_CTL
check-am:
./runall.sh