X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=c75601f21ad3b1602606635e52e9d3c09103b98f;hp=e2040d8c39ef102151f8f6f6b46a351b6139a9ca;hb=2d97a0067600335f07eecb2c1d9ba68fc164583e;hpb=0c95f5b2ec754e905a0263cafc6e453f451d0ded diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index e2040d8c3..c75601f21 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,4 +1,10 @@ -AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\" +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,7 +14,25 @@ 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/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_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la +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/config/libconfig.la \ + $(top_builddir)/src/common/string-utils/libstring-utils.la \ + $(POPT_LIBS)