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