X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=6c262622f10be35ef1412a7177a6fdc6f2c1157a;hp=ac4063b7a3ea5d7c3528a05a172bcecd449a6f6d;hb=refs%2Fheads%2Fsow-2020-0002-rev3;hpb=c864d6d788c58de94111911a9e10d221ec8bc398 diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index ac4063b7a..6c262622f 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,5 +1,10 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ - -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 @@ -9,13 +14,39 @@ 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/add_map.c \ + commands/enable_map.c \ + commands/disable_map.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/view_map.c \ commands/snapshot.c \ commands/save.c \ - utils.c utils.h lttng.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 \ + commands/add_trigger.c \ + commands/list_triggers.c \ + commands/remove_trigger.c \ + 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 \ - $(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 \ + $(top_builddir)/src/common/argpar/libargpar.la \ + $(POPT_LIBS) \ + -lm