s4: Drop duplicate 'lib' prefix for private libraries.
[nivanova/samba-autobuild/.git] / source4 / libcli / wscript_build
1 #!/usr/bin/env python
2
3 bld.RECURSE('ldap')
4 bld.RECURSE('security')
5 bld.RECURSE('wbclient')
6
7 bld.SAMBA_LIBRARY('errors',
8                   source='../../libcli/util/doserr.c util/errormap.c util/nterr.c',
9                   public_headers='../../libcli/util/error.h ../../libcli/util/ntstatus.h ../../libcli/util/doserr.h ../../libcli/util/werror.h',
10                   header_path='core',
11                   deps='talloc',
12                   private_library=True
13                   )
14
15
16 bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',
17         source='../../libcli/util/tstream.c',
18         public_deps='LIBTSOCKET UTIL_TEVENT'
19         )
20
21
22 bld.SAMBA_SUBSYSTEM('LIBCLI_LSA',
23         source='util/clilsa.c',
24         autoproto='util/clilsa.h',
25         public_deps='RPC_NDR_LSA',
26         deps='security'
27         )
28
29
30 bld.SAMBA_SUBSYSTEM('LIBCLI_COMPOSITE',
31         source='composite/composite.c',
32         autoproto='composite/proto.h',
33         public_deps='events'
34         )
35
36
37 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB_COMPOSITE',
38         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',
39         autoproto='smb_composite/proto.h',
40         deps='LIBCLI_SMB2',
41         public_deps='LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE'
42         )
43
44
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 LIBNDR LIBCLI_RESOLVE LIBCLI_NETLOGON LIBCLI_RESOLVE'
48         )
49
50
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'
55         )
56
57
58 bld.SAMBA_SUBSYSTEM('LIBCLI_RESOLVE',
59         source='resolve/resolve.c',
60         autoproto='resolve/proto.h',
61         public_deps='NDR_NBT LIBTSOCKET'
62         )
63
64
65 bld.SAMBA_SUBSYSTEM('LP_RESOLVE',
66         source='resolve/bcast.c resolve/nbtlist.c resolve/wins.c resolve/dns_ex.c resolve/file.c resolve/host.c resolve/resolve_lp.c',
67         autoproto='resolve/lp_proto.h',
68         deps='cli_nbt libsamba-hostconfig netif'
69         )
70
71
72 bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
73         source='finddcs_nbt.c finddcs_cldap.c',
74         autoproto='finddcs_proto.h',
75         public_deps='cli_nbt MESSAGING RPC_NDR_IRPC LIBCLI_CLDAP'
76         )
77
78
79 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
80         source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
81         autoproto='libcli_proto.h',
82         public_deps='LIBCLI_RAW errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli_nbt security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
83         )
84
85
86 bld.SAMBA_SUBSYSTEM('LIBCLI_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 gensec LIBCRYPTO CREDENTIALS LIBCLI_SMB_COMMON',
90         deps='LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE security LIBNDR'
91         )
92
93 bld.RECURSE('smb2')