Fix installation dependency checking to add some missing files to the install procedure
[senf.git] / Utils / SConscript
1 # -*- python -*-
2
3 Import('env')
4 import SENFSCons, glob
5
6 ###########################################################################
7
8 SENFSCons.StandardTargets(env)
9
10 sources, testSources = SENFSCons.GlobSources()
11 objects = SENFSCons.Objects( env, sources = sources, testSources=testSources )
12
13 for sc in glob.glob("*/SConscript"):
14     ob = SConscript(sc)
15     if ob : objects.extend(ob)
16
17 lib = SENFSCons.Lib(env,
18                     library = 'Utils',
19                     sources = objects,
20                     no_includes = True)
21
22 SENFSCons.InstallSourceIncludes(env, Flatten([ lib, '.test.bin', 'Logger/.test.bin' ]))
23
24 SENFSCons.Doxygen(env)
25 SENFSCons.InstallIncludeFiles(env, [ 'Logger.hh', 'Daemon.hh' ])