tdb/test: always call fflush() after [f]printf() in tap-interface.h
[Samba.git] / source3 / rpc_server / wscript_build
blob061bdd6b327b878c18343dd9decc23e73d838888
1 #!/usr/bin/env python
3 ### RPC_SERVER
4 bld.SAMBA3_SUBSYSTEM('rpc',
5 source='',
6 deps='RPC_PIPE_REGISTER')
8 bld.SAMBA3_SUBSYSTEM('RPC_CONFIG',
9 source='rpc_config.c',
10 deps='talloc')
12 bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
13 source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',
14 deps='RPC_CONFIG auth auth_sam_reply RPC_PIPE_REGISTER npa_tstream')
16 bld.SAMBA3_SUBSYSTEM('RPC_SERVER_LOOP',
17 source='rpc_server.c',
18 deps='samba-util')
20 bld.SAMBA3_SUBSYSTEM('RPC_CRYPTO',
21 source='dcesrv_auth_generic.c',
22 deps = 'KRB5_PAC')
24 bld.SAMBA3_SUBSYSTEM('RPC_PIPE_REGISTER',
25 source='srv_pipe_register.c',
26 deps='samba-util')
28 bld.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
29 source='srv_access_check.c',
30 deps='samba-util')
32 bld.SAMBA3_SUBSYSTEM('RPC_SERVER',
33 source='srv_pipe_hnd.c srv_pipe.c',
34 deps='''
35 RPC_CONFIG
36 RPC_NCACN_NP
37 RPC_SERVER_LOOP
38 RPC_CRYPTO
39 NDR_NAMED_PIPE_AUTH
40 ''')
42 ### RPC_SERVICES
43 bld.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
44 source='''dssetup/srv_dssetup_nt.c
45 ../../librpc/gen_ndr/srv_dssetup.c''',
46 deps='samba-util')
48 bld.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
49 source='''epmapper/srv_epmapper.c
50 ../../librpc/gen_ndr/srv_epmapper.c''',
51 deps='samba-util')
53 bld.SAMBA3_SUBSYSTEM('RPC_EVENTLOG',
54 source='''eventlog/srv_eventlog_nt.c
55 eventlog/srv_eventlog_reg.c
56 ../../librpc/gen_ndr/srv_eventlog.c''',
57 deps='LIBEVENTLOG LIBCLI_WINREG_INTERNAL')
59 bld.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
60 source='''initshutdown/srv_initshutdown_nt.c
61 ../../librpc/gen_ndr/srv_initshutdown.c''',
62 deps='samba-util')
64 bld.SAMBA3_SUBSYSTEM('RPC_LSARPC',
65 source='''lsa/srv_lsa_nt.c
66 ../../librpc/gen_ndr/srv_lsa.c''',
67 deps='SRV_ACCESS_CHECK')
69 bld.SAMBA3_SUBSYSTEM('RPC_NETDFS',
70 source='''dfs/srv_dfs_nt.c
71 ../../librpc/gen_ndr/srv_dfs.c''',
72 deps='samba-util')
74 bld.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
75 source='''netlogon/srv_netlog_nt.c
76 ../../librpc/gen_ndr/srv_netlogon.c''')
78 bld.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
79 source='''ntsvcs/srv_ntsvcs_nt.c
80 ../../librpc/gen_ndr/srv_ntsvcs.c''',
81 deps='samba-util')
83 bld.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
84 source='''echo/srv_echo_nt.c
85 ../../librpc/gen_ndr/srv_echo.c''',
86 deps='samba-util')
88 bld.SAMBA3_SUBSYSTEM('RPC_SAMR',
89 source='''samr/srv_samr_nt.c
90 samr/srv_samr_util.c
91 samr/srv_samr_chgpasswd.c
92 ../../librpc/gen_ndr/srv_samr.c''',
93 deps='PLAINTEXT_AUTH SRV_ACCESS_CHECK')
95 bld.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
96 source='''spoolss/srv_spoolss_nt.c
97 ../../librpc/gen_ndr/srv_spoolss.c
98 spoolss/srv_spoolss_util.c''',
99 deps='PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL')
101 bld.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
102 source='''srvsvc/srv_srvsvc_nt.c
103 ../../librpc/gen_ndr/srv_srvsvc.c''',
104 deps='samba-util tdb')
106 bld.SAMBA3_SUBSYSTEM('RPC_SVCCTL',
107 source='''svcctl/srv_svcctl_nt.c
108 svcctl/srv_svcctl_reg.c
109 ../../librpc/gen_ndr/srv_svcctl.c''',
110 deps='SERVICES LIBCLI_WINREG_INTERNAL')
112 bld.SAMBA3_SUBSYSTEM('RPC_WINREG',
113 source='''winreg/srv_winreg_nt.c
114 ../../librpc/gen_ndr/srv_winreg.c''',
115 deps='REG_FULL REGFIO REG_API_REGF NDR_PERFCOUNT')
117 bld.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
118 source='''wkssvc/srv_wkssvc_nt.c
119 ../../librpc/gen_ndr/srv_wkssvc.c''',
120 deps='LIBNET')
122 # RPC_SERVICE
123 bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
124 source='rpc_ep_register.c ../librpc/rpc/dcerpc_ep.c',
125 deps='samba-util')
127 bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
128 source='rpc_service_setup.c',
129 deps='''
130 RPC_SERVER
131 RPC_SERVER_REGISTER
132 RPC_SAMR
133 RPC_LSARPC
134 RPC_WINREG
135 RPC_INITSHUTDOWN
136 RPC_DSSETUP
137 RPC_WKSSVC
138 RPC_SVCCTL
139 RPC_NTSVCS
140 RPC_NETLOGON
141 RPC_NETDFS
142 RPC_SRVSVC
143 RPC_SPOOLSS
144 RPC_EVENTLOG
145 RPC_RPCECHO
146 RPC_SERVER
147 RPC_EPMAPPER
148 ''')
150 # RPC_DAEMONS
151 bld.SAMBA3_SUBSYSTEM('RPC_SOCK_HELPER',
152 source='rpc_sock_helper.c',
153 deps='RPC_SERVER_REGISTER')
155 bld.SAMBA3_SUBSYSTEM('EPMD',
156 source='epmd.c',
157 deps='samba-util')
159 bld.SAMBA3_SUBSYSTEM('LSASD',
160 source='lsasd.c',
161 deps='RPC_SOCK_HELPER samba-util')