summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-18 14:19:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-18 14:19:18 +0200
commit9ee1e1f0ac28a3af22c796e729e559ae10784c8e (patch)
tree78372a8b8cbabf0c8fbdeb9c993a9c2b2d7d9c3c /source4/libcli
parent6fefd217ca36a2d91b779a1bb26b970340ee7602 (diff)
downloadsamba-9ee1e1f0ac28a3af22c796e729e559ae10784c8e.tar.gz
samba-9ee1e1f0ac28a3af22c796e729e559ae10784c8e.tar.bz2
samba-9ee1e1f0ac28a3af22c796e729e559ae10784c8e.zip
cli-raw: Add public libsmbclient-raw library.
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/rap/wscript_build2
-rw-r--r--source4/libcli/raw/smbclient-raw.pc.in10
-rw-r--r--source4/libcli/smb2/wscript_build2
-rw-r--r--source4/libcli/wscript_build8
4 files changed, 17 insertions, 5 deletions
diff --git a/source4/libcli/rap/wscript_build b/source4/libcli/rap/wscript_build
index eac7b90675..b58e3acdbf 100644
--- a/source4/libcli/rap/wscript_build
+++ b/source4/libcli/rap/wscript_build
@@ -2,6 +2,6 @@
bld.SAMBA_SUBSYSTEM('LIBCLI_RAP',
source='rap.c',
- public_deps='cli_raw NDR_RAP',
+ public_deps='smbclient-raw NDR_RAP',
autoproto='proto.h'
)
diff --git a/source4/libcli/raw/smbclient-raw.pc.in b/source4/libcli/raw/smbclient-raw.pc.in
new file mode 100644
index 0000000000..3c0c791e87
--- /dev/null
+++ b/source4/libcli/raw/smbclient-raw.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: smbclient-raw
+Description: SMB client
+Version: @PACKAGE_VERSION@
+Libs: @LIB_RPATH@ -L${libdir} -lsmbclient-raw
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source4/libcli/smb2/wscript_build b/source4/libcli/smb2/wscript_build
index 1f3d7ef3b5..8aac8272e3 100644
--- a/source4/libcli/smb2/wscript_build
+++ b/source4/libcli/smb2/wscript_build
@@ -4,6 +4,6 @@ bld.SAMBA_SUBSYSTEM('LIBCLI_SMB2',
source='transport.c request.c negprot.c session.c tcon.c create.c close.c connect.c getinfo.c write.c read.c setinfo.c find.c ioctl.c logoff.c tdis.c flush.c lock.c notify.c cancel.c keepalive.c break.c util.c signing.c lease_break.c',
autoproto='smb2_proto.h',
deps='tevent-util',
- public_deps='cli_raw LIBPACKET gensec tevent'
+ public_deps='smbclient-raw LIBPACKET gensec tevent'
)
diff --git a/source4/libcli/wscript_build b/source4/libcli/wscript_build
index 93c7186107..a2bd3a64e9 100644
--- a/source4/libcli/wscript_build
+++ b/source4/libcli/wscript_build
@@ -75,17 +75,19 @@ bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
autoproto='libcli_proto.h',
- public_deps='cli_raw errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
+ public_deps='smbclient-raw errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
)
-bld.SAMBA_LIBRARY('cli_raw',
+bld.SAMBA_LIBRARY('smbclient-raw',
source='raw/rawfile.c raw/smb_signing.c raw/clisocket.c raw/clitransport.c raw/clisession.c raw/clitree.c raw/clierror.c raw/rawrequest.c raw/rawreadwrite.c raw/rawsearch.c raw/rawsetfileinfo.c raw/raweas.c raw/rawtrans.c raw/clioplock.c raw/rawnegotiate.c raw/rawfsinfo.c raw/rawfileinfo.c raw/rawnotify.c raw/rawioctl.c raw/rawacl.c raw/rawdate.c raw/rawlpq.c raw/rawshadow.c',
autoproto='raw/raw_proto.h',
public_deps='samba_socket LIBPACKET LIBCRYPTO',
deps='cli_composite LIBCLI_RESOLVE security ndr samba-util errors charset talloc LIBCLI_SMB_COMPOSITE tevent NDR_NBT_BUF cli_smb_common',
public_headers='raw/request.h:smb_request.h raw/signing.h:smb_signing.h raw/libcliraw.h:smb_cliraw.h raw/interfaces.h:smb_raw_interfaces.h raw/smb.h:smb_raw.h raw/trans2.h:smb_raw_trans2.h',
- private_library=True,
+ private_library=False,
+ pc_files='raw/smbclient-raw.pc',
+ vnum='0.0.1'
)
bld.RECURSE('smb2')