X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=67bd92097ecb4ce83f51a9cc9d54c42aa6379ebd;hp=21eebab7d6b3a797e6805203bf9131b25ec90d63;hb=4ae042345b4094e98611744d9ba6c92265058fdb;hpb=74130cb7d45f2c698c1a9f224bf8e7a2f2368f18 diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index 21eebab7d..67bd92097 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,17 +1,49 @@ -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 bin_PROGRAMS = lttng -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 commands/view.c \ - commands/enable_consumer.c commands/disable_consumer.c \ - utils.c utils.h lttng.c +lttng_SOURCES = command.h conf.cpp conf.h commands/start.cpp \ + commands/list.cpp commands/create.cpp commands/destroy.cpp \ + commands/stop.cpp commands/enable_events.cpp \ + commands/disable_events.cpp commands/enable_channels.cpp \ + commands/disable_channels.cpp commands/add_context.cpp \ + commands/set_session.cpp commands/version.cpp \ + commands/view.cpp \ + commands/snapshot.cpp \ + commands/save.cpp \ + commands/load.cpp \ + commands/track-untrack.cpp \ + commands/status.cpp \ + commands/metadata.cpp \ + commands/regenerate.cpp \ + commands/help.cpp \ + commands/rotate.cpp \ + commands/enable_rotation.cpp \ + commands/disable_rotation.cpp \ + commands/clear.cpp \ + loglevel.cpp loglevel.h \ + commands/add_trigger.cpp \ + commands/list_triggers.cpp \ + commands/remove_trigger.cpp \ + utils.cpp utils.h lttng.cpp \ + uprobe.cpp uprobe.h + +lttng_CXXFLAGS = $(AM_CXXFLAGS) $(POPT_CFLAGS) lttng_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ - $(top_builddir)/src/common/libcommon.la + $(top_builddir)/src/common/libcommon-lgpl.la \ + $(top_builddir)/src/common/libpath.la \ + $(top_builddir)/src/common/libconfig.la \ + $(top_builddir)/src/common/libstring-utils.la \ + $(top_builddir)/src/common/libfilter.la \ + $(top_builddir)/src/common/libargpar-utils.la \ + $(top_builddir)/src/common/libargpar.la \ + $(POPT_LIBS)