credentials: Rename library to samba-credentials to avoid name clashes.
[idra/samba.git] / source4 / auth / credentials / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('samba-credentials',
4         source='credentials.c',
5         autoproto='credentials_proto.h',
6         public_headers='credentials.h',
7         deps='LIBCRYPTO errors events LIBCLI_AUTH security CREDENTIALS_SECRETS CREDENTIALS_KRB5',
8         vnum='0.0.1'
9         )
10
11 bld.SAMBA_SUBSYSTEM('CREDENTIALS_KRB5',
12         source='credentials_krb5.c',
13         deps='KERBEROS_UTIL gssapi samba-credentials',
14         public_deps='com_err authkrb5',
15         )
16
17 bld.SAMBA_SUBSYSTEM('CREDENTIALS_SECRETS',
18         source='credentials_secrets.c',
19         deps='CREDENTIALS_KRB5 CREDENTIALS_NTLM ldb samdb-common',
20         )
21
22 bld.SAMBA_SUBSYSTEM('CREDENTIALS_NTLM',
23         source='credentials_ntlm.c',
24         deps='samba-credentials')
25
26 bld.SAMBA_PYTHON('pycredentials',
27         source='pycredentials.c',
28         public_deps='samba-credentials cmdline-credentials pytalloc-util pyparam_util CREDENTIALS_KRB5 CREDENTIALS_SECRETS',
29         realname='samba/credentials.so'
30         )
31