X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=9b0870f9a2e2c37c0cb17360ea5609ef6a20d999;hb=a1fdb7bb122f0b05be809a922d4b7ef5e125fa67;hp=31777820c2727d21adc1a9c0ea21c5454fda7cfe;hpb=8d2d26f114d3df0a60c5c516fcf40671b1e55558;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 3177782..9b0870f 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -5,24 +5,15 @@ import SENFSCons, glob ########################################################################### +SConscript(glob.glob("*/SConscript")) + 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() +sources, includes = SENFSCons.Glob(env) 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 + subob, - testSources = testSources, - LIBS = [ 'Utils' ]) - +SENFSCons.Lib(env, sources = sources) SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('SocketLibrary-classes.dia'), env.Dia2Png('FhHierarchy.dia'), @@ -30,5 +21,4 @@ SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('Protocols.dia'), env.Dia2Png('Handle.dia'), ]) - -SENFSCons.InstallIncludeFiles(env, [ 'Socket.hh', 'all_includes.hh' ]) +SENFSCons.InstallIncludeFiles(env, includes)