ACLOCAL_AMFLAGS = -I config
-SUBDIRS = liblttsessiondcomm \
+SUBDIRS = common \
+ liblttng-sessiond-comm \
libkernelctl \
- liblttkconsumerd \
- liblttngctl \
- libustcomm \
- libustctl \
- lttng \
- ltt-kconsumerd \
- ltt-sessiond \
- tests \
- include \
- doc
+ liblttng-ht \
+ liblttng-kconsumer \
+ liblttng-ustconsumer \
+ liblttng-consumer \
+ lttng-consumerd
+
+if ! BUILD_CONSUMERD_ONLY
+SUBDIRS += liblttngctl \
+ lttng \
+ lttng-sessiond
+endif
+
+SUBDIRS += tests \
+ include \
+ doc