526dafb98a752ea2e90ef2c79c6f3429f0ad331d
[samba.git] / librpc / idl / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_PIDL_LIST('PIDL',
4                     '''atsvc.idl drsuapi.idl epmapper.idl initshutdown.idl
5                        eventlog.idl
6                        ntsvcs.idl remact.idl unixinfo.idl
7                        browser.idl dfs.idl dssetup.idl frsapi.idl
8                        rot.idl spoolss.idl w32time.idl
9                        dnsserver.idl echo.idl lsa.idl
10                        oxidresolver.idl samr.idl srvsvc.idl winreg.idl
11                        mgmt.idl netlogon.idl
12                        svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl
13                        fsrvp.idl witness.idl clusapi.idl
14                        mdssvc.idl
15                        winspool.idl''',
16                     options='--header --ndr-parser --samba3-ndr-server --server --client --python',
17                     output_dir='../gen_ndr')
18
19 bld.SAMBA_PIDL_LIST('PIDL',
20                     'wmi.idl dcom.idl',
21                     options='--header --ndr-parser --server --client --dcom-proxy --com-header',
22                     output_dir='../gen_ndr')
23
24 # DCE/RPC protocols which Samba does not implement a client or server
25 # for
26
27 bld.SAMBA_PIDL_LIST('PIDL',
28                     '''
29                     audiosrv.idl
30                     dsbackup.idl
31                     efs.idl
32                     frstrans.idl
33                     frsrpc.idl
34                     keysvc.idl
35                     msgsvc.idl
36                     orpc.idl
37                     policyagent.idl
38                     scerpc.idl
39                     trkwks.idl
40                     wzcsvc.idl
41                     ''',
42                     options='--header --ndr-parser',
43                     output_dir='../gen_ndr')
44
45 # Non-DCE/RPC protocols encoded in IDL for Samba or helper IDLs for
46 # DCE/RPC protocols (eg defining constands or structures but not
47 # functions)
48 bld.SAMBA_PIDL_LIST('PIDL',
49                     '''
50                     bkupblobs.idl
51                     cab.idl
52                     dbgidl.idl
53                     file_id.idl
54                     fscc.idl
55                     fsrvp_state.idl
56                     ioctl.idl
57                     named_pipe_auth.idl
58                     negoex.idl
59                     nfs4acl.idl
60                     notify.idl
61                     ntprinting.idl
62                     printcap.idl
63                     quota.idl
64                     rap.idl
65                     schannel.idl
66                     smb2_lease_struct.idl
67                     ''',
68                     options='--header --ndr-parser',
69                     output_dir='../gen_ndr')
70
71 # Non-DCE/RPC protocls with Python bindings
72 # (for structures or constants)
73
74 bld.SAMBA_PIDL_LIST('PIDL',
75                     '''
76                     auth.idl
77                     dcerpc.idl
78                     dfsblobs.idl
79                     dns.idl
80                     dnsp.idl
81                     drsblobs.idl
82                     idmap.idl
83                     krb5pac.idl
84                     messaging.idl
85                     misc.idl
86                     nbt.idl
87                     ntlmssp.idl
88                     preg.idl
89                     security.idl
90                     server_id.idl
91                     smb_acl.idl
92                     windows_event_ids.idl
93                     xattr.idl
94                     ''',
95                     options='--header --ndr-parser --python',
96                     output_dir='../gen_ndr')
97
98 bld.SAMBA_PIDL_LIST('PIDL',
99                     'winbind.idl',
100                     options='--header --ndr-parser --samba3-ndr-server --client --python',
101                     output_dir='../gen_ndr')
102