libwbclient: Make wbcGetSidAliases not use talloc
[Samba/ekacnet.git] / source4 / libcli / wscript_build
blob82f0253ffccb39c46d1438d84057f519acf103d2
1 #!/usr/bin/env python
3 bld.RECURSE('ldap')
4 bld.RECURSE('security')
5 bld.RECURSE('wbclient')
7 bld.SAMBA_SUBSYSTEM('LIBSAMBA-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'
15 bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',
16 source='../../libcli/util/tstream.c',
17 public_deps='LIBTSOCKET UTIL_TEVENT'
21 bld.SAMBA_SUBSYSTEM('LIBCLI_LSA',
22 source='util/clilsa.c',
23 autoproto='util/clilsa.h',
24 public_deps='RPC_NDR_LSA',
25 deps='LIBSECURITY'
29 bld.SAMBA_SUBSYSTEM('LIBCLI_COMPOSITE',
30 source='composite/composite.c',
31 autoproto='composite/proto.h',
32 public_deps='LIBEVENTS'
36 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB_COMPOSITE',
37 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',
38 autoproto='smb_composite/proto.h',
39 deps='LIBCLI_SMB2',
40 public_deps='LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE'
44 bld.SAMBA_SUBSYSTEM('LIBCLI_DGRAM',
45 source='dgram/dgramsocket.c dgram/mailslot.c dgram/netlogon.c dgram/browse.c',
46 public_deps='LIBCLI_NBT LIBNDR LIBCLI_RESOLVE LIBCLI_NETLOGON'
50 bld.SAMBA_SUBSYSTEM('LIBCLI_WREPL',
51 source='wrepl/winsrepl.c',
52 autoproto='wrepl/winsrepl_proto.h',
53 public_deps='NDR_WINSREPL samba_socket LIBEVENTS LIBPACKET LIBSAMBA_TSOCKET'
57 bld.SAMBA_SUBSYSTEM('LIBCLI_RESOLVE',
58 source='resolve/resolve.c',
59 autoproto='resolve/proto.h',
60 public_deps='NDR_NBT LIBTSOCKET'
64 bld.SAMBA_SUBSYSTEM('LP_RESOLVE',
65 source='resolve/bcast.c resolve/nbtlist.c resolve/wins.c resolve/dns_ex.c resolve/file.c resolve/host.c resolve/resolve_lp.c',
66 autoproto='resolve/lp_proto.h',
67 deps='LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF'
71 bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
72 source='finddcs.c',
73 autoproto='finddcs.h',
74 public_deps='LIBCLI_NBT MESSAGING'
78 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
79 source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
80 autoproto='libcli_proto.h',
81 public_deps='LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
85 bld.SAMBA_SUBSYSTEM('LIBCLI_RAW',
86 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',
87 autoproto='raw/raw_proto.h',
88 public_deps='samba_socket LIBPACKET gensec LIBCRYPTO CREDENTIALS LIBCLI_SMB_COMMON',
89 deps='LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR'
92 bld.RECURSE('smb2')