-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
+# SPDX-License-Identifier: GPL-2.0-only
-# Session daemon communication lib
noinst_LTLIBRARIES = libsessiond-comm.la
-libsessiond_comm_la_SOURCES = sessiond-comm.c sessiond-comm.h \
- inet.c inet.h inet6.c inet6.h \
- relayd.h agent.h
-libsessiond_comm_la_LIBADD = -lrt
+libsessiond_comm_la_SOURCES = \
+ agent.h \
+ inet.cpp \
+ inet.h \
+ inet6.cpp \
+ inet6.h \
+ relayd.h \
+ sessiond-comm.cpp \
+ sessiond-comm.h