1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/libcli/smb/wscript
Jelmer Vernooij da8674c72a Rename 'errors' to 'samba-errors' and make it public.
This is necessary because it has public headers.

Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
Reviewed-By: Andrew Bartlett <abartlet@samba.org>
Reviewed-By: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Wed Jan 13 07:47:04 CET 2016 on sn-devel-144
2016-01-13 07:47:04 +01:00

61 lines
1.4 KiB
Python
Executable File

#!/usr/bin/env python
def build(bld):
bld.SAMBA_LIBRARY('smb_transport',
source='''
read_smb.c
''',
deps='LIBASYNC_REQ',
public_deps='talloc tevent',
private_library=True,
private_headers='''
read_smb.h
''',
)
bld.SAMBA_LIBRARY('cli_smb_common',
source='''
smb_signing.c smb_seal.c
smb2_negotiate_context.c
smb2_create_blob.c smb2_signing.c
smb2_lease.c
util.c
smbXcli_base.c
smb1cli_trans.c
smb1cli_echo.c
smb1cli_create.c
smb1cli_close.c
smb1cli_write.c
smb1cli_read.c
smb2cli_session.c
smb2cli_tcon.c
smb2cli_create.c
smb2cli_close.c
smb2cli_read.c
smb2cli_write.c
smb2cli_flush.c
smb2cli_set_info.c
smb2cli_query_info.c
smb2cli_query_directory.c
smb2cli_ioctl.c
smb2cli_echo.c
tstream_smbXcli_np.c
''',
deps='''
LIBCRYPTO NDR_SMB2_LEASE_STRUCT samba-errors gensec krb5samba
smb_transport
''',
public_deps='talloc samba-util iov_buf',
private_library=True,
private_headers='''
smb_common.h smb2_constants.h smb_constants.h
smb_signing.h smb_seal.h
smb2_create_blob.h smb2_signing.h
smb2_lease.h
smb_util.h
smb_unix_ext.h
tstream_smbXcli_np.h
''',
)