6a860d4b02
as it was undocumented and few people know reconnectwm.sh is executed on client reconnect. The behaviour of startwm.sh / reconnectwm.sh should be documented. This is a first step of documenting them.
88 lines
1.4 KiB
Makefile
88 lines
1.4 KiB
Makefile
EXTRA_DIST = \
|
|
Doxyfile
|
|
|
|
AM_CPPFLAGS = \
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
|
-DXRDP_SOCKET_PATH=\"${socketdir}\" \
|
|
-I$(top_srcdir)/common \
|
|
-I$(top_srcdir)/sesman/libscp
|
|
|
|
if XRDP_DEBUG
|
|
AM_CPPFLAGS += -DXRDP_DEBUG
|
|
endif
|
|
|
|
if SESMAN_NOPAM
|
|
AUTH_C = verify_user.c
|
|
AUTH_LIB = -lcrypt
|
|
else
|
|
if SESMAN_BSD
|
|
AUTH_C = verify_user_bsd.c
|
|
AUTH_LIB =
|
|
else
|
|
if SESMAN_PAMUSERPASS
|
|
AUTH_C = verify_user_pam_userpass.c
|
|
AUTH_LIB = -lpam -lpam_userpass
|
|
else
|
|
if SESMAN_KERBEROS
|
|
AUTH_C = verify_user_kerberos.c
|
|
AUTH_LIB = -lkrb5
|
|
else
|
|
AUTH_C = verify_user_pam.c
|
|
AUTH_LIB = -lpam
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
sbin_PROGRAMS = \
|
|
xrdp-sesman
|
|
|
|
xrdp_sesman_SOURCES = \
|
|
access.c \
|
|
access.h \
|
|
auth.h \
|
|
config.c \
|
|
config.h \
|
|
env.c \
|
|
env.h \
|
|
scp.c \
|
|
scp.h \
|
|
scp_v0.c \
|
|
scp_v0.h \
|
|
scp_v1.c \
|
|
scp_v1.h \
|
|
scp_v1_mng.c \
|
|
scp_v1_mng.h \
|
|
sesman.c \
|
|
sesman.h \
|
|
session.c \
|
|
session.h \
|
|
sig.c \
|
|
sig.h \
|
|
xauth.c \
|
|
xauth.h \
|
|
$(AUTH_C)
|
|
|
|
xrdp_sesman_LDADD = \
|
|
$(top_builddir)/common/libcommon.la \
|
|
$(top_builddir)/sesman/libscp/libscp.la \
|
|
$(AUTH_LIB) \
|
|
-lpthread
|
|
|
|
sesmansysconfdir=$(sysconfdir)/xrdp
|
|
|
|
dist_sesmansysconf_DATA = \
|
|
sesman.ini
|
|
|
|
dist_sesmansysconf_SCRIPTS = \
|
|
startwm.sh \
|
|
reconnectwm.sh
|
|
|
|
SUBDIRS = \
|
|
libscp \
|
|
tools \
|
|
chansrv
|