ctdb-common: Fix CID 1125583 Dereference after null check (FORWARD_NULL)
[Samba.git] / libcli / smb / wscript
blob394136b855b6e26234f7b1e3b40ab75d11bde29f
1 #!/usr/bin/env python
4 def build(bld):
5 bld.SAMBA_LIBRARY('smb_transport',
6 source='''
7 read_smb.c
8 ''',
9 deps='LIBASYNC_REQ',
10 public_deps='talloc tevent',
11 private_library=True,
12 private_headers='''
13 read_smb.h
14 ''',
17 bld.SAMBA_LIBRARY('cli_smb_common',
18 source='''
19 smb_signing.c smb_seal.c
20 smb2_negotiate_context.c
21 smb2_create_blob.c smb2_signing.c
22 smb2_lease.c
23 util.c
24 smbXcli_base.c
25 smb1cli_trans.c
26 smb1cli_echo.c
27 smb1cli_create.c
28 smb1cli_close.c
29 smb1cli_write.c
30 smb1cli_read.c
31 smb2cli_session.c
32 smb2cli_tcon.c
33 smb2cli_create.c
34 smb2cli_close.c
35 smb2cli_read.c
36 smb2cli_write.c
37 smb2cli_flush.c
38 smb2cli_set_info.c
39 smb2cli_query_info.c
40 smb2cli_query_directory.c
41 smb2cli_ioctl.c
42 smb2cli_echo.c
43 tstream_smbXcli_np.c
44 ''',
45 deps='''
46 LIBCRYPTO NDR_SMB2_LEASE_STRUCT samba-errors gensec krb5samba
47 smb_transport
48 ''',
49 public_deps='talloc samba-util iov_buf',
50 private_library=True,
51 private_headers='''
52 smb_common.h smb2_constants.h smb_constants.h
53 smb_signing.h smb_seal.h
54 smb2_create_blob.h smb2_signing.h
55 smb2_lease.h
56 smb_util.h
57 smb_unix_ext.h
58 tstream_smbXcli_np.h
59 ''',