1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/auth/wscript_build
Andrew Bartlett 21c2e8b378 build: make LIBWBCLIENT_OLD and auth_unix_token libraries
This assists with avoiding duplicate symbols.

Andrew Bartlett
2011-09-08 19:33:13 +10:00

55 lines
1.2 KiB
Python

#!/usr/bin/env python
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='samba-credentials',
public_headers='session.h',
header_path='samba',
deps='samdb auth4_sam'
)
bld.SAMBA_LIBRARY('auth_unix_token',
source='unix_token.c',
autoproto='unix_token_proto.h',
public_deps='LIBWBCLIENT_OLD',
private_library=True,
)
bld.SAMBA_SUBSYSTEM('samba_server_gensec',
source='samba_server_gensec.c',
public_deps='samba-credentials gensec auth4'
)
bld.SAMBA_SUBSYSTEM('auth_system_session',
source='system_session.c',
autoproto='system_session_proto.h',
public_deps='samba-credentials',
deps='auth_session',
)
bld.SAMBA_SUBSYSTEM('auth4_sam',
source='sam.c',
autoproto='auth_sam.h',
public_deps='samdb security ldb tevent',
deps=''
)
bld.SAMBA_PYTHON('pyauth',
source='pyauth.c',
public_deps='auth_system_session',
deps='samdb pytalloc-util pyparam_util pyldb-util pycredentials auth4',
realname='samba/auth.so'
)