X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2FMakefile.am;h=751b5766c7de09a13f387ed82eb7cb38d8cabbfe;hp=126cdafc4b23c07dc0b0106aaf3831ffa81f6938;hb=5312a3edd938117cb5670de711f237e7b6f2e68c;hpb=58eb9381cd933f0644e6a5b89750dbd6d9b14570 diff --git a/src/bin/lttng-relayd/Makefile.am b/src/bin/lttng-relayd/Makefile.am index 126cdafc4..751b5766c 100644 --- a/src/bin/lttng-relayd/Makefile.am +++ b/src/bin/lttng-relayd/Makefile.am @@ -1,14 +1,14 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ - -DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \ - -DINSTALL_LIB_PATH=\""$(libdir)"\" +AM_CPPFLAGS += -DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \ + -DINSTALL_LIB_PATH=\""$(libdir)"\" -AM_CFLAGS = -fno-strict-aliasing +if EMBED_HELP +AM_CPPFLAGS += -I$(top_builddir)/doc/man +endif bin_PROGRAMS = lttng-relayd lttng_relayd_SOURCES = main.c lttng-relayd.h utils.h utils.c cmd.h \ index.c index.h live.c live.h ctf-trace.c ctf-trace.h \ - cmd-generic.c cmd-generic.h \ cmd-2-1.c cmd-2-1.h \ cmd-2-2.c cmd-2-2.h \ cmd-2-4.c cmd-2-4.h \ @@ -17,11 +17,14 @@ lttng_relayd_SOURCES = main.c lttng-relayd.h utils.h utils.c cmd.h \ viewer-stream.h viewer-stream.c \ session.c session.h \ stream.c stream.h \ - connection.c connection.h + stream-fd.c stream-fd.h \ + connection.c connection.h \ + viewer-session.c viewer-session.h \ + tracefile-array.c tracefile-array.h \ + tcp_keep_alive.c tcp_keep_alive.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 \ @@ -29,4 +32,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