summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 08:38:04 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:23:23 +0200
commitb4d9783d5f3942ce40749dc2a18cb14c7ddabb7b (patch)
tree5b0d46c19fdc99f70290d576498fea056553828b
parenta341a679e23e71579a3862fcd7fe25c30041dd0f (diff)
downloadsamba-b4d9783d5f3942ce40749dc2a18cb14c7ddabb7b.tar.gz
samba-b4d9783d5f3942ce40749dc2a18cb14c7ddabb7b.tar.bz2
samba-b4d9783d5f3942ce40749dc2a18cb14c7ddabb7b.zip
build: list sources of lib smbregistry directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource3/wscript_build24
1 files changed, 11 insertions, 13 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 5ff86c0f2a..6bb86610fe 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -23,18 +23,6 @@ REG_BACKENDS_EXTRA_SRC = '''registry/reg_backend_printing.c
registry/reg_backend_current_version.c
registry/reg_backend_perflib.c'''
-REG_BASE_SRC = '''registry/reg_api.c
- registry/reg_dispatcher.c
- registry/reg_cachehook.c
- registry/reg_objects.c
- registry/reg_util_internal.c
- lib/util_nttoken.c
- registry/reg_backend_db.c
- registry/reg_parse_internal.c
- lib/cbuf.c
- lib/srprs.c
- registry/reg_init_basic.c'''
-
REG_SMBCONF_SRC = '''
${REG_BACKENDS_SMBCONF_SRC}
${REG_INIT_SMBCONF_SRC}
@@ -548,7 +536,17 @@ bld.SAMBA3_SUBSYSTEM('REG_API_REGF',
vars=locals())
bld.SAMBA3_LIBRARY('smbregistry',
- source=REG_BASE_SRC,
+ source='''registry/reg_api.c
+ registry/reg_dispatcher.c
+ registry/reg_cachehook.c
+ registry/reg_objects.c
+ registry/reg_util_internal.c
+ lib/util_nttoken.c
+ registry/reg_backend_db.c
+ registry/reg_parse_internal.c
+ lib/cbuf.c
+ lib/srprs.c
+ registry/reg_init_basic.c''',
deps='''smbd_shim tdb-wrap3 NDR_SECURITY util_tdb talloc
replace util_reg samba-util samba-security
errors3 dbwrap samba3-util''',