X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=31777820c2727d21adc1a9c0ea21c5454fda7cfe;hb=c7ddbbb0bc014bdfe6daef91e2d1c512d77e9fff;hp=9aff67446018b96eabc70beac29ddf36f3c33a9e;hpb=62464586315edf52fbcc613acb4a8a7e919fd8e2;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 9aff674..3177782 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -1,21 +1,34 @@ # -*- python -*- Import('env') -import SENFSCons +import SENFSCons, glob ########################################################################### -sources = SENFSCons.GlobSources() +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) +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'), ]) + +SENFSCons.InstallIncludeFiles(env, [ 'Socket.hh', 'all_includes.hh' ])