summaryrefslogtreecommitdiffstats
path: root/instfiles/pam.d/Makefile.am
blob: 4d772a3a3c7cf52f7d6c1f6a7f5834ef60ca446a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PAM_FILES = \
  xrdp-sesman.debian \
  xrdp-sesman.redhat \
  xrdp-sesman.suse \
  xrdp-sesman.freebsd \
  xrdp-sesman.macos \
  xrdp-sesman.unix \
  xrdp-sesman.arch

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) $@