summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass/wscript_build
blob: b5a62174609aa47725e56f4071e9a747f2c0bab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python

if bld.CONFIG_SET('HAVE_PAM_START'):
    bld.SAMBA_LIBRARY('pamsmbpass',
        source='''pam_smb_auth.c
                  pam_smb_passwd.c
                  pam_smb_acct.c
                  support.c''',
        deps='''tdb talloc pam wbclient cap ASN1_UTIL PARAM LIB_NONSMBD PASSDB GROUPDB SMBLDAP
                LIBSAMBA LIBTSOCKET''',
        cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
        realname='pam_smbpass.so',
        )