diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-02-20 14:58:59 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-02-20 05:31:19 +0100 |
commit | 63a6381a26171f069cdc7465ca753f0b3c5d26f2 (patch) | |
tree | c85bffc717ff7758cbbd1d802f61247226b26e09 /lib/dbwrap/wscript_build | |
parent | 3d82f786ecdd6747e90fe480a15de8c3fcea5f7b (diff) | |
download | samba-63a6381a26171f069cdc7465ca753f0b3c5d26f2.tar.gz |
dbwrap: dbwrap_ntdb.c
This is a dbwrap backend for ntdb. It's a fairly straight conversion from
the tdb version.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/dbwrap/wscript_build')
-rw-r--r-- | lib/dbwrap/wscript_build | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/dbwrap/wscript_build b/lib/dbwrap/wscript_build index 3b247b3b5b3..83572cbb8fd 100644 --- a/lib/dbwrap/wscript_build +++ b/lib/dbwrap/wscript_build @@ -1,12 +1,12 @@ +SRC = '''dbwrap.c dbwrap_util.c dbwrap_rbt.c dbwrap_cache.c dbwrap_tdb.c + dbwrap_local_open.c''' +DEPS= '''samba-util util_tdb errors tdb tdb-wrap''' + +if not bld.env.disable_ntdb: + SRC += " dbwrap_ntdb.c" + DEPS += " util_ntdb" + bld.SAMBA_LIBRARY('dbwrap', - source=''' - dbwrap.c - dbwrap_util.c - dbwrap_rbt.c - dbwrap_cache.c - dbwrap_tdb.c - dbwrap_local_open.c - ''', - deps='samba-util util_tdb errors tdb tdb-wrap', + source=SRC, + deps=DEPS, private_library=True) - |