X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=a6bd7a9d738372bc5b4f86b5a24add072d24b7d4;hp=0381aa6560838df6591c5b798496a430655df19a;hb=ce0b1d61919f37517a6212f7af2afe0fa1b1dcb0;hpb=00e2e675d54dc726a7c8f8887c889cc8ef022003 diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index 0381aa656..a6bd7a9d7 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,4 +1,12 @@ -AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\" +# SPDX-License-Identifier: GPL-2.0-only + +AM_CPPFLAGS += -DINSTALL_BIN_PATH=\""$(bindir)"\" + +if EMBED_HELP +AM_CPPFLAGS += -I$(top_builddir)/doc/man +endif + +AUTOMAKE_OPTIONS = subdir-objects bin_PROGRAMS = lttng @@ -8,9 +16,26 @@ lttng_SOURCES = command.h conf.c conf.h commands/start.c \ commands/disable_events.c commands/enable_channels.c \ commands/disable_channels.c commands/add_context.c \ commands/set_session.c commands/version.c \ - commands/calibrate.c commands/view.c \ - commands/enable_consumer.c commands/disable_consumer.c \ + commands/view.c \ + commands/snapshot.c \ + commands/save.c \ + commands/load.c \ + commands/track-untrack.c \ + commands/status.c \ + commands/metadata.c \ + commands/regenerate.c \ + commands/help.c \ + commands/rotate.c \ + commands/enable_rotation.c \ + commands/disable_rotation.c \ + commands/clear.c \ utils.c utils.h lttng.c +lttng_CFLAGS = $(AM_CFLAGS) $(POPT_CFLAGS) + lttng_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ - $(top_builddir)/src/common/libcommon.la + $(top_builddir)/src/common/libcommon.la \ + $(top_builddir)/src/common/config/libconfig.la \ + $(top_builddir)/src/common/string-utils/libstring-utils.la \ + $(top_builddir)/src/common/filter/libfilter.la \ + $(POPT_LIBS)