summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/SConscript')
-rw-r--r--source4/lib/tdb/SConscript10
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/lib/tdb/SConscript b/source4/lib/tdb/SConscript
index a7a477d7bc..09d0cf538a 100644
--- a/source4/lib/tdb/SConscript
+++ b/source4/lib/tdb/SConscript
@@ -1,17 +1,15 @@
-Import('hostenv', 'proto_files')
+Import('hostenv')
+
tdbenv = hostenv.Copy()
tdbenv.Append(CPPPATH=['include'])
-tdb_files = ['common/tdb.c','common/dump.c','common/io.c','common/lock.c',
+tdb_source = ['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/transaction.c', 'common/tdbutil.c']
-tdb = tdbenv.StaticLibrary('tdb', tdb_files)
-
-proto_files += [File(x) for x in tdb_files]
+tdb = tdbenv.StaticLibrary('tdb', tdb_source)
tdbtool = tdbenv.Program('bin/tdbtool', ['tools/tdbtool.c',tdb])
tdbtorture = tdbenv.Program('bin/tdbtorture', ['tools/tdbtorture.c',tdb])
tdbdump = tdbenv.Program('bin/tdbdump', ['tools/tdbdump.c',tdb])
tdbbackup = tdbenv.Program('bin/tdbbackup', ['tools/tdbbackup.c',tdb])
-