1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/libsmb/wscript
Andrew Bartlett d910d848e3 build: Remove support for a system libsmbclient
With the new --private-libraries option, there is no longer the need
to have this support, which was aimed at avoiding the duplication
between two different libsmbclient binaries in a packaged
distribution.  By using --private-libraries instead, we do not
introduce a dependency between Samba 4.0 packages and whatever other
packages are on the system.

This effectivly reverts part of
e3ffb31554 while kpeeing the improved
SAMBA_LIBRARY declaration.

Andrew Bartlett
2012-04-23 20:48:02 +10:00

32 lines
1.2 KiB
Python

#!/usr/bin/env python
import Options, Logs
def build(bld):
bld.SAMBA3_LIBRARY('smbclient',
source='''
libsmb_cache.c
libsmb_compat.c
libsmb_context.c
libsmb_dir.c
libsmb_file.c
libsmb_misc.c
libsmb_path.c
libsmb_printjob.c
libsmb_server.c
libsmb_stat.c
libsmb_xattr.c
libsmb_setget.c''',
public_deps='''
talloc
param
libsmb
KRBCLIENT
msrpc3
libcli_lsa3''',
public_headers='../include/libsmbclient.h',
abi_directory='ABI',
abi_match='smbc_*',
vnum='0.1.0',
pc_files='smbclient.pc')