s3-waf: fix the build after rpc_winreg removal.
[samba.git] / source3 / rpc_server / wscript_build
1 #!/usr/bin/env python
2
3 RPC_LSARPC_SRC = '''srv_lsa_nt.c ../../librpc/gen_ndr/srv_lsa.c'''
4 RPC_NETLOGON_SRC = '''srv_netlog_nt.c ../../librpc/gen_ndr/srv_netlogon.c'''
5 RPC_SAMR_SRC = '''srv_samr_nt.c
6                srv_samr_util.c
7                srv_samr_chgpasswd.c
8                ../../librpc/gen_ndr/srv_samr.c'''
9 RPC_INITSHUTDOWN_SRC = '''srv_initshutdown_nt.c ../../librpc/gen_ndr/srv_initshutdown.c'''
10 RPC_WINREG_SRC = '''srv_winreg_nt.c ../../librpc/gen_ndr/srv_winreg.c'''
11 RPC_DSSETUP_SRC = '''srv_dssetup_nt.c ../../librpc/gen_ndr/srv_dssetup.c'''
12 RPC_SRVSVC_SRC = '''srv_srvsvc_nt.c ../../librpc/gen_ndr/srv_srvsvc.c'''
13 RPC_WKSSVC_SRC = '''srv_wkssvc_nt.c ../../librpc/gen_ndr/srv_wkssvc.c'''
14 RPC_SVCCTL_SRC = '''srv_svcctl_nt.c ../../librpc/gen_ndr/srv_svcctl.c'''
15 RPC_NTSVCS_SRC = '''srv_ntsvcs_nt.c ../../librpc/gen_ndr/srv_ntsvcs.c'''
16 RPC_NETDFS_SRC = '''srv_dfs_nt.c ../../librpc/gen_ndr/srv_dfs.c'''
17 RPC_SPOOLSS_SRC = '''srv_spoolss_nt.c ../../librpc/gen_ndr/srv_spoolss.c
18                      srv_spoolss_util.c'''
19 RPC_EVENTLOG_SRC = '''srv_eventlog_nt.c ../../librpc/gen_ndr/srv_eventlog.c'''
20 RPC_RPCECHO_SRC = '''srv_echo_nt.c ../../librpc/gen_ndr/srv_echo.c'''
21
22 bld.SAMBA_SUBSYSTEM('rpc',
23                     source='',
24                     deps='RPC_PIPE_REGISTER',
25                     vars=locals())
26
27 bld.SAMBA_SUBSYSTEM('RPC_NCACN_NP',
28                     source='rpc_ncacn_np.c rpc_handles.c')
29
30 bld.SAMBA_SUBSYSTEM('RPC_SERVICE',
31                     source='rpc_server.c')
32
33 bld.SAMBA_SUBSYSTEM('RPC_CRYPTO',
34                     source='dcesrv_ntlmssp.c dcesrv_gssapi.c dcesrv_spnego.c')
35
36 bld.SAMBA_SUBSYSTEM('RPC_PIPE_REGISTER',
37                     source='srv_pipe_register.c')
38
39 bld.SAMBA_SUBSYSTEM('RPC_SAMR',
40                     source=RPC_SAMR_SRC,
41                     deps='PLAINTEXT_AUTH',
42                     vars=locals())
43
44 bld.SAMBA_SUBSYSTEM('RPC_LSARPC',
45                     source=RPC_LSARPC_SRC,
46                     vars=locals())
47
48 bld.SAMBA_SUBSYSTEM('RPC_WINREG',
49                     source=RPC_WINREG_SRC,
50                     deps='REGFIO REG_API_REGF NDR_PERFCOUNT',
51                     vars=locals())
52
53 bld.SAMBA_SUBSYSTEM('RPC_INITSHUTDOWN',
54                     source=RPC_INITSHUTDOWN_SRC,
55                     vars=locals())
56
57 bld.SAMBA_SUBSYSTEM('RPC_DSSETUP',
58                     source=RPC_DSSETUP_SRC,
59                     vars=locals())
60
61 bld.SAMBA_SUBSYSTEM('RPC_WKSSVC',
62                     source=RPC_WKSSVC_SRC,
63                     deps='LIBNET',
64                     vars=locals())
65
66 bld.SAMBA_SUBSYSTEM('RPC_SVCCTL',
67                     source=RPC_SVCCTL_SRC,
68                     deps='SERVICES',
69                     vars=locals())
70
71 bld.SAMBA_SUBSYSTEM('RPC_NTSVCS',
72                     source=RPC_NTSVCS_SRC,
73                     vars=locals())
74
75 bld.SAMBA_SUBSYSTEM('RPC_NETLOGON',
76                     source=RPC_NETLOGON_SRC,
77                     vars=locals())
78
79 bld.SAMBA_SUBSYSTEM('RPC_NETDFS',
80                     source=RPC_NETDFS_SRC,
81                     vars=locals())
82
83 bld.SAMBA_SUBSYSTEM('RPC_SRVSVC',
84                     source=RPC_SRVSVC_SRC,
85                     vars=locals())
86
87 bld.SAMBA_SUBSYSTEM('RPC_SPOOLSS',
88                     source=RPC_SPOOLSS_SRC,
89                     deps='cups PRINTING PRINTBACKEND RPC_NDR_WINREG',
90                     vars=locals())
91
92 bld.SAMBA_SUBSYSTEM('RPC_EVENTLOG',
93                     source=RPC_EVENTLOG_SRC,
94                     deps='LIBEVENTLOG',
95                     vars=locals())
96
97 bld.SAMBA_SUBSYSTEM('RPC_RPCECHO',
98                     source=RPC_RPCECHO_SRC,
99                     vars=locals())
100
101 bld.SAMBA_SUBSYSTEM('RPC_SERVER',
102                     source='srv_pipe_hnd.c srv_pipe.c',
103                     deps='''RPC_NCACN_NP RPC_SERVICE RPC_CRYPTO
104                           RPC_SAMR RPC_LSARPC RPC_WINREG RPC_INITSHUTDOWN
105                           RPC_DSSETUP RPC_WKSSVC RPC_SVCCTL RPC_NTSVCS
106                           RPC_NETLOGON RPC_NETDFS RPC_SRVSVC RPC_SPOOLSS
107                           RPC_EVENTLOG RPC_RPCECHO RPC_SERVER''')