summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-04-16 17:05:35 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-04-17 16:17:35 +0200
commite3ffb31554927a24df35576bd753ee4eb2dc2a3c (patch)
tree122a612ed69d54a6befde02c6258881b8798cada /source3/wscript_build
parentc09c288f7c239ec0d73091061d417e1562825c64 (diff)
downloadsamba-e3ffb31554927a24df35576bd753ee4eb2dc2a3c.tar.gz
samba-e3ffb31554927a24df35576bd753ee4eb2dc2a3c.tar.bz2
samba-e3ffb31554927a24df35576bd753ee4eb2dc2a3c.zip
s3-waf: Add possibility to build with system libsmbclient.
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build35
1 files changed, 1 insertions, 34 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index f6f1436e7f..bd9241476c 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -462,23 +462,6 @@ RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}'''
LIBSMBCLIENT_THREAD_SRC = '''libsmb/libsmb_thread_impl.c
libsmb/libsmb_thread_posix.c'''
-LIBSMBCLIENT_SRC0 = '''libsmb/libsmb_cache.c
- libsmb/libsmb_compat.c
- libsmb/libsmb_context.c
- libsmb/libsmb_dir.c
- libsmb/libsmb_file.c
- libsmb/libsmb_misc.c
- libsmb/libsmb_path.c
- libsmb/libsmb_printjob.c
- libsmb/libsmb_server.c
- libsmb/libsmb_stat.c
- libsmb/libsmb_xattr.c
- libsmb/libsmb_setget.c'''
-
-LIBSMBCLIENT_SRC1 = '''${LIBSMBCLIENT_SRC0}'''
-
-LIBSMBCLIENT_SRC = '${LIBSMBCLIENT_SRC1}'
-
LIBSMBSHAREMODES_SRC0 = 'libsmb/smb_share_modes.c'
LIBSMBSHAREMODES_SRC = '${LIBSMBSHAREMODES_SRC0}'
@@ -666,23 +649,6 @@ bld.SAMBA3_LIBRARY('netapi',
vnum='0',
vars=locals())
-bld.SAMBA3_LIBRARY('smbclient',
- source=LIBSMBCLIENT_SRC,
- public_deps='''
- talloc
- param
- libsmb
- KRBCLIENT
- msrpc3
- libcli_lsa3
- ''',
- public_headers='include/libsmbclient.h',
- abi_directory='libsmb/ABI',
- abi_match='smbc_*',
- vnum='0.1.0',
- pc_files='libsmb/smbclient.pc',
- vars=locals())
-
bld.SAMBA3_LIBRARY('smbsharemodes',
source=LIBSMBSHAREMODES_SRC,
public_deps='''talloc tdb_compat''',
@@ -1614,6 +1580,7 @@ bld.RECURSE('libgpo/gpext')
bld.RECURSE('lib/pthreadpool')
bld.RECURSE('librpc')
bld.RECURSE('librpc/idl')
+bld.RECURSE('libsmb')
bld.RECURSE('modules')
bld.RECURSE('pam_smbpass')
bld.RECURSE('passdb')