2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-04-04 07:08:05 +04:00
bld.RECURSE('ldap')
bld.RECURSE('wbclient')
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',
source='../../libcli/util/tstream.c',
2011-07-29 11:01:38 +04:00
public_deps='LIBTSOCKET tevent-util'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('LIBCLI_LSA',
source='util/clilsa.c',
autoproto='util/clilsa.h',
2012-06-07 08:21:25 +04:00
public_deps='RPC_NDR_LSA dcerpc',
2012-08-10 13:37:28 +04:00
deps='samba-security'
2010-03-17 14:07:42 +03:00
)
2011-07-26 00:27:17 +04:00
bld.SAMBA_SUBSYSTEM('cli_composite',
2010-03-17 14:07:42 +03:00
source='composite/composite.c',
autoproto='composite/proto.h',
2010-10-24 05:41:59 +04:00
public_deps='events'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('LIBCLI_SMB_COMPOSITE',
2018-07-18 15:52:43 +03:00
source='''
smb_composite/loadfile.c
smb_composite/savefile.c
smb_composite/connect_nego.c
smb_composite/connect.c
smb_composite/sesssetup.c
smb_composite/fetchfile.c
smb_composite/appendacl.c
smb_composite/fsinfo.c
smb_composite/smb2.c
''',
deps='LIBCLI_SMB2 tevent-util',
public_deps='cli_composite samba-credentials gensec LIBCLI_RESOLVE tevent',
private_headers='smb_composite/smb_composite.h',
)
2010-03-17 14:07:42 +03:00
2017-12-14 14:32:23 +03:00
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('LIBCLI_DGRAM',
source='dgram/dgramsocket.c dgram/mailslot.c dgram/netlogon.c dgram/browse.c',
2010-10-24 22:26:09 +04:00
public_deps='cli-nbt ndr LIBCLI_RESOLVE LIBCLI_NETLOGON LIBCLI_RESOLVE'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('LIBCLI_WREPL',
source='wrepl/winsrepl.c',
autoproto='wrepl/winsrepl_proto.h',
2010-10-24 05:41:59 +04:00
public_deps='NDR_WINSREPL samba_socket events LIBPACKET LIBSAMBA_TSOCKET'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('LIBCLI_RESOLVE',
source='resolve/resolve.c',
autoproto='resolve/proto.h',
2011-11-02 21:05:59 +04:00
public_deps='ndr_nbt LIBTSOCKET'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('LP_RESOLVE',
2014-11-20 13:35:48 +03:00
source='resolve/bcast.c resolve/nbtlist.c resolve/wins.c resolve/dns_ex.c resolve/host.c resolve/lmhosts.c resolve/resolve_lp.c',
2010-03-17 14:07:42 +03:00
autoproto='resolve/lp_proto.h',
2012-05-05 07:11:19 +04:00
deps='cli-nbt samba-hostconfig netif addns'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
2012-06-07 08:21:25 +04:00
source='finddcs_cldap.c',
2010-09-14 09:46:31 +04:00
autoproto='finddcs_proto.h',
2012-06-07 08:21:25 +04:00
public_deps='cli_cldap'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
2015-12-29 01:19:21 +03:00
private_headers='libcli.h:smb_cli.h',
2016-01-04 04:01:53 +03:00
public_deps='smbclient-raw samba-errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt samba-security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
2010-03-17 14:07:42 +03:00
)
2011-08-18 16:19:18 +04:00
bld.SAMBA_LIBRARY('smbclient-raw',
2010-03-17 14:07:42 +03:00
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',
2010-10-30 07:25:14 +04:00
public_deps='samba_socket LIBPACKET LIBCRYPTO',
2016-01-04 04:01:53 +03:00
deps='cli_composite LIBCLI_RESOLVE samba-security ndr samba-util samba-errors charset talloc LIBCLI_SMB_COMPOSITE tevent cli_smb_common',
2015-12-29 01:19:21 +03:00
private_headers='raw/request.h:smb_request.h raw/signing.h:smb_raw_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,
2010-03-17 14:07:42 +03:00
)
2010-04-04 07:08:05 +04:00
bld.RECURSE('smb2')
2011-03-15 19:28:51 +03:00
bld.RECURSE('rap')