summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
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',