summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass/wscript_build
blob: a2a2d01384a54f4a8eae37c47de8987bd7d4bbb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
        )