lib/param move source4 param code to the top level
[sfrench/samba-autobuild/.git] / source4 / auth / ntlm / wscript_build
index 3dc9b970547830a1953bb8d91654a5863fa9cd59..6447bf2ea0780746fca4d155d784175c604ce1f2 100644 (file)
@@ -1,71 +1,65 @@
 #!/usr/bin/env python
 
-bld.SAMBA_MODULE('auth_sam_module',
+bld.SAMBA_MODULE('auth4_sam_module',
        source='auth_sam.c',
-       subsystem='auth',
-       init_function='auth_sam_init',
-       deps='samdb auth_sam ntlm_check samba-hostconfig'
+       subsystem='auth4',
+       init_function='auth4_sam_init',
+       deps='samdb auth4_sam NTLMSSP_COMMON samba-hostconfig'
        )
 
 
-bld.SAMBA_MODULE('auth_anonymous',
+bld.SAMBA_MODULE('auth4_anonymous',
        source='auth_anonymous.c',
-       subsystem='auth',
-       init_function='auth_anonymous_init',
+       subsystem='auth4',
+       init_function='auth4_anonymous_init',
        deps='talloc'
        )
 
 
-bld.SAMBA_MODULE('auth_server',
+bld.SAMBA_MODULE('auth4_server',
        source='auth_server.c',
-       subsystem='auth',
-       init_function='auth_server_init',
-       deps='samba-util LIBCLI_SMB CREDENTIALS_NTLM'
+       subsystem='auth4',
+       init_function='auth4_server_init',
+       deps='samba-util LIBCLI_SMB CREDENTIALS_NTLM param_options'
        )
 
 
-bld.SAMBA_MODULE('auth_winbind',
+bld.SAMBA_MODULE('auth4_winbind',
        source='auth_winbind.c',
-       subsystem='auth',
-       init_function='auth_winbind_init',
+       subsystem='auth4',
+       init_function='auth4_winbind_init',
        deps='RPC_NDR_WINBIND MESSAGING wbclient'
        )
 
 
-bld.SAMBA_MODULE('auth_developer',
+bld.SAMBA_MODULE('auth4_developer',
        source='auth_developer.c',
-       subsystem='auth',
-       init_function='auth_developer_init',
+       subsystem='auth4',
+       init_function='auth4_developer_init',
        deps='talloc'
        )
 
 
-bld.SAMBA_MODULE('auth_unix',
+bld.SAMBA_MODULE('auth4_unix',
        source='auth_unix.c',
-       subsystem='auth',
-       init_function='auth_unix_init',
+       subsystem='auth4',
+       init_function='auth4_unix_init',
        deps='pam PAM_ERRORS LIBTSOCKET'
        )
 
 
-bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
-       source='pam_errors.c',
-       deps='talloc'
-       )
-
-
-bld.SAMBA_LIBRARY('auth',
+bld.SAMBA_LIBRARY('auth4',
        source='auth.c auth_util.c auth_simple.c',
        autoproto='auth_proto.h',
-       deps='samba-util security samdb credentials UTIL_TEVENT',
+       deps='samba-util security samdb samba-credentials tevent-util LIBWBCLIENT_OLD auth_unix_token samba-modules',
        private_library=True
        )
 
-bld.SAMBA_MODULE('auth_server_service',
+bld.SAMBA_MODULE('service_auth',
        source='auth_server_service.c',
        subsystem='service',
        init_function='server_service_auth_init',
-       deps='auth',
+       deps='auth4',
        internal_module=True
        )