X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=41dd658bbc19de3e82cbcff01b97224ebb4cd234;hb=2452ac2af5863afb6cfb74e6d2c6e35fc75d1f9a;hp=15e931ab35bed0f3534a8a935cd885c03974f4b9;hpb=a3d3979b7daaf22ea63ca356edbfa8047dff7b78;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 15e931a..41dd658 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -2,23 +2,32 @@ 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.Command('doc/html/SocketPolicy.png', env.Dia2Png('SocketPolicy.dia'), Copy('$TARGET','$SOURCE')), - env.Dia2Png('Protocols.dia'), + env.Command('doc/html/Protocols.png', env.Dia2Png('Protocols.dia'), + Copy('$TARGET','$SOURCE')), env.Dia2Png('Handle.dia'), ]) +