| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | AM_CPPFLAGS += -DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \ |
| 4 | -DINSTALL_LIB_PATH=\""$(libdir)"\" |
| 5 | |
| 6 | if EMBED_HELP |
| 7 | AM_CPPFLAGS += -I$(top_builddir)/doc/man |
| 8 | endif |
| 9 | |
| 10 | bin_PROGRAMS = lttng-relayd |
| 11 | |
| 12 | lttng_relayd_SOURCES = main.cpp lttng-relayd.hpp utils.hpp utils.cpp cmd.hpp \ |
| 13 | index.cpp index.hpp live.cpp live.hpp ctf-trace.cpp ctf-trace.hpp \ |
| 14 | cmd-2-1.cpp cmd-2-1.hpp \ |
| 15 | cmd-2-2.cpp cmd-2-2.hpp \ |
| 16 | cmd-2-4.cpp cmd-2-4.hpp \ |
| 17 | cmd-2-11.cpp cmd-2-11.hpp \ |
| 18 | health-relayd.cpp health-relayd.hpp \ |
| 19 | lttng-viewer-abi.hpp testpoint.hpp \ |
| 20 | viewer-stream.hpp viewer-stream.cpp \ |
| 21 | session.cpp session.hpp \ |
| 22 | stream.cpp stream.hpp \ |
| 23 | connection.cpp connection.hpp \ |
| 24 | viewer-session.cpp viewer-session.hpp \ |
| 25 | tracefile-array.cpp tracefile-array.hpp \ |
| 26 | tcp_keep_alive.cpp tcp_keep_alive.hpp \ |
| 27 | sessiond-trace-chunks.cpp sessiond-trace-chunks.hpp \ |
| 28 | backward-compatibility-group-by.cpp backward-compatibility-group-by.hpp \ |
| 29 | thread-utils.cpp |
| 30 | |
| 31 | # link on liblttngctl for check if relayd is already alive. |
| 32 | lttng_relayd_LDADD = $(URCU_LIBS) \ |
| 33 | $(top_builddir)/src/common/libcommon-gpl.la \ |
| 34 | $(top_builddir)/src/common/libsessiond-comm.la \ |
| 35 | $(top_builddir)/src/common/libcompat.la \ |
| 36 | $(top_builddir)/src/common/libindex.la \ |
| 37 | $(top_builddir)/src/common/libhealth.la \ |
| 38 | $(top_builddir)/src/common/libtestpoint.la |