2016-12-18 09:43:30 +03:00
|
|
|
EXTRA_DIST = \
|
|
|
|
Doxyfile
|
|
|
|
|
2016-01-30 09:45:00 +03:00
|
|
|
AM_CPPFLAGS = \
|
2017-07-19 09:41:32 +03:00
|
|
|
-DXRDP_SYSCONF_PATH=\"${sysconfdir}\" \
|
2009-05-19 08:23:49 +04:00
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
2016-01-30 09:45:00 +03:00
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
2017-03-15 07:45:50 +03:00
|
|
|
-DXRDP_SOCKET_PATH=\"${socketdir}\" \
|
2008-08-03 11:48:32 +04:00
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
-I$(top_srcdir)/sesman/libscp
|
|
|
|
|
2014-11-21 16:22:15 +03:00
|
|
|
if SESMAN_BSD
|
|
|
|
AUTH_C = verify_user_bsd.c
|
2017-01-31 02:49:38 +03:00
|
|
|
AUTH_LIB =
|
2014-11-21 16:22:15 +03:00
|
|
|
else
|
2008-08-09 12:35:05 +04:00
|
|
|
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
|
2020-12-29 12:48:01 +03:00
|
|
|
if SESMAN_NOPAM
|
|
|
|
AUTH_C = verify_user.c
|
|
|
|
AUTH_LIB = -lcrypt
|
|
|
|
else
|
2008-08-09 12:35:05 +04:00
|
|
|
AUTH_C = verify_user_pam.c
|
|
|
|
AUTH_LIB = -lpam
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
2014-11-21 16:22:15 +03:00
|
|
|
endif
|
2008-08-09 12:35:05 +04:00
|
|
|
|
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 = \
|
2016-02-22 08:49:04 +03:00
|
|
|
access.c \
|
|
|
|
access.h \
|
|
|
|
auth.h \
|
|
|
|
config.c \
|
|
|
|
config.h \
|
|
|
|
env.c \
|
|
|
|
env.h \
|
2008-08-03 11:48:32 +04:00
|
|
|
scp.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
scp.h \
|
2008-08-03 11:48:32 +04:00
|
|
|
scp_v0.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
scp_v0.h \
|
2008-08-03 11:48:32 +04:00
|
|
|
scp_v1.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
scp_v1.h \
|
2008-09-12 00:23:15 +04:00
|
|
|
scp_v1_mng.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
scp_v1_mng.h \
|
2008-08-03 11:48:32 +04:00
|
|
|
sesman.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
sesman.h \
|
2008-08-03 11:48:32 +04:00
|
|
|
session.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
session.h \
|
2008-08-03 11:48:32 +04:00
|
|
|
sig.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
sig.h \
|
2016-12-15 20:06:35 +03:00
|
|
|
xauth.c \
|
|
|
|
xauth.h \
|
2008-08-09 12:35:05 +04:00
|
|
|
$(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
|
|
|
|
|
2018-02-08 21:30:00 +03:00
|
|
|
SUBST_VARS = sed \
|
|
|
|
-e 's|@sesmansysconfdir[@]|$(sesmansysconfdir)|g'
|
|
|
|
|
|
|
|
subst_verbose = $(subst_verbose_@AM_V@)
|
|
|
|
subst_verbose_ = $(subst_verbose_@AM_DEFAULT_V@)
|
|
|
|
subst_verbose_0 = @echo " SUBST $@";
|
|
|
|
|
|
|
|
SUFFIXES = .in
|
|
|
|
.in:
|
|
|
|
$(subst_verbose)$(SUBST_VARS) $< > $@
|
|
|
|
|
2016-02-23 09:11:57 +03:00
|
|
|
dist_sesmansysconf_DATA = \
|
2016-02-23 10:13:16 +03:00
|
|
|
sesman.ini
|
|
|
|
|
|
|
|
dist_sesmansysconf_SCRIPTS = \
|
2017-05-15 09:02:06 +03:00
|
|
|
startwm.sh \
|
|
|
|
reconnectwm.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
|
|
|
chansrv
|