From b2a1c1e425411eb1a12ddb3a230cbcd5240f771e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 30 Nov 2010 15:12:52 +0100 Subject: s3-waf: convert REG_EVENTLOG into a subsystem. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Nov 30 16:25:51 CET 2010 on sn-devel-104 --- source3/wscript_build | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'source3/wscript_build') diff --git a/source3/wscript_build b/source3/wscript_build index 6680d403c8..89f16c4642 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -321,10 +321,11 @@ REG_SMBCONF_SRC = ''' registry/reg_util_token.c registry/reg_api_util.c''' +REG_EVENTLOG_SRC = '''registry/reg_eventlog.c''' + REG_FULL_SRC = ''' ${REG_BACKENDS_EXTRA_SRC} ${REG_INIT_FULL_SRC} - registry/reg_eventlog.c registry/reg_perfcount.c''' SERVICES_SRC = '''services/svc_spoolss.c @@ -805,8 +806,7 @@ SMBCQUOTAS_SRC = '''utils/smbcquotas.c EVTLOGADM_SRC0 = 'utils/eventlogadm.c' -EVTLOGADM_SRC = '''${EVTLOGADM_SRC0} - registry/reg_eventlog.c''' +EVTLOGADM_SRC = '''${EVTLOGADM_SRC0}''' SHARESEC_SRC0 = 'utils/sharesec.c' SHARESEC_SRC = '''${SHARESEC_SRC0}''' @@ -990,7 +990,11 @@ bld.SAMBA_SUBSYSTEM('REG_SMBCONF', bld.SAMBA_SUBSYSTEM('REG_FULL', source=REG_FULL_SRC, - deps='REG_SMBCONF', + deps='REG_SMBCONF REG_EVENTLOG', + vars=locals()) + +bld.SAMBA_SUBSYSTEM('REG_EVENTLOG', + source=REG_EVENTLOG_SRC, vars=locals()) bld.SAMBA_SUBSYSTEM('POPT_SAMBA', @@ -1370,7 +1374,7 @@ bld.SAMBA_BINARY('smbcquotas', bld.SAMBA_BINARY('eventlogadm', source=EVTLOGADM_SRC, deps='''talloc tevent cap POPT_SAMBA LIBS PARAM - LIB_NONSMBD LIBSMB_ERR PASSDB libwbclient LIBEVENTLOG''', + LIB_NONSMBD LIBSMB_ERR PASSDB libwbclient LIBEVENTLOG REG_EVENTLOG''', vars=locals()) bld.SAMBA_BINARY('sharesec', -- cgit