gensec: Refactor gensec_security_mechs()
[samba4-gss.git] / source4 / libcli / wscript_build
blobb3a441046874cfa5afc05d72094d1d6bdc79ab94
1 #!/usr/bin/env python
3 bld.RECURSE('ldap')
4 bld.RECURSE('wbclient')
6 bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',
7 source='../../libcli/util/tstream.c',
8 public_deps='LIBTSOCKET tevent-util'
12 bld.SAMBA_SUBSYSTEM('LIBCLI_LSA',
13 source='util/clilsa.c',
14 autoproto='util/clilsa.h',
15 public_deps='RPC_NDR_LSA dcerpc',
16 deps='samba-security'
20 bld.SAMBA_SUBSYSTEM('cli_composite',
21 source='composite/composite.c',
22 autoproto='composite/proto.h',
23 public_deps='events'
27 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB_COMPOSITE',
28 source='''
29 smb_composite/loadfile.c
30 smb_composite/savefile.c
31 smb_composite/connect_nego.c
32 smb_composite/connect.c
33 smb_composite/sesssetup.c
34 smb_composite/fetchfile.c
35 smb_composite/appendacl.c
36 smb_composite/fsinfo.c
37 smb_composite/smb2.c
38 ''',
39 deps='LIBCLI_SMB2 tevent-util',
40 public_deps='cli_composite samba-credentials gensec LIBCLI_RESOLVE tevent',
41 private_headers='smb_composite/smb_composite.h',
45 bld.SAMBA_SUBSYSTEM('LIBCLI_DGRAM',
46 source='dgram/dgramsocket.c dgram/mailslot.c dgram/netlogon.c dgram/browse.c',
47 public_deps='cli-nbt ndr LIBCLI_RESOLVE LIBCLI_NETLOGON LIBCLI_RESOLVE'
51 bld.SAMBA_SUBSYSTEM('LIBCLI_WREPL',
52 source='wrepl/winsrepl.c',
53 autoproto='wrepl/winsrepl_proto.h',
54 public_deps='NDR_WINSREPL samba_socket events LIBPACKET LIBSAMBA_TSOCKET'
58 bld.SAMBA_SUBSYSTEM('LIBCLI_RESOLVE',
59 source='resolve/resolve.c',
60 autoproto='resolve/proto.h',
61 public_deps='ndr_nbt LIBTSOCKET'
65 bld.SAMBA_SUBSYSTEM('LP_RESOLVE',
66 source='resolve/bcast.c resolve/nbtlist.c resolve/wins.c resolve/dns_ex.c resolve/host.c resolve/lmhosts.c resolve/resolve_lp.c',
67 autoproto='resolve/lp_proto.h',
68 deps='cli-nbt samba-hostconfig netif addns'
72 bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
73 source='finddcs_cldap.c',
74 autoproto='finddcs_proto.h',
75 public_deps='cli_cldap'
79 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
80 source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
81 private_headers='libcli.h:smb_cli.h',
82 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'
86 bld.SAMBA_LIBRARY('smbclient-raw',
87 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',
88 autoproto='raw/raw_proto.h',
89 public_deps='samba_socket LIBPACKET LIBCRYPTO',
90 deps='cli_composite LIBCLI_RESOLVE samba-security ndr samba-util samba-errors charset talloc LIBCLI_SMB_COMPOSITE tevent cli_smb_common',
91 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',
92 private_library=True,
95 bld.RECURSE('smb2')
96 bld.RECURSE('rap')