1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/pam_smbpass/wscript_build
2012-10-04 10:20:35 +02:00

16 lines
537 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
LIBNTLMSSP LIBTSOCKET''',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_smbpass.so',
install_path='${PAMMODULESDIR}',
enabled=bld.env.with_pam_smbpass
)