X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=c630c6d5cb3ad963052dcd9bc229f7e5954c2b6e;hp=28673a910360627166943d1da20e2264999dcb7f;hb=b4b7369fbeb9c037449782132cfcdad1dac435d9;hpb=1c39da610b4b1e47a50ab51d9cdfc56d895f2b73 diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index 28673a910..c630c6d5c 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,13 +1,44 @@ -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 -lttng_SOURCES = cmd.h conf.c conf.h commands/start.c \ +lttng_SOURCES = command.h conf.c conf.h commands/start.c \ commands/list.c commands/create.c commands/destroy.c \ commands/stop.c commands/enable_events.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 utils.c utils.h lttng.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 \ + loglevel.c loglevel.h \ + utils.c utils.h \ + lttng.c \ + uprobe.c uprobe.h + +lttng_CFLAGS = $(AM_CFLAGS) $(POPT_CFLAGS) -lttng_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la +lttng_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.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)