summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-10 12:34:59 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-25 01:39:41 +0200
commit28350aeaa19d419bfc8f2fef69b136f42a0234ae (patch)
tree841de8abd5bd2530a011873876760ca9f27958d1 /libcli
parent5eec19bc838a276eeea10ddedc50d5f0697f120e (diff)
downloadsamba-28350aeaa19d419bfc8f2fef69b136f42a0234ae.tar.gz
samba-28350aeaa19d419bfc8f2fef69b136f42a0234ae.tar.bz2
samba-28350aeaa19d419bfc8f2fef69b136f42a0234ae.zip
libcli/smb: split out a smb_transport private library
metze
Diffstat (limited to 'libcli')
-rwxr-xr-xlibcli/smb/wscript18
1 files changed, 15 insertions, 3 deletions
diff --git a/libcli/smb/wscript b/libcli/smb/wscript
index 542853808d..ae65d684df 100755
--- a/libcli/smb/wscript
+++ b/libcli/smb/wscript
@@ -2,11 +2,23 @@
def build(bld):
+ bld.SAMBA_LIBRARY('smb_transport',
+ source='''
+ read_smb.c
+ ''',
+ deps='errors LIBASYNC_REQ',
+ public_deps='talloc tevent samba-util',
+ private_library=True,
+ public_headers='''
+ read_smb.h
+ ''',
+ )
+
bld.SAMBA_LIBRARY('cli_smb_common',
source='''
smb_signing.c smb_seal.c
smb2_create_blob.c smb2_signing.c
- util.c read_smb.c
+ util.c
smbXcli_base.c
smb1cli_trans.c
smb2cli_session.c
@@ -20,14 +32,14 @@ def build(bld):
smb2cli_query_directory.c
smb2cli_ioctl.c
''',
- deps='LIBCRYPTO errors gensec krb5samba LIBASYNC_REQ',
+ deps='LIBCRYPTO errors gensec krb5samba smb_transport',
public_deps='talloc samba-util',
private_library=True,
public_headers='''
smb_common.h smb2_constants.h smb_constants.h
smb_signing.h smb_seal.h
smb2_create_blob.h smb2_signing.h
- smb_util.h read_smb.h
+ smb_util.h
smb_unix_ext.h
''',
)