X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=67bd92097ecb4ce83f51a9cc9d54c42aa6379ebd;hb=ce7fc42f24c2c9a62a5eeb77f248d27a5cb4de4b;hp=5a1eb6aedea18d28935856473fb7fcf009656fc2;hpb=8c42d8454516c418e666aa9f96eaa261bb65b748;p=lttng-tools.git diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index 5a1eb6aed..67bd92097 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,23 +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 \ - commands/snapshot.c \ - commands/save.c \ - commands/load.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/config/libconfig.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)