Move keytab_copy to krb5samba lib
[vlendec/samba-autobuild/.git] / source4 / auth / kerberos / wscript_build
index 28269c54b433c1f16fdcee3748d0c87fef49a1b9..0588bfb2e3f0279aecdbc87d2099e9403dceefb9 100755 (executable)
@@ -1,10 +1,15 @@
 #!/usr/bin/env python
 
+bld.SAMBA_SUBSYSTEM('KRB_INIT_CTX',
+                   source='krb5_init_context.c',
+                   deps='gssapi krb5samba'
+                  )
+
 bld.SAMBA_LIBRARY('authkrb5',
-                  source='kerberos.c kerberos_heimdal.c kerberos_pac.c krb5_init_context.c keytab_copy.c',
+                  source='kerberos_pac.c',
                   autoproto='proto.h',
-                  public_deps='krb5 ndr-krb5pac samba_socket LIBCLI_RESOLVE com_err asn1',
-                  deps='auth_sam_reply tevent LIBPACKET ndr ldb KRB5_WRAP errors',
+                  public_deps='ndr-krb5pac krb5samba samba_socket LIBCLI_RESOLVE asn1',
+                  deps='auth_sam_reply tevent LIBPACKET ndr ldb krb5samba KRB_INIT_CTX KRB5_PAC errors',
                   private_library=True
                   )
 
@@ -17,5 +22,5 @@ bld.SAMBA_SUBSYSTEM('KERBEROS_UTIL',
 bld.SAMBA_SUBSYSTEM('KERBEROS_SRV_KEYTAB',
        autoproto='kerberos_srv_keytab.h',
        source='srv_keytab.c',
-       deps='authkrb5 samba-credentials',
+       deps='authkrb5',
        )