dlz_bind9: For creating a child entry, use only SEC_ADS_CREATE_CHILD
[Samba.git] / source3 / rpc_server / wscript_build
blob7c5b54a26a8767786c3bec7936faae3d767624c9
1 #!/usr/bin/env python
3 RPC_LSARPC_SRC = '''lsa/srv_lsa_nt.c ../../librpc/gen_ndr/srv_lsa.c'''
4 RPC_NETLOGON_SRC = '''netlogon/srv_netlog_nt.c ../../librpc/gen_ndr/srv_netlogon.c'''
5 RPC_SAMR_SRC = '''samr/srv_samr_nt.c
6 samr/srv_samr_util.c
7 samr/srv_samr_chgpasswd.c
8 ../../librpc/gen_ndr/srv_samr.c'''
9 RPC_INITSHUTDOWN_SRC = '''initshutdown/srv_initshutdown_nt.c ../../librpc/gen_ndr/srv_initshutdown.c'''
10 RPC_WINREG_SRC = '''winreg/srv_winreg_nt.c ../../librpc/gen_ndr/srv_winreg.c'''
11 RPC_DSSETUP_SRC = '''dssetup/srv_dssetup_nt.c ../../librpc/gen_ndr/srv_dssetup.c'''
12 RPC_SRVSVC_SRC = '''srvsvc/srv_srvsvc_nt.c ../../librpc/gen_ndr/srv_srvsvc.c'''
13 RPC_WKSSVC_SRC = '''wkssvc/srv_wkssvc_nt.c ../../librpc/gen_ndr/srv_wkssvc.c'''
14 RPC_SVCCTL_SRC = '''svcctl/srv_svcctl_nt.c svcctl/srv_svcctl_reg.c ../../librpc/gen_ndr/srv_svcctl.c'''
15 RPC_NTSVCS_SRC = '''ntsvcs/srv_ntsvcs_nt.c ../../librpc/gen_ndr/srv_ntsvcs.c'''
16 RPC_NETDFS_SRC = '''dfs/srv_dfs_nt.c ../../librpc/gen_ndr/srv_dfs.c'''
17 RPC_SPOOLSS_SRC = '''spoolss/srv_spoolss_nt.c ../../librpc/gen_ndr/srv_spoolss.c
18 spoolss/srv_spoolss_util.c'''
19 RPC_EVENTLOG_SRC = '''eventlog/srv_eventlog_nt.c eventlog/srv_eventlog_reg.c ../../librpc/gen_ndr/srv_eventlog.c'''
20 RPC_RPCECHO_SRC = '''echo/srv_echo_nt.c ../../librpc/gen_ndr/srv_echo.c'''
21 RPC_EPMAPPER_SRC = '''epmapper/srv_epmapper.c ../../librpc/gen_ndr/srv_epmapper.c'''
23 bld.SAMBA3_SUBSYSTEM('rpc',
24 source='',
25 deps='RPC_PIPE_REGISTER',
26 vars=locals())
28 bld.SAMBA3_SUBSYSTEM('RPC_CONFIG',
29 source='rpc_config.c')
31 bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
32 source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',
33 deps='RPC_CONFIG auth auth_sam_reply RPC_PIPE_REGISTER npa_tstream')
35 bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
36 source='rpc_server.c',
37 deps='samba-util')
39 bld.SAMBA3_SUBSYSTEM('RPC_CRYPTO',
40 source='dcesrv_ntlmssp.c dcesrv_gssapi.c dcesrv_spnego.c',
41 deps = 'KRB5_PAC')
43 bld.SAMBA3_SUBSYSTEM('RPC_PIPE_REGISTER',
44 source='srv_pipe_register.c',
45 deps='samba-util')
47 bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
48 source='rpc_ep_register.c ../librpc/rpc/dcerpc_ep.c',
49 deps='samba-util')
51 bld.SAMBA3_SUBSYSTEM('EPMD',
52 source='epmd.c',
53 deps='samba-util')
55 bld.SAMBA3_SUBSYSTEM('LSASD',
56 source='lsasd.c',
57 deps='samba-util')
59 bld.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
60 source='srv_access_check.c',
61 deps='samba-util')
63 bld.SAMBA3_SUBSYSTEM('RPC_SAMR',
64 source=RPC_SAMR_SRC,
65 deps='PLAINTEXT_AUTH SRV_ACCESS_CHECK',
66 vars=locals())
68 bld.SAMBA3_SUBSYSTEM('RPC_LSARPC',
69 source=RPC_LSARPC_SRC,
70 deps='SRV_ACCESS_CHECK',
71 vars=locals())
73 bld.SAMBA3_SUBSYSTEM('RPC_WINREG',
74 source=RPC_WINREG_SRC,
75 deps='REGFIO REG_API_REGF NDR_PERFCOUNT',
76 vars=locals())
78 bld.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
79 source=RPC_INITSHUTDOWN_SRC,
80 deps='samba-util',
81 vars=locals())
83 bld.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
84 source=RPC_DSSETUP_SRC,
85 deps='samba-util',
86 vars=locals())
88 bld.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
89 source=RPC_WKSSVC_SRC,
90 deps='LIBNET',
91 vars=locals())
93 bld.SAMBA3_SUBSYSTEM('RPC_SVCCTL',
94 source=RPC_SVCCTL_SRC,
95 deps='SERVICES LIBCLI_WINREG_INTERNAL',
96 vars=locals())
98 bld.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
99 source=RPC_NTSVCS_SRC,
100 deps='samba-util',
101 vars=locals())
103 bld.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
104 source=RPC_NETLOGON_SRC,
105 deps='RPC_NCACN_NP',
106 vars=locals())
108 bld.SAMBA3_SUBSYSTEM('RPC_NETDFS',
109 source=RPC_NETDFS_SRC,
110 deps='samba-util',
111 vars=locals())
113 bld.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
114 source=RPC_SRVSVC_SRC,
115 deps='samba-util tdb',
116 vars=locals())
118 bld.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
119 source=RPC_SPOOLSS_SRC,
120 deps='cups PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL RPC_NCACN_NP',
121 vars=locals())
123 bld.SAMBA3_SUBSYSTEM('RPC_EVENTLOG',
124 source=RPC_EVENTLOG_SRC,
125 deps='LIBEVENTLOG LIBCLI_WINREG_INTERNAL',
126 vars=locals())
128 bld.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
129 source=RPC_RPCECHO_SRC,
130 deps='samba-util',
131 vars=locals())
133 bld.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
134 source=RPC_EPMAPPER_SRC,
135 deps='samba-util',
136 vars=locals())
138 bld.SAMBA3_SUBSYSTEM('RPC_SERVER',
139 source='srv_pipe_hnd.c srv_pipe.c rpc_sock_helper.c rpc_service_setup.c',
140 deps='''RPC_CONFIG RPC_NCACN_NP RPC_SERVICE RPC_CRYPTO
141 RPC_SAMR RPC_LSARPC RPC_WINREG RPC_INITSHUTDOWN
142 RPC_DSSETUP RPC_WKSSVC RPC_SVCCTL RPC_NTSVCS
143 RPC_NETLOGON RPC_NETDFS RPC_SRVSVC RPC_SPOOLSS
144 RPC_EVENTLOG RPC_RPCECHO RPC_SERVER RPC_EPMAPPER
145 RPC_SERVER_REGISTER NDR_NAMED_PIPE_AUTH''')