diff options
author | Tim Potter <tpot@samba.org> | 2005-09-21 07:20:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:34 -0500 |
commit | 3e4f47aaff41b5bb6d1d86025915a3a63dc1ea73 (patch) | |
tree | c8c4921e8798e9aeeaf2b614e66596cf748d1fa7 /source4/lib/tdb | |
parent | 5e4c8b8cd375131094e0fe40bd4c048539206ac2 (diff) | |
download | samba-3e4f47aaff41b5bb6d1d86025915a3a63dc1ea73.tar.gz samba-3e4f47aaff41b5bb6d1d86025915a3a63dc1ea73.tar.bz2 samba-3e4f47aaff41b5bb6d1d86025915a3a63dc1ea73.zip |
r10379: Add files for ldb and tdb to proto_files. The tool for building proto.h
is busted though.
(This used to be commit 54882f88cad1427b6adcb4c956a63e534e7d13e4)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r-- | source4/lib/tdb/SConscript | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/source4/lib/tdb/SConscript b/source4/lib/tdb/SConscript index 01f5bbe7c7..728160f959 100644 --- a/source4/lib/tdb/SConscript +++ b/source4/lib/tdb/SConscript @@ -1,10 +1,14 @@ -Import('hostenv') +Import('hostenv', 'proto_files') tdbenv = hostenv.Copy() tdbenv.Append(CPPPATH=['include']) -tdb = tdbenv.StaticLibrary('tdb', - ['common/tdb.c','common/dump.c','common/io.c','common/lock.c', - 'common/open.c','common/traverse.c','common/freelist.c', - 'common/error.c','common/tdbutil.c']) + +tdb_files = ['common/tdb.c','common/dump.c','common/io.c','common/lock.c', + 'common/open.c','common/traverse.c','common/freelist.c', + 'common/error.c','common/tdbutil.c'] + +tdb = tdbenv.StaticLibrary('tdb', tdb_files) + +proto_files += [File(x) for x in tdb_files] tdbtool = tdbenv.Program('bin/tdbtool', ['tools/tdbtool.c',tdb]) tdbtorture = tdbenv.Program('bin/tdbtorture', ['tools/tdbtorture.c',tdb]) |