X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=1a6977eb5fb38e4b6aebd40ba60f4575e79d7935;hb=f3b3a67b8a5a7b2e4f7637d261a9e356d233ae23;hp=03aa31bd04e153e41afaba8d127c80cd123c60bb;hpb=95057847c7adfe3bc351ca61be77848dc91138b7;p=lttng-tools.git diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index 03aa31bd0..1a6977eb5 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,5 +1,8 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ - -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 @@ -24,4 +27,6 @@ lttng_SOURCES = command.h conf.c conf.h commands/start.c \ 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/config/libconfig.la \ + $(top_builddir)/src/common/string-utils/libstring-utils.la \ + $(POPT_LIBS)