From 928c23705e7ac9c23a2b735f8604aef7fadfb33d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 23 Sep 2013 07:49:33 +0200 Subject: build: split REG_PARSE_PRS as subsystem and list sources of REGFIO directly. Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett --- source3/wscript_build | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'source3') diff --git a/source3/wscript_build b/source3/wscript_build index f32a923a79..b177ef0147 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -3,10 +3,6 @@ from samba_utils import * import samba_version, samba3 -# 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''' - LIB_UTIL_SRC = ''' lib/system.c lib/sendfile.c @@ -90,8 +86,6 @@ LIBMSRPC_SRC = ''' REG_INIT_SMBCONF_SRC = '''registry/reg_init_smbconf.c''' REG_INIT_FULL_SRC = '''registry/reg_init_full.c''' -REGFIO_SRC = '''registry/regfio.c ${REG_PARSE_PRS_SRC}''' - REG_API_REGF_SRC = '''registry/reg_api_regf.c''' REG_BACKENDS_SMBCONF_SRC = '''registry/reg_backend_smbconf.c''' @@ -602,10 +596,14 @@ bld.SAMBA3_SUBSYSTEM('param_service', source='param/service.c', deps = 'USER_UTIL param PRINTING') +# this includes only the low level parse code, not stuff +# that requires knowledge of security contexts +bld.SAMBA3_SUBSYSTEM('REG_PARSE_PRS', + source='registry/reg_parse_prs.c') + bld.SAMBA3_SUBSYSTEM('REGFIO', - source=REGFIO_SRC, - deps='samba-util', - vars=locals()) + source='registry/regfio.c', + deps='samba-util REG_PARSE_PRS') bld.SAMBA3_SUBSYSTEM('REG_API_REGF', source=REG_API_REGF_SRC, -- cgit