X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2FMakefile.am;h=73cfac7b76986076f031299fc630f498ac375c9d;hp=c97d1a147ce65fe0868c5ccebe272b3949b1bd62;hb=287a512f2b868c16132b894a8143a5faf0379ca8;hpb=4f061d4cf16d6625ed8649095ee6df6922b5262a diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index c97d1a147..73cfac7b7 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -1,6 +1,28 @@ ACLOCAL_AMFLAGS = -I config -SUBDIRS = lttng-consumerd \ - lttng \ - lttng-sessiond \ - lttng-relayd +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_BIN_LTTNG_SESSIOND +SUBDIRS += lttng-sessiond +endif