summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-30 11:42:51 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-30 23:49:01 +1100
commit306754f2949f72f2629a954e2c8bfd6182307370 (patch)
tree8c91e1443968c9207c8fdd2f652bd38b60dc5f05 /source4/lib/ldb/wscript
parent04574d5738bb6a3bed3f6ee536b93068517263d8 (diff)
downloadsamba-306754f2949f72f2629a954e2c8bfd6182307370.tar.gz
samba-306754f2949f72f2629a954e2c8bfd6182307370.tar.bz2
samba-306754f2949f72f2629a954e2c8bfd6182307370.zip
s4-ldb: add explicit depenencies on ldb library in ldb modules
ldb modules call module functions from the main ldb library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb/wscript')
-rw-r--r--source4/lib/ldb/wscript12
1 files changed, 10 insertions, 2 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 55eb6a871d..04aa4e8f9a 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -158,43 +158,51 @@ def build(bld):
bld.SAMBA_MODULE('ldb_paged_results',
'modules/paged_results.c',
init_function='LDB_MODULE(paged_results)',
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_asq',
'modules/asq.c',
init_function='LDB_MODULE(asq)',
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_server_sort',
'modules/sort.c',
init_function='LDB_MODULE(server_sort)',
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_paged_searches',
'modules/paged_searches.c',
init_function='LDB_MODULE(paged_searches)',
enabled = s4_build,
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_rdn_name',
'modules/rdn_name.c',
init_function='LDB_MODULE(rdn_name)',
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_sample',
'tests/sample_module.c',
init_function='LDB_MODULE(sample)',
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_skel',
'modules/skel.c',
init_function='LDB_MODULE(skel)',
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_sqlite3',
'sqlite3/ldb_sqlite3.c',
init_function='LDB_BACKEND(sqlite3)',
enabled=False,
+ deps='ldb',
subsystem='ldb')
bld.SAMBA_MODULE('ldb_tdb',
@@ -202,7 +210,7 @@ def build(bld):
'''ldb_tdb.c ldb_pack.c ldb_search.c ldb_index.c
ldb_cache.c ldb_tdb_wrap.c'''),
init_function='LDB_BACKEND(tdb)',
- deps='tdb',
+ deps='tdb ldb',
subsystem='ldb')
# have a separate subsystem for common/ldb.c, so it can rebuild
@@ -226,7 +234,7 @@ def build(bld):
LDB_TOOLS='ldbadd ldbsearch ldbdel ldbmodify ldbedit ldbrename'
for t in LDB_TOOLS.split():
- bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='ldb-cmdline',
+ bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='ldb-cmdline ldb',
manpages='man/%s.1' % t)
# ldbtest doesn't get installed