X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng%2FMakefile.am;h=c60c0ee6d080661be0aec2bedc225b3620734b77;hb=9f449915b9d44ce3c9c9255f5d491a62545fee25;hp=34c47dfcfae4305ee4dd8a488a3e3f3b7c24a603;hpb=10a8a2237343699e3923d87e24dbf2d7fe225377;p=lttng-tools.git diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index 34c47dfcf..c60c0ee6d 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,14 +1,32 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ -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 \ + utils.c utils.h lttng.c -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