X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng%2FMakefile.am;h=599170f4198f4fc9718fa67358fb73d447e2e62a;hb=a7793ad175612b1d94088d292eed13d77e9cd853;hp=c60c0ee6d080661be0aec2bedc225b3620734b77;hpb=9f449915b9d44ce3c9c9255f5d491a62545fee25;p=lttng-tools.git diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index c60c0ee6d..599170f41 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -1,5 +1,4 @@ -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 @@ -26,7 +25,10 @@ lttng_SOURCES = command.h conf.c conf.h commands/start.c \ commands/help.c \ utils.c utils.h lttng.c +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 + $(top_builddir)/src/common/string-utils/libstring-utils.la \ + $(POPT_LIBS)