summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/SConscript
blob: 728160f959839bae4ccbeb64a084fab893a12bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Import('hostenv', 'proto_files')
tdbenv = hostenv.Copy()
tdbenv.Append(CPPPATH=['include'])

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])
tdbdump = tdbenv.Program('bin/tdbdump', ['tools/tdbdump.c',tdb])
tdbbackup = tdbenv.Program('bin/tdbbackup', ['tools/tdbbackup.c',tdb])