1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
Günther Deschner e68c4f4b33 waf: install pam modules in PAMMODULESDIR.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Sep  6 11:09:45 CEST 2011 on sn-devel-104
2011-09-06 11:09:45 +02:00

15 lines
503 B
Python

#!/usr/bin/env python
if bld.CONFIG_SET('WITH_PAM_MODULES'):
bld.SAMBA3_LIBRARY('pamsmbpass',
source='''pam_smb_auth.c
pam_smb_passwd.c
pam_smb_acct.c
support.c''',
deps='''tdb talloc pam PAM_ERRORS wbclient cap asn1util param pdb SMBLDAP
LIBNTLMSSP LIBTSOCKET''',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_smbpass.so',
install_path='${PAMMODULESDIR}'
)