8799bbac42
Use easy to understand names for config files (debian, redhat, suse, unix). Move all autodetection to a separate script.
32 lines
439 B
Makefile
32 lines
439 B
Makefile
PAM_FILES = \
|
|
xrdp-sesman.debian \
|
|
xrdp-sesman.redhat \
|
|
xrdp-sesman.suse \
|
|
xrdp-sesman.unix
|
|
|
|
EXTRA_DIST = $(PAM_FILES) mkpamrules
|
|
|
|
CLEANFILES = xrdp-sesman
|
|
|
|
if SESMAN_NOPAM
|
|
PAMFILE =
|
|
else
|
|
if SESMAN_PAMUSERPASS
|
|
PAMFILE =
|
|
else
|
|
if SESMAN_KERBEROS
|
|
PAMFILE =
|
|
else
|
|
PAMFILE = xrdp-sesman
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
pamddir = $(sysconfdir)/pam.d
|
|
|
|
pamd_DATA = \
|
|
$(PAMFILE)
|
|
|
|
xrdp-sesman: mkpamrules
|
|
$(srcdir)/mkpamrules $(PAM_RULES) $(srcdir) $@
|