Files
xrdp/sesman/sesexec/Makefile.am
T
matt335672 bee806d3af Add sesexec discover module
The module is a dummy to be filled in later

Other structural changes to sesexec:-
1) A failure of sesman needs to be detected and handled without
   causing sesexec to exit
2) If sesexec exits, the session can never be rediscovered. sesexec must
   be robust enough to stay up for the lifetime of the session so that
   the discovery function always works.
3) There is a mechanism for sesexec to terminate the session, but it
   doesn't work, as SIGCHLD is not processed while we are waiting for
   the session to finish. This needs fixing.
2025-03-12 11:08:03 +00:00

48 lines
939 B
Makefile

AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/${sysconfsubdir}\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_LIBEXEC_PATH=\"${libexecdir}/xrdp\" \
-DXRDP_SOCKET_ROOT_PATH=\"${socketdir}\" \
-I$(top_srcdir)/sesman/libsesman \
-I$(top_srcdir)/libipm \
-I$(top_srcdir)/common
SESEXEC_EXTRA_LIBS =
if XRDP_UTMP
AM_CPPFLAGS += -DUSE_UTMP
endif
pkglibexec_PROGRAMS = \
xrdp-sesexec
xrdp_sesexec_SOURCES = \
sesexec.c \
sesexec.h \
session.c \
session.h \
eicp_server.c \
eicp_server.h \
ercp_server.c \
ercp_server.h \
env.c \
env.h \
login_info.c \
login_info.h \
sesexec_discover.c \
sesexec_discover.h \
sessionrecord.c \
sessionrecord.h \
xauth.c \
xauth.h \
xwait.c \
xwait.h
xrdp_sesexec_LDFLAGS =
xrdp_sesexec_LDADD = \
$(top_builddir)/sesman/libsesman/libsesman.la \
$(top_builddir)/libipm/libipm.la \
$(top_builddir)/common/libcommon.la \
$(SESEXEC_EXTRA_LIBS)