xrdp/sesman/Makefile.am

100 lines
1.7 KiB
Makefile
Raw Normal View History

EXTRA_DIST = \
Doxyfile
AM_CPPFLAGS = \
-DXRDP_SYSCONF_PATH=\"${sysconfdir}\" \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
-DXRDP_SOCKET_PATH=\"${socketdir}\" \
2008-08-03 11:48:32 +04:00
-I$(top_srcdir)/common \
-I$(top_srcdir)/sesman/libscp
2017-01-04 15:54:55 +03:00
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
endif
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
2017-01-31 02:49:38 +03:00
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 = \
access.c \
access.h \
auth.h \
config.c \
config.h \
env.c \
env.h \
2008-08-03 11:48:32 +04:00
scp.c \
scp.h \
2008-08-03 11:48:32 +04:00
scp_v0.c \
scp_v0.h \
2008-08-03 11:48:32 +04:00
scp_v1.c \
scp_v1.h \
scp_v1_mng.c \
scp_v1_mng.h \
2008-08-03 11:48:32 +04:00
sesman.c \
sesman.h \
2008-08-03 11:48:32 +04:00
session.c \
session.h \
2008-08-03 11:48:32 +04:00
sig.c \
sig.h \
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 = \
$(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
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) $< > $@
dist_sesmansysconf_DATA = \
sesman.ini
dist_sesmansysconf_SCRIPTS = \
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