s3:smb2_server: make use of helper macros in smb2_calculate_credits()
[Samba/bjacke.git] / source3 / pam_smbpass / wscript_build
blob70b21d56b2e728abe053dc53c4fdc1d2a701b685
1 #!/usr/bin/env python
3 if bld.CONFIG_SET('WITH_PAM_MODULES'):
4 bld.SAMBA3_LIBRARY('pamsmbpass',
5 source='''pam_smb_auth.c
6 pam_smb_passwd.c
7 pam_smb_acct.c
8 support.c''',
9 deps='''tdb talloc pam PAM_ERRORS wbclient cap asn1util param pdb
10 LIBNTLMSSP LIBTSOCKET''',
11 cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
12 realname='pam_smbpass.so',
13 install_path='${PAMMODULESDIR}'