-ACLOCAL_AMFLAGS = -I config
+# SPDX-License-Identifier: GPL-2.0-only
-SUBDIRS = common \
- liblttng-sessiond-comm \
- libkernelctl \
- librunas \
- liblttng-kconsumer \
- liblttng-ustconsumer \
- liblttng-consumer \
- lttng-consumerd
+ACLOCAL_AMFLAGS = -I m4
-if ! BUILD_CONSUMERD_ONLY
-SUBDIRS += liblttngctl \
- lttng \
- lttng-sessiond
+DIST_SUBDIRS = include doc src extras tests
+
+SUBDIRS = include doc src tests
+
+if BUILD_EXTRAS
+SUBDIRS += extras
endif
-SUBDIRS += tests \
- include \
- doc
+dist_doc_DATA = LICENSE \
+ ChangeLog \
+ README.adoc
+
+dist_noinst_DATA = CodingStyle
+
+EXTRA_DIST = extras/lttng-bash_completion \
+ LICENSES/BSD-2-Clause \
+ LICENSES/BSD-3-Clause \
+ LICENSES/GPL-2.0 \
+ LICENSES/LGPL-2.1 \
+ LICENSES/MIT \
+ version