lib/util: consolidate module loading into common code
[Samba/gebeck_regimport.git] / source4 / auth / ntlm / wscript_build
blob29190f76f35470a2aee0fb83220c3daf9c45adbc
1 #!/usr/bin/env python
3 bld.SAMBA_MODULE('auth4_sam_module',
4 source='auth_sam.c',
5 subsystem='auth4',
6 init_function='auth4_sam_init',
7 deps='samdb auth4_sam NTLMSSP_COMMON samba-hostconfig'
11 bld.SAMBA_MODULE('auth4_anonymous',
12 source='auth_anonymous.c',
13 subsystem='auth4',
14 init_function='auth4_anonymous_init',
15 deps='talloc'
19 bld.SAMBA_MODULE('auth4_server',
20 source='auth_server.c',
21 subsystem='auth4',
22 init_function='auth4_server_init',
23 deps='samba-util LIBCLI_SMB CREDENTIALS_NTLM'
27 bld.SAMBA_MODULE('auth4_winbind',
28 source='auth_winbind.c',
29 subsystem='auth4',
30 init_function='auth4_winbind_init',
31 deps='RPC_NDR_WINBIND MESSAGING wbclient'
35 bld.SAMBA_MODULE('auth4_developer',
36 source='auth_developer.c',
37 subsystem='auth4',
38 init_function='auth4_developer_init',
39 deps='talloc'
43 bld.SAMBA_MODULE('auth4_unix',
44 source='auth_unix.c',
45 subsystem='auth4',
46 init_function='auth4_unix_init',
47 deps='pam PAM_ERRORS LIBTSOCKET'
51 bld.SAMBA_LIBRARY('auth4',
52 source='auth.c auth_util.c auth_simple.c',
53 autoproto='auth_proto.h',
54 deps='samba-util security samdb samba-credentials tevent-util LIBWBCLIENT_OLD auth_unix_token samba-modules',
55 private_library=True
58 bld.SAMBA_MODULE('service_auth',
59 source='auth_server_service.c',
60 subsystem='service',
61 init_function='server_service_auth_init',
62 deps='auth4',
63 internal_module=True