ebee49b89c3c851fbed3b09a10845615fa50fa40
[ira/wip.git] / source4 / auth / wscript_build
1 #!/usr/bin/env python
2
3 bld.RECURSE('gensec')
4 bld.RECURSE('kerberos')
5 bld.RECURSE('ntlmssp')
6 bld.RECURSE('ntlm')
7
8 bld.SAMBA_SUBSYSTEM('auth_session',
9         source='session.c',
10         autoproto='session_proto.h',
11         public_deps='samba-credentials',
12         public_headers='session.h',
13         header_path='samba',
14         deps='samdb auth4_sam'
15         )
16
17 bld.SAMBA_LIBRARY('auth_unix_token',
18                   source='unix_token.c',
19                   autoproto='unix_token_proto.h',
20                   public_deps='LIBWBCLIENT_OLD',
21                   private_library=True,
22                   )
23
24
25 bld.SAMBA_SUBSYSTEM('samba_server_gensec',
26         source='samba_server_gensec.c',
27         public_deps='samba-credentials gensec auth4'
28         )
29
30
31 bld.SAMBA_SUBSYSTEM('auth_system_session',
32         source='system_session.c',
33         autoproto='system_session_proto.h',
34         public_deps='samba-credentials',
35         deps='auth_session',
36         )
37
38
39 bld.SAMBA_SUBSYSTEM('auth4_sam',
40         source='sam.c',
41         autoproto='auth_sam.h',
42         public_deps='samdb security ldb tevent',
43         deps=''
44         )
45
46
47 bld.SAMBA_PYTHON('pyauth',
48         source='pyauth.c',
49         public_deps='auth_system_session',
50         deps='samdb pytalloc-util pyparam_util pyldb-util pycredentials auth4',
51         realname='samba/auth.so'
52         )
53