Completely refactor install targets
[senf.git] / Socket / SConscript
1 # -*- python -*-
2
3 Import('env')
4 import SENFSCons, glob
5
6 ###########################################################################
7
8 SConscript(glob.glob("*/SConscript"))
9
10 SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
11                                if f not in ('all_includes.hh','Socket.hh') and not f.endswith('.test.hh') ])
12
13 sources, includes = SENFSCons.Glob(env)
14
15 SENFSCons.StandardTargets(env)
16 SENFSCons.Lib(env, sources = sources)
17 SENFSCons.Doxygen(env, extra_sources = [
18     env.Dia2Png('SocketLibrary-classes.dia'),
19     env.Dia2Png('FhHierarchy.dia'),
20     env.Dia2Png('SocketPolicy.dia'),
21     env.Dia2Png('Protocols.dia'),
22     env.Dia2Png('Handle.dia'),
23 ])
24 SENFSCons.InstallIncludeFiles(env, includes)