s4-auth-krb: Simplify salt_princ handling.
[kai/samba-autobuild/.git] / source4 / auth / kerberos / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('authkrb5',
4                   source='kerberos.c kerberos_heimdal.c kerberos_pac.c krb5_init_context.c keytab_copy.c',
5                   autoproto='proto.h',
6                   public_deps='krb5 ndr-krb5pac samba_socket LIBCLI_RESOLVE com_err asn1',
7                   deps='auth_sam_reply tevent LIBPACKET ndr ldb KRB5_WRAP errors',
8                   private_library=True
9                   )
10
11 bld.SAMBA_SUBSYSTEM('KERBEROS_UTIL',
12         autoproto='kerberos_util.h',
13         source='kerberos_util.c',
14         deps='authkrb5 com_err CREDENTIALS_KRB5',
15         )
16
17 bld.SAMBA_SUBSYSTEM('KERBEROS_SRV_KEYTAB',
18         autoproto='kerberos_srv_keytab.h',
19         source='srv_keytab.c',
20         deps='authkrb5 samba-credentials KERBEROS_UTIL',
21         )