X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=aef098c228950c712f2deaf1ef1c3e8d7afc0ded;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=56ae5d479ccd32e8bb08a6894f4b6784d25a0086;hpb=e069f918a83434f6f6fe6656013340f2ec2492c4;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 56ae5d4..aef098c 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -2,17 +2,24 @@ 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'), @@ -21,3 +28,4 @@ SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('Protocols.dia'), env.Dia2Png('Handle.dia'), ]) +