PPI: Checkin of first compiling (yet not working) version
[senf.git] / Socket / SConscript
index ffd61cd..aef098c 100644 (file)
@@ -2,18 +2,30 @@
 
 Import('env')
 import SENFSCons
+import glob
 
 ###########################################################################
 
-sources = SENFSCons.GlobSources()
+sources, testSources = SENFSCons.GlobSources()
 
 SENFSCons.StandardTargets(env)
 
+subob = []
+for sc in glob.glob("*/SConscript"):
+    ob = SConscript(sc)
+    if ob : subob.extend(ob)
+
 SENFSCons.Lib(env,
-             library = 'Socket',
-             sources = sources,
-             LIBS = [ 'Utils' ])
+              library = 'Socket',
+              sources = sources + subob,
+              testSources = testSources,
+              LIBS = [ 'Utils' ])
 
 SENFSCons.Doxygen(env, extra_sources = [
     env.Dia2Png('SocketLibrary-classes.dia'),
+    env.Dia2Png('FhHierarchy.dia'),
+    env.Dia2Png('SocketPolicy.dia'),
+    env.Dia2Png('Protocols.dia'),
+    env.Dia2Png('Handle.dia'),
 ])
+