xrdp/sesman/Makefile.am

73 lines
1.3 KiB
Makefile
Raw Normal View History

2015-12-12 07:41:17 +03:00
EXTRA_DIST = sesman.ini startwm.sh sesman.h access.h auth.h config.h env.h \
scp.h scp_v0.h scp_v1.h scp_v1_mng.h session.h sig.h
AM_CPPFLAGS = \
-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
-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_BSD
AUTH_C = verify_user_bsd.c
AUTH_LIB =
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
AUTH_C = verify_user_pam.c
AUTH_LIB = -lpam
endif
endif
endif
endif
2008-08-09 12:35:05 +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 \
scp_v1_mng.c \
2008-08-03 11:48:32 +04:00
sesman.c \
session.c \
sig.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 = \
$(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
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