summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-07-01 14:57:32 +0200
committerGünther Deschner <gd@samba.org>2011-07-01 16:46:26 +0200
commite02abd6c83708f297b1985bb1bdc7d5dfbc924b2 (patch)
tree98cba3b7d02273f4743a75185264fd6646a31de7 /source3/wscript_build
parent1765833481ca441429bdf8dd167b729a24edbfa2 (diff)
downloadsamba-e02abd6c83708f297b1985bb1bdc7d5dfbc924b2.tar.gz
samba-e02abd6c83708f297b1985bb1bdc7d5dfbc924b2.tar.bz2
samba-e02abd6c83708f297b1985bb1bdc7d5dfbc924b2.zip
s3-printing: split out printing migration code into a smaller library.
Guenther
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index e27f178b42..2a19261ea4 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -399,7 +399,7 @@ PRINTBASE_SRC = '''printing/notify.c printing/printing_db.c'''
PRINTBACKEND_SRC = '''printing/printing.c
printing/nt_printing.c
printing/nt_printing_tdb.c
- printing/nt_printing_migrate.c
+ printing/nt_printing_migrate_internal.c
printing/nt_printing_ads.c'''
SMBD_SRC = '''${SMBD_SRC_BASE} ${SMBD_SRC_MAIN}'''
@@ -906,9 +906,15 @@ bld.SAMBA3_SUBSYSTEM('PRINTBASE',
bld.SAMBA3_SUBSYSTEM('PRINTBACKEND',
source=PRINTBACKEND_SRC,
- deps='PRINTBASE NDR_NTPRINTING LIBADS_PRINTER tdb',
+ deps='PRINTBASE LIBADS_PRINTER tdb printing_migrate',
vars=locals())
+bld.SAMBA3_LIBRARY('printing_migrate',
+ source='printing/nt_printing_migrate.c',
+ deps='NDR_NTPRINTING RPC_NDR_SPOOLSS param',
+ vars=locals(),
+ private_library=True)
+
bld.SAMBA3_SUBSYSTEM('PRINTING',
source=PRINTING_SRC,
deps='NDR_PRINTCAP tdb',