summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/SConscript
blob: a8696ec367cb14b6fdcd363f1117d58947b6dd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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('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])

Default(tdbtool,tdbtorture,tdbdump,tdbbackup)