summaryrefslogtreecommitdiff
path: root/source4/libcli/wscript_build
blob: 3184a19c043fc9392b924f468572f5331a7069c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/usr/bin/env python

bld.RECURSE('ldap')
bld.RECURSE('wbclient')

bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',
	source='../../libcli/util/tstream.c',
	public_deps='LIBTSOCKET tevent-util'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_LSA',
	source='util/clilsa.c',
	autoproto='util/clilsa.h',
	public_deps='RPC_NDR_LSA',
	deps='security'
	)


bld.SAMBA_SUBSYSTEM('cli_composite',
	source='composite/composite.c',
	autoproto='composite/proto.h',
	public_deps='events'
	)


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',
	autoproto='smb_composite/proto.h',
	deps='LIBCLI_SMB2 tevent-util',
	public_deps='cli_composite credentials gensec LIBCLI_RESOLVE tevent'
	)

bld.SAMBA_PYTHON('pysmb',
    source='pysmb.c',
    deps='LIBCLI_SMB_COMPOSITE LIBCLI_SMB2 tevent-util pyparam_util',
	public_deps='cli_composite credentials gensec LIBCLI_RESOLVE tevent',
    realname='samba/smb.so'
    )

bld.SAMBA_SUBSYSTEM('LIBCLI_DGRAM',
	source='dgram/dgramsocket.c dgram/mailslot.c dgram/netlogon.c dgram/browse.c',
	public_deps='cli-nbt ndr LIBCLI_RESOLVE LIBCLI_NETLOGON LIBCLI_RESOLVE'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_WREPL',
	source='wrepl/winsrepl.c',
	autoproto='wrepl/winsrepl_proto.h',
	public_deps='NDR_WINSREPL samba_socket events LIBPACKET LIBSAMBA_TSOCKET'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_RESOLVE',
	source='resolve/resolve.c',
	autoproto='resolve/proto.h',
	deps='roken',
	public_deps='NDR_NBT LIBTSOCKET'
	)


bld.SAMBA_SUBSYSTEM('LP_RESOLVE',
	source='resolve/bcast.c resolve/nbtlist.c resolve/wins.c resolve/dns_ex.c resolve/file.c resolve/host.c resolve/resolve_lp.c',
	autoproto='resolve/lp_proto.h',
	deps='cli-nbt samba-hostconfig netif'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
	source='finddcs_nbt.c finddcs_cldap.c',
	autoproto='finddcs_proto.h',
	public_deps='cli-nbt MESSAGING RPC_NDR_IRPC cli_cldap'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
	source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
	autoproto='libcli_proto.h',
	public_deps='cli_raw errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
	)


bld.SAMBA_LIBRARY('cli_raw',
	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',
	public_deps='samba_socket LIBPACKET LIBCRYPTO',
	deps='cli_composite LIBCLI_RESOLVE security ndr samba-util errors charset talloc LIBCLI_SMB_COMPOSITE tevent NDR_NBT_BUF cli_smb_common',
	private_library=True
	)

bld.RECURSE('smb2')
bld.RECURSE('rap')