credentials: Rename library to samba-credentials to avoid name clashes.
[idra/samba.git] / source4 / auth / wscript_build
index c7dfa8943c4ca2e43b6557986fa87692b3176270..91ec1ebca1c92b1a5586cd1157a3650d20522e22 100644 (file)
@@ -1,54 +1,53 @@
-# AUTOGENERATED by mktowscript.pl from ../../source4/auth/config.mk
-# Please remove this notice if hand editing
+#!/usr/bin/env python
 
-bld.BUILD_SUBDIR('gensec')
-bld.BUILD_SUBDIR('kerberos')
-bld.BUILD_SUBDIR('ntlmssp')
-bld.BUILD_SUBDIR('ntlm')
-bld.BUILD_SUBDIR('credentials')
+bld.RECURSE('gensec')
+bld.RECURSE('kerberos')
+bld.RECURSE('ntlmssp')
+bld.RECURSE('ntlm')
+bld.RECURSE('credentials')
 
 bld.SAMBA_SUBSYSTEM('auth_session',
        source='session.c',
        autoproto='session_proto.h',
-       public_deps='CREDENTIALS',
+       public_deps='samba-credentials',
        public_headers='session.h',
-        header_path='samba',
-       deps='SAMDB'
+       header_path='samba',
+       deps='samdb auth4_sam'
+       )
+
+bld.SAMBA_SUBSYSTEM('auth_unix_token',
+       source='unix_token.c',
+       autoproto='unix_token_proto.h',
+       public_deps='LIBWBCLIENT_OLD',
        )
 
 
 bld.SAMBA_SUBSYSTEM('samba_server_gensec',
        source='samba_server_gensec.c',
-       public_deps='CREDENTIALS gensec auth'
+       public_deps='samba-credentials gensec auth4'
        )
 
 
 bld.SAMBA_SUBSYSTEM('auth_system_session',
        source='system_session.c',
        autoproto='system_session_proto.h',
-       public_deps='CREDENTIALS',
-       deps='auth_session LIBSAMBA-UTIL LIBSECURITY'
+       public_deps='samba-credentials',
+       deps='auth_session',
        )
 
 
-bld.SAMBA_SUBSYSTEM('auth_sam',
+bld.SAMBA_SUBSYSTEM('auth4_sam',
        source='sam.c',
        autoproto='auth_sam.h',
-       public_deps='SAMDB UTIL_LDB LIBSECURITY ldb',
+       public_deps='samdb security ldb tevent',
        deps=''
        )
 
 
-bld.SAMBA_SUBSYSTEM('auth_sam_reply',
-       source='auth_sam_reply.c',
-       autoproto='auth_sam_reply.h'
-       )
-
-
 bld.SAMBA_PYTHON('pyauth',
        source='pyauth.c',
        public_deps='auth_system_session',
-       deps='SAMDB PYTALLOC pyparam_util',
+       deps='samdb pytalloc-util pyparam_util pyldb-util pycredentials auth4',
        realname='samba/auth.so'
        )