s3:mdssvc: move some code to a subsystem
authorRalph Boehme <slow@samba.org>
Sun, 8 Mar 2015 07:01:06 +0000 (08:01 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 8 Aug 2019 20:24:31 +0000 (20:24 +0000)
We need this in a later patchset when adding a mdssvc client library and for
unit tests.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/wscript_build

index 91f1d16195d7310cc639a757afa272ae76f99396..1e6ca43ea16e8cc7837c75eafd5bc3d15c7851ee 100644 (file)
@@ -138,14 +138,18 @@ bld.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
                     ../../librpc/gen_ndr/srv_wkssvc.c''',
                     deps='LIBNET')
 
+bld.SAMBA3_SUBSYSTEM('mdssvc',
+                    source='''
+                    mdssvc/dalloc.c
+                    mdssvc/marshalling.c
+                    ''')
+
 rpc_mdssvc_sources = '''
                      mdssvc/mdssvc.c
-                     mdssvc/dalloc.c
-                     mdssvc/marshalling.c
                      mdssvc/srv_mdssvc_nt.c
                      ../../librpc/gen_ndr/srv_mdssvc.c
                      '''
-rpc_mdssvc_deps = 'samba-util '
+rpc_mdssvc_deps = 'mdssvc samba-util '
 
 if bld.env.spotlight_backend_tracker:
     rpc_mdssvc_sources += '''