summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-12 10:59:20 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:22 +0200
commit6d9f33064152b62de801fbc719d99dae73fb7b91 (patch)
treeca44ae7d15db2e086cdbf0d8ca47259136c0d714
parent4d391d29f87cfe88e1d3aa96f193c486beb5a1f1 (diff)
downloadsamba-6d9f33064152b62de801fbc719d99dae73fb7b91.tar.gz
samba-6d9f33064152b62de801fbc719d99dae73fb7b91.tar.xz
samba-6d9f33064152b62de801fbc719d99dae73fb7b91.zip
s3-waf: Create a registry private library.
Signed-off-by: Michael Adam <obnox@samba.org>
-rwxr-xr-xsource3/wscript_build14
1 files changed, 9 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 149b5c545a0..867e41bea9e 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -754,13 +754,17 @@ bld.SAMBA3_SUBSYSTEM('REG_API_REGF',
source=REG_API_REGF_SRC,
vars=locals())
-bld.SAMBA3_SUBSYSTEM('REG_BASE',
- source=REG_BASE_SRC,
- vars=locals())
+bld.SAMBA3_LIBRARY('smbregistry',
+ source=REG_BASE_SRC,
+ deps='''LIB_NONSMBD tdb-wrap3 NDR_SECURITY UTIL_TDB talloc
+ replace samba3core util_reg samba-util-common security
+ errors3 CHARSET3''',
+ private_library=True,
+ vars=locals())
bld.SAMBA3_SUBSYSTEM('REG_SMBCONF',
source=REG_SMBCONF_SRC,
- deps='REG_BASE',
+ deps='smbregistry',
vars=locals())
bld.SAMBA3_SUBSYSTEM('REG_FULL',
@@ -850,7 +854,7 @@ bld.SAMBA3_SUBSYSTEM('LIBAFS_SETTOKEN',
bld.SAMBA3_SUBSYSTEM('LIB_SMBCONF',
source=LIB_SMBCONF_SRC,
- deps='LIBSMBCONF REG_BASE REG_SMBCONF',
+ deps='LIBSMBCONF smbregistry REG_SMBCONF',
vars=locals())
bld.SAMBA3_LIBRARY('smbd_base',