s3-waf: Move spoolssd into its own subsystem
authorGünther Deschner <gd@samba.org>
Thu, 27 Oct 2016 13:51:39 +0000 (15:51 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 28 Oct 2016 20:30:53 +0000 (22:30 +0200)
More cleanup will follow later.

Guenther

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Oct 28 22:30:54 CEST 2016 on sn-devel-144

source3/wscript_build

index ee5337aa269955830c70831a7732b9a05bfaaa23..22e1a6297c10b40e45bd97d860dc6bc9f120b885 100755 (executable)
@@ -563,7 +563,6 @@ bld.SAMBA3_LIBRARY('smbd_base',
                    smbd/service.c
                    smbd/error.c
                    printing/printspoolss.c
-                   printing/spoolssd.c
                    lib/sessionid_tdb.c
                    lib/conn_tdb.c
                    smbd/fake_file.c
@@ -684,7 +683,7 @@ bld.SAMBA3_SUBSYSTEM('PRINTBACKEND',
                     printing/nt_printing_migrate_internal.c
                     printing/nt_printing_ads.c
                     printing/queue_process.c''',
-                    deps='PRINTBASE LIBADS_PRINTER tdb printing_migrate')
+                    deps='PRINTBASE LIBADS_PRINTER tdb printing_migrate SPOOLSSD')
 
 bld.SAMBA3_LIBRARY('printing_migrate',
                     source='printing/nt_printing_migrate.c rpc_client/cli_winreg_spoolss.c printing/nt_printing_os2.c',
@@ -855,6 +854,13 @@ bld.SAMBA3_SUBSYSTEM('INIT_SAMR',
 bld.SAMBA3_SUBSYSTEM('LIBLSA',
                      source='lib/lsa.c')
 
+bld.SAMBA3_SUBSYSTEM('SPOOLSSD',
+                    source='printing/spoolssd.c',
+                    deps='''
+                         samba-util
+                         RPC_SOCK_HELPER
+                         ''')
+
 ########################## BINARIES #################################
 
 bld.SAMBA3_BINARY('smbd/smbd',
@@ -865,6 +871,7 @@ bld.SAMBA3_BINARY('smbd/smbd',
                       LSASD
                       FSSD
                       MDSSD
+                      SPOOLSSD
                       ''',
                  install_path='${SBINDIR}')