selftest/Samba4: make use of get_cmd_env_vars() to setup all relevant env variables
[samba.git] / librpc / idl / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_PIDL_LIST('PIDL',
4                     '''drsuapi.idl epmapper.idl
5                        eventlog.idl
6                        browser.idl dssetup.idl frsapi.idl
7                        spoolss.idl
8                        dnsserver.idl
9                        samr.idl srvsvc.idl winreg.idl
10                        mgmt.idl netlogon.idl
11                        svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl
12                        witness.idl clusapi.idl
13                        mdssvc.idl''',
14                     options='--header --ndr-parser --server-compat --server --client --python',
15                     output_dir='../gen_ndr')
16
17 # The interface names here are not the same as the IDL name, so the
18 # auto-generation of the fuzzer fails to link
19 bld.SAMBA_PIDL_LIST('PIDL',
20                     '''echo.idl
21                        fsrvp.idl
22                        lsa.idl
23                        winspool.idl''',
24                     options='--header --ndr-parser --server-compat --server --client --python',
25                     output_dir='../gen_ndr',
26                     generate_fuzzers=False)
27
28 # Services that we only have a client for
29 bld.SAMBA_PIDL_LIST('PIDL',
30                     '''atsvc.idl gkdi.idl''',
31                     options='--header --ndr-parser --client --python',
32                     output_dir='../gen_ndr')
33
34 # Services that we only have a server in the source3 style
35 bld.SAMBA_PIDL_LIST('PIDL',
36                     '''initshutdown.idl ntsvcs.idl''',
37                     options='--header --ndr-parser --client --python --server-compat',
38                     output_dir='../gen_ndr')
39
40 # The interface names here are not the same as the IDL name, so the
41 # auto-generation of the fuzzer fails to link
42 bld.SAMBA_PIDL_LIST('PIDL',
43                     '''dfs.idl''',
44                     options='--header --ndr-parser --client --python --server-compat',
45                     output_dir='../gen_ndr',
46                     generate_fuzzers=False)
47
48 # Services that we only have a server in the source4 style.
49
50 bld.SAMBA_PIDL_LIST('PIDL',
51                     '''unixinfo.idl''',
52                     options='--header --ndr-parser --client --python --server',
53                     output_dir='../gen_ndr')
54
55 # DCE/RPC protocols which Samba does not implement a client or server
56 # for.  We don't generate a fuzzer for these as they are unreachable
57 #
58 # Do not include IDL with public structures in this list as we want to
59 # fuzz those
60
61 bld.SAMBA_PIDL_LIST('PIDL',
62                     '''
63                     audiosrv.idl
64                     dbgidl.idl
65                     dsbackup.idl
66                     efs.idl
67                     frstrans.idl
68                     frsrpc.idl
69                     keysvc.idl
70                     msgsvc.idl
71                     orpc.idl
72                     policyagent.idl
73                     rot.idl
74                     scerpc.idl
75                     trkwks.idl
76                     w32time.idl
77                     winstation.idl
78                     wzcsvc.idl
79                     ''',
80                     options='--header --ndr-parser',
81                     generate_fuzzers=False,
82                     output_dir='../gen_ndr')
83
84 # Non-DCE/RPC protocols encoded in IDL for Samba or helper IDLs for
85 # DCE/RPC protocols (eg defining constants or structures but not
86 # functions)
87 bld.SAMBA_PIDL_LIST('PIDL',
88                     '''
89                     bkupblobs.idl
90                     cab.idl
91                     file_id.idl
92                     fscc.idl
93                     fsrvp_state.idl
94                     named_pipe_auth.idl
95                     negoex.idl
96                     notify.idl
97                     ntprinting.idl
98                     ODJ.idl
99                     printcap.idl
100                     rap.idl
101                     schannel.idl
102                     smb2_lease_struct.idl
103                     ''',
104                     options='--header --ndr-parser',
105                     output_dir='../gen_ndr')
106
107 # The interface names here are not the same as the IDL name, so the
108 # auto-generation of the fuzzer fails to link
109
110 bld.SAMBA_PIDL_LIST('PIDL',
111                     '''
112                     ioctl.idl
113                     nfs4acl.idl
114                     quota.idl
115                     wsp_data.idl
116                     wsp.idl
117                     ''',
118                     options='--header --ndr-parser',
119                     output_dir='../gen_ndr',
120                     generate_fuzzers=False)
121
122 # Non-DCE/RPC protocols with Python bindings
123 # (for structures or constants)
124
125 bld.SAMBA_PIDL_LIST('PIDL',
126                     '''
127                     auth.idl
128                     claims.idl
129                     dcerpc.idl
130                     dfsblobs.idl
131                     dns.idl
132                     dnsp.idl
133                     drsblobs.idl
134                     gmsa.idl
135                     idmap.idl
136                     krb5pac.idl
137                     krb5ccache.idl
138                     messaging.idl
139                     misc.idl
140                     nbt.idl
141                     ntlmssp.idl
142                     preg.idl
143                     security.idl
144                     server_id.idl
145                     smb_acl.idl
146                     xattr.idl
147                     smb3posix.idl
148                     ''',
149                     options='--header --ndr-parser --python',
150                     output_dir='../gen_ndr')
151
152 bld.SAMBA_PIDL_LIST('PIDL',
153                     '''
154                     windows_event_ids.idl
155                     conditional_ace.idl
156                     ''',
157                     options='--header --ndr-parser --python',
158                     output_dir='../gen_ndr',
159                     generate_tables=False)
160
161 bld.SAMBA_PIDL_LIST('PIDL',
162                     'winbind.idl',
163                     options='--header --ndr-parser --server-compat --client --python',
164                     output_dir='../gen_ndr')