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
|
Import('hostenv')
proto_files = []
cli_utils_files = ['util/asn1.c', 'util/doserr.c','util/errormap.c','util/clierror.c', 'util/nterr.c','util/smbdes.c']
proto_files += cli_utils_files
hostenv.StaticLibrary('cli_utils', cli_utils_files)
hostenv.StaticLibrary('cli_lsa', ['util/clilsa.c'])
hostenv.StaticLibrary('cli_composite_base', ['composite/composite.c'])
cli_composite_files = ['composite/loadfile.c','composite/savefile.c','composite/connect.c',
'composite/sesssetup.c','composite/fetchfile.c','composite/appendacl.c',
'composite/fsinfo.c']
hostenv.StaticLibrary('cli_composite', cli_composite_files)
proto_files += ['util/clilsa.c', 'composite/composite.c'] + cli_composite_files
cli_nbt_files = ['nbt/nbtname.c','nbt/nbtsocket.c','nbt/namequery.c','nbt/nameregister.c',
'nbt/namerefresh.c','nbt/namerelease.c']
hostenv.StaticLibrary('cli_nbt', cli_nbt_files)
proto_files += cli_nbt_files
hostenv.StaticLibrary('cli_dgram',
[ 'dgram/dgramsocket.c','dgram/mailslot.c','dgram/netlogon.c',
'dgram/ntlogon.c','dgram/browse.c'])
hostenv.StaticLibrary('cli_cldap', ['cldap/cldap.c'])
hostenv.StaticLibrary('cli_wrepl', ['wrepl/winsrepl.c'])
cli_resolve_files = ['resolve/resolve.c','resolve/nbtlist.c','resolve/bcast.c','resolve/wins.c',
'resolve/host.c']
hostenv.StaticLibrary('cli_resolve', cli_resolve_files)
proto_files += cli_resolve_files
smb_files = ['clireadwrite.c', 'cliconnect.c','clifile.c','clilist.c','clitrans2.c',
'climessage.c','clideltree.c']
hostenv.StaticLibrary('smb', smb_files)
proto_files += smb_files
cli_raw_files = ['raw/rawfile.c','raw/smb_signing.c','raw/clisocket.c',
'raw/clitransport.c','raw/clisession.c','raw/clitree.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']
hostenv.StaticLibrary('cli_raw', cli_raw_files)
proto_files += cli_raw_files
security_files = ['security/security_token.c','security/security_descriptor.c',
'security/dom_sid.c', 'security/access_check.c',
'security/privilege.c', '../librpc/ndr/ndr_sec_helper.c']
proto_files += security_files
hostenv.StaticLibrary('cli_security', security_files)
auth_files = ['auth/credentials.c','auth/session.c','auth/smbencrypt.c']
proto_files += auth_files
hostenv.StaticLibrary('cli_auth',auth_files)
ldap_files = ['ldap/ldap.c','ldap/ldap_client.c','ldap/ldap_bind.c',
'ldap/ldap_msg.c','ldap/ldap_ndr.c','ldap/ldap_ildap.c']
proto_files += ldap_files
cli_ldap = hostenv.StaticLibrary('cli_ldap',ldap_files)
Export('cli_ldap')
hostenv.proto_headers += hostenv.CProtoHeader('proto.h', proto_files)
|