xrdp/sesman/Makefile.am

83 lines
1.3 KiB
Makefile
Raw Normal View History

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