X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2FMakefile.am;h=8c5803494ad3697b959c075c6dcd5835619a125e;hp=ce5057dd7512c007dccb6ca9fa36287f10d9b002;hb=ce0b1d61919f37517a6212f7af2afe0fa1b1dcb0;hpb=b8aa16822f579a6e15b41d2761801a0a65d5f2a5 diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index ce5057dd7..8c5803494 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -1,9 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0-only + ACLOCAL_AMFLAGS = -I config -SUBDIRS = lttng-consumerd +SUBDIRS = + +# Make sure to always distribute all folders +# since SUBDIRS is decided at configure time. +DIST_SUBDIRS = lttng-consumerd lttng lttng-sessiond lttng-relayd \ + lttng-crash + +if BUILD_BIN_LTTNG +SUBDIRS += lttng +endif + +if BUILD_BIN_LTTNG_CONSUMERD +SUBDIRS += lttng-consumerd +endif + +if BUILD_BIN_LTTNG_CRASH +SUBDIRS += lttng-crash +endif + +if BUILD_BIN_LTTNG_RELAYD +SUBDIRS += lttng-relayd +endif -if ! BUILD_CONSUMERD_ONLY -SUBDIRS += lttng \ - lttng-sessiond \ - lttng-relayd +if BUILD_BIN_LTTNG_SESSIOND +SUBDIRS += lttng-sessiond endif