# -*- python -*-
Import('env')
-import SENFSCons
-import glob
+import SENFSCons, glob
###########################################################################
+SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
+ if f not in ('all_includes.hh','Socket.hh') and not f.endswith('.test.hh') ])
+
sources, testSources = SENFSCons.GlobSources()
SENFSCons.StandardTargets(env)
library = 'Socket',
sources = sources + subob,
testSources = testSources,
- LIBS = [ 'Utils' ])
+ LIBS = [ 'Scheduler', 'Utils' ])
SENFSCons.Doxygen(env, extra_sources = [
env.Dia2Png('SocketLibrary-classes.dia'),
env.Dia2Png('FhHierarchy.dia'),
- env.Command('doc/html/SocketPolicy.png', env.Dia2Png('SocketPolicy.dia'),
- Copy('$TARGET','$SOURCE')),
- env.Command('doc/html/Protocols.png', env.Dia2Png('Protocols.dia'),
- Copy('$TARGET','$SOURCE')),
+ env.Dia2Png('SocketPolicy.dia'),
+ env.Dia2Png('Protocols.dia'),
env.Dia2Png('Handle.dia'),
])
+SENFSCons.InstallIncludeFiles(env, [ 'Socket.hh', 'all_includes.hh' ])