2010-11-19 23:52:24 +03:00
|
|
|
EXTRA_DIST = sesman.ini startwm.sh sesman.h access.h auth.h config.h env.h lock.h scp.h scp_v0.h scp_v1.h scp_v1_mng.h session.h sig.h thread.h
|
2009-05-19 08:23:49 +04:00
|
|
|
|
|
|
|
AM_CFLAGS = \
|
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\"
|
|
|
|
|
2008-08-03 11:48:32 +04:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
-I$(top_srcdir)/sesman/libscp
|
|
|
|
|
2008-08-09 12:35:05 +04:00
|
|
|
if SESMAN_NOPAM
|
|
|
|
AUTH_C = verify_user.c
|
|
|
|
AUTH_LIB = -lcrypt
|
|
|
|
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
|
|
|
|
|
2008-08-12 11:15:16 +04:00
|
|
|
sbin_PROGRAMS = \
|
2008-11-25 07:00:53 +03:00
|
|
|
xrdp-sesman
|
2008-08-03 11:48:32 +04:00
|
|
|
|
|
|
|
xrdp_sesman_SOURCES = \
|
|
|
|
scp.c \
|
|
|
|
scp_v0.c \
|
|
|
|
scp_v1.c \
|
2008-09-12 00:23:15 +04:00
|
|
|
scp_v1_mng.c \
|
2008-08-03 11:48:32 +04:00
|
|
|
sesman.c \
|
|
|
|
session.c \
|
|
|
|
sig.c \
|
|
|
|
thread.c \
|
|
|
|
lock.c \
|
|
|
|
access.c \
|
|
|
|
config.c \
|
2008-08-09 12:35:05 +04:00
|
|
|
env.c \
|
|
|
|
$(AUTH_C)
|
2008-08-03 11:48:32 +04:00
|
|
|
|
|
|
|
xrdp_sesman_LDADD = \
|
2012-07-14 03:18:02 +04:00
|
|
|
$(top_builddir)/common/libcommon.la \
|
|
|
|
$(top_builddir)/sesman/libscp/libscp.la \
|
2011-07-06 08:50:09 +04:00
|
|
|
$(AUTH_LIB) \
|
|
|
|
-lpthread
|
2008-08-03 11:48:32 +04:00
|
|
|
|
2008-08-12 11:15:16 +04:00
|
|
|
sesmansysconfdir=$(sysconfdir)/xrdp
|
|
|
|
|
|
|
|
sesmansysconf_DATA = \
|
|
|
|
sesman.ini \
|
|
|
|
startwm.sh
|
2008-08-03 11:48:32 +04:00
|
|
|
|
2008-08-10 22:01:51 +04:00
|
|
|
SUBDIRS = \
|
|
|
|
libscp \
|
2008-11-25 07:00:53 +03:00
|
|
|
tools \
|
2009-04-19 21:16:46 +04:00
|
|
|
sessvc \
|
|
|
|
chansrv
|
2008-08-18 03:08:17 +04:00
|
|
|
|
|
|
|
# must be tab below
|
|
|
|
install-data-hook:
|
|
|
|
chmod 755 $(DESTDIR)$(sysconfdir)/xrdp/startwm.sh
|