blob: 6260945c11f4b06afc73f412a7e954db406b3ac9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#!/usr/bin/env python
import Options, Logs
def configure(conf):
if conf.CHECK_BUNDLED_SYSTEM_PKG('smbclient', minversion='0'):
conf.define('USING_SYSTEM_LIBSMBCLIENT', 1)
def build(bld):
if bld.CONFIG_SET('USING_SYSTEM_LIBSMBCLIENT'):
Logs.info("\tSelected system libsmbclient build")
return
Logs.info("\tSelected embedded libsmbclient build")
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')
|