diff options
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r-- | source4/lib/tdb/SConscript | 13 | ||||
-rw-r--r-- | source4/lib/tdb/tools/tdbbackup.c | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/source4/lib/tdb/SConscript b/source4/lib/tdb/SConscript new file mode 100644 index 0000000000..d2ebf7002f --- /dev/null +++ b/source4/lib/tdb/SConscript @@ -0,0 +1,13 @@ +Import('hostenv') +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']) + +tdbtool = tdbenv.Program('tdbtool', ['tools/tdbtool.c',tdb]) +tdbtorture = tdbenv.Program('tdbtorture', ['tools/tdbtorture.c',tdb]) +tdbdump = tdbenv.Program('tdbdump', ['tools/tdbdump.c',tdb]) +tdbbackup = tdbenv.Program('tdbbackup', ['tools/tdbbackup.c',tdb]) +Default(tdbtool,tdbtorture,tdbdump,tdbbackup) diff --git a/source4/lib/tdb/tools/tdbbackup.c b/source4/lib/tdb/tools/tdbbackup.c index 4cb6a8cfdd..872ca99f0d 100644 --- a/source4/lib/tdb/tools/tdbbackup.c +++ b/source4/lib/tdb/tools/tdbbackup.c @@ -63,11 +63,11 @@ #else #include "includes.h" +#include "system/filesys.h" #endif #include "tdb.h" -#include "tdbback.h" /* see if one file is newer than another |