docs: Do not encourage unix passwords, and remove reference to password level
[Samba/bjacke.git] / source4 / libcli / wscript_build
blob600b1f87d016c3b35e10ad540fccfb3de88de7e8
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='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',
29 deps='LIBCLI_SMB2 tevent-util',
30 public_deps='cli_composite samba-credentials gensec LIBCLI_RESOLVE tevent',
31 public_headers='smb_composite/smb_composite.h',
34 bld.SAMBA_PYTHON('pysmb',
35 source='pysmb.c',
36 deps='LIBCLI_SMB_COMPOSITE LIBCLI_SMB2 tevent-util pyparam_util',
37 public_deps='cli_composite samba-credentials gensec LIBCLI_RESOLVE tevent param_options',
38 realname='samba/smb.so'
41 bld.SAMBA_SUBSYSTEM('LIBCLI_DGRAM',
42 source='dgram/dgramsocket.c dgram/mailslot.c dgram/netlogon.c dgram/browse.c',
43 public_deps='cli-nbt ndr LIBCLI_RESOLVE LIBCLI_NETLOGON LIBCLI_RESOLVE'
47 bld.SAMBA_SUBSYSTEM('LIBCLI_WREPL',
48 source='wrepl/winsrepl.c',
49 autoproto='wrepl/winsrepl_proto.h',
50 public_deps='NDR_WINSREPL samba_socket events LIBPACKET LIBSAMBA_TSOCKET'
54 bld.SAMBA_SUBSYSTEM('LIBCLI_RESOLVE',
55 source='resolve/resolve.c',
56 autoproto='resolve/proto.h',
57 deps='roken',
58 public_deps='ndr_nbt LIBTSOCKET'
62 bld.SAMBA_SUBSYSTEM('LP_RESOLVE',
63 source='resolve/bcast.c resolve/nbtlist.c resolve/wins.c resolve/dns_ex.c resolve/file.c resolve/host.c resolve/resolve_lp.c',
64 autoproto='resolve/lp_proto.h',
65 deps='cli-nbt samba-hostconfig netif addns'
69 bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
70 source='finddcs_cldap.c',
71 autoproto='finddcs_proto.h',
72 public_deps='cli_cldap'
76 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
77 source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
78 public_headers='libcli.h:smb_cli.h',
79 public_deps='smbclient-raw errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt samba-security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
83 bld.SAMBA_LIBRARY('smbclient-raw',
84 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',
85 autoproto='raw/raw_proto.h',
86 public_deps='samba_socket LIBPACKET LIBCRYPTO',
87 deps='cli_composite LIBCLI_RESOLVE samba-security ndr samba-util errors charset talloc LIBCLI_SMB_COMPOSITE tevent cli_smb_common',
88 public_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',
89 private_library=False,
90 pc_files='raw/smbclient-raw.pc',
91 vnum='0.0.1'
94 bld.RECURSE('smb2')
95 bld.RECURSE('rap')