aef098c228950c712f2deaf1ef1c3e8d7afc0ded
[senf.git] / Socket / SConscript
1 # -*- python -*-
2
3 Import('env')
4 import SENFSCons
5 import glob
6
7 ###########################################################################
8
9 sources, testSources = SENFSCons.GlobSources()
10
11 SENFSCons.StandardTargets(env)
12
13 subob = []
14 for sc in glob.glob("*/SConscript"):
15     ob = SConscript(sc)
16     if ob : subob.extend(ob)
17
18 SENFSCons.Lib(env,
19               library = 'Socket',
20               sources = sources + subob,
21               testSources = testSources,
22               LIBS = [ 'Utils' ])
23
24 SENFSCons.Doxygen(env, extra_sources = [
25     env.Dia2Png('SocketLibrary-classes.dia'),
26     env.Dia2Png('FhHierarchy.dia'),
27     env.Dia2Png('SocketPolicy.dia'),
28     env.Dia2Png('Protocols.dia'),
29     env.Dia2Png('Handle.dia'),
30 ])
31