X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2FMakefile.am;h=31859b564cba54be4b3ff2c882d50e283b3a2923;hp=07eb73223eb71c6c3ce062b518037ea710fd4fe7;hb=ce4d40839ac3beef1a58730d3636a522497bc60f;hpb=a44ca2ca85e4b64729f7b88b1919fd6737dfff8a diff --git a/src/bin/lttng-relayd/Makefile.am b/src/bin/lttng-relayd/Makefile.am index 07eb73223..31859b564 100644 --- a/src/bin/lttng-relayd/Makefile.am +++ b/src/bin/lttng-relayd/Makefile.am @@ -2,6 +2,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ -DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \ -DINSTALL_LIB_PATH=\""$(libdir)"\" +if EMBED_HELP +AM_CPPFLAGS += -I$(top_builddir)/doc/man +endif + AM_CFLAGS = -fno-strict-aliasing bin_PROGRAMS = lttng-relayd @@ -23,8 +27,7 @@ lttng_relayd_SOURCES = main.c lttng-relayd.h utils.h utils.c cmd.h \ tracefile-array.c tracefile-array.h # link on liblttngctl for check if relayd is already alive. -lttng_relayd_LDADD = -lrt -lurcu-common -lurcu \ - $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ +lttng_relayd_LDADD = -lurcu-common -lurcu \ $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ $(top_builddir)/src/common/hashtable/libhashtable.la \ $(top_builddir)/src/common/libcommon.la \ @@ -32,4 +35,5 @@ lttng_relayd_LDADD = -lrt -lurcu-common -lurcu \ $(top_builddir)/src/common/index/libindex.la \ $(top_builddir)/src/common/health/libhealth.la \ $(top_builddir)/src/common/config/libconfig.la \ - $(top_builddir)/src/common/testpoint/libtestpoint.la + $(top_builddir)/src/common/testpoint/libtestpoint.la \ + $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la