X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=41dd658bbc19de3e82cbcff01b97224ebb4cd234;hb=6b6681bb03aac52a523b2ff8417e09be55dd446c;hp=27cb277ed974ed0abf8f4030786d6c19e291a9d6;hpb=11b5ed5acaf415f8a3d1ebb165aab76ea7c71179;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 27cb277..41dd658 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -1,19 +1,33 @@ # -*- python -*- Import('env') -import SatSCons +import SENFSCons +import glob ########################################################################### -sources = SatSCons.GlobSources() +sources, testSources = SENFSCons.GlobSources() -SatSCons.StandardTargets(env) +SENFSCons.StandardTargets(env) -SatSCons.Lib(env, - library = 'Socket', - sources = sources, - LIBS = [ 'Utils' ]) +subob = [] +for sc in glob.glob("*/SConscript"): + ob = SConscript(sc) + if ob : subob.extend(ob) + +SENFSCons.Lib(env, + 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.Command('doc/html/Protocols.png', env.Dia2Png('Protocols.dia'), + Copy('$TARGET','$SOURCE')), + env.Dia2Png('Handle.dia'), +]) -SatSCons.Doxygen(env, extra_sources = [ - env.Dia2Png('SocketLibrary-classes.dia') - ])