xrdp/sesman/sesexec/Makefile.am
matt335672 675dd77807 Parameterise the sockdir with the UID of the user
The top level socket directory is now called XRDP_SOCKET_ROOT_PATH.
Below that are user-specific directories referred to with the
XRDP_SOCKET_PATH macro - this name is hard-coded into xorgxrdp and
the audio modules as an environment variable.

XRDP_SOCKET_PATH now looks like $XRDP_SOCKET_ROOT_PATH/<uid>

XRDP_SOCKET_PATH is only writeable by the user, and readable by the user
and the xrdp process.
2023-10-23 18:14:46 +01:00

40 lines
791 B
Makefile

AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-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 =
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 \
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)