summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-11-30 15:12:52 +0100
committerGünther Deschner <gd@samba.org>2010-11-30 16:25:51 +0100
commitb2a1c1e425411eb1a12ddb3a230cbcd5240f771e (patch)
tree22b1d8641b4019b54e9845b0ae7346de7eeb0450 /source3/wscript_build
parent254dea0596b32431b70f48a8a9413c54b66c9925 (diff)
downloadsamba-b2a1c1e425411eb1a12ddb3a230cbcd5240f771e.tar.gz
samba-b2a1c1e425411eb1a12ddb3a230cbcd5240f771e.tar.bz2
samba-b2a1c1e425411eb1a12ddb3a230cbcd5240f771e.zip
s3-waf: convert REG_EVENTLOG into a subsystem.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Nov 30 16:25:51 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build14
1 files changed, 9 insertions, 5 deletions
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',