X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2FMakefile.am;h=afb435f06e76609bb6d7f0f86473282849e3b0d3;hb=0283afa961253376a5e18de140d29fffd9e89ae3;hp=57045463a7b688e477eff8a0d2cc48af7d6b508e;hpb=0f907de1f20c91a2bd1a08ee4d50332d1958754b;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/Makefile.am b/src/bin/lttng-relayd/Makefile.am index 57045463a..afb435f06 100644 --- a/src/bin/lttng-relayd/Makefile.am +++ b/src/bin/lttng-relayd/Makefile.am @@ -1,20 +1,37 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ - -DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \ - -DINSTALL_LIB_PATH=\""$(libdir)"\" +# SPDX-License-Identifier: GPL-2.0-only -AM_CFLAGS = -fno-strict-aliasing +AM_CPPFLAGS += -DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \ + -DINSTALL_LIB_PATH=\""$(libdir)"\" + +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-generic.c cmd-generic.h \ - cmd-2-1.c cmd-2-1.h \ - cmd-2-2.c cmd-2-2.h +lttng_relayd_SOURCES = main.cpp lttng-relayd.h utils.h utils.cpp cmd.h \ + index.cpp index.h live.cpp live.h ctf-trace.cpp ctf-trace.h \ + cmd-2-1.cpp cmd-2-1.h \ + cmd-2-2.cpp cmd-2-2.h \ + cmd-2-4.cpp cmd-2-4.h \ + cmd-2-11.cpp cmd-2-11.h \ + health-relayd.cpp health-relayd.h \ + lttng-viewer-abi.h testpoint.h \ + viewer-stream.h viewer-stream.cpp \ + session.cpp session.h \ + stream.cpp stream.h \ + connection.cpp connection.h \ + viewer-session.cpp viewer-session.h \ + tracefile-array.cpp tracefile-array.h \ + tcp_keep_alive.cpp tcp_keep_alive.h \ + sessiond-trace-chunks.cpp sessiond-trace-chunks.h \ + backward-compatibility-group-by.cpp backward-compatibility-group-by.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 \ - $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ - $(top_builddir)/src/common/hashtable/libhashtable.la \ - $(top_builddir)/src/common/libcommon.la \ - $(top_builddir)/src/common/compat/libcompat.la +lttng_relayd_LDADD = $(URCU_LIBS) \ + $(top_builddir)/src/common/libcommon-gpl.la \ + $(top_builddir)/src/common/libsessiond-comm.la \ + $(top_builddir)/src/common/libcompat.la \ + $(top_builddir)/src/common/libindex.la \ + $(top_builddir)/src/common/libhealth.la \ + $(top_builddir)/src/common/libtestpoint.la