summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-08-16 20:35:31 +0200
committerAndreas Schneider <asn@samba.org>2010-08-16 21:31:31 +0200
commit5af3177dbd79c3fe494ae82509a37368c8caf204 (patch)
tree62938ec16d78bac07a1a1a26b412c24d48536e62
parent53e0421300f6f1d8e143eddda8bec9221b73e6bb (diff)
downloadsamba-5af3177dbd79c3fe494ae82509a37368c8caf204.tar.gz
samba-5af3177dbd79c3fe494ae82509a37368c8caf204.tar.bz2
samba-5af3177dbd79c3fe494ae82509a37368c8caf204.zip
s3-waf: Create a variable for LIBNDR_NTPRINTING_SRC.
-rw-r--r--source3/wscript_build6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 76d605a19f..f5e1533669 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -86,6 +86,9 @@ LIBNDR_GEN_SRC = '''../librpc/gen_ndr/ndr_wkssvc.c
../librpc/gen_ndr/ndr_ntsvcs.c
${LIBNDR_SPOOLSS_SRC}'''
+LIBNDR_NTPRINTING_SRC = '''../librpc/gen_ndr/ndr_ntprinting.c
+ ../librpc/ndr/ndr_ntprinting.c'''
+
# this includes only the low level parse code, not stuff
# that requires knowledge of security contexts
REG_PARSE_PRS_SRC = '''registry/reg_parse_prs.c'''
@@ -777,8 +780,7 @@ PRINTBACKEND_SRC = '''printing/printing.c
printing/nt_printing_tdb.c
printing/nt_printing_migrate.c
printing/nt_printing_ads.c
- librpc/gen_ndr/ndr_ntprinting.c
- ../librpc/ndr/ndr_ntprinting.c
+ ${LIBNDR_NTPRINTING_SRC}
${PRINTBASE_SRC}'''
SMBD_SRC = '''${SMBD_SRC_BASE} ${SMBD_SRC_MAIN}'''