X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FRaw%2FSConscript;h=7c58379ddb7a6793db0595d183fde608805134eb;hb=87b37eb193532cdb47b2440b6a0c8ee76c7b2f6d;hp=d461a08e895e98d0dadb1487b35b2b723dbb1160;hpb=ca8fd591275fbb77731524f5a64cca7fdd436c2d;p=senf.git diff --git a/Socket/Protocols/Raw/SConscript b/Socket/Protocols/Raw/SConscript index d461a08..7c58379 100644 --- a/Socket/Protocols/Raw/SConscript +++ b/Socket/Protocols/Raw/SConscript @@ -5,20 +5,12 @@ import SENFSCons, glob ########################################################################### +SConscript(glob.glob("*/SConscript")) + SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh") if f not in ('all_includes.hh','Raw.hh') and not f.endswith('.test.hh') ]) -sources = SENFSCons.GlobSources() - -allob = [] - -allob.extend( - SENFSCons.Objects( env, sources = sources, LIBS = [ 'Socket', 'Scheduler', 'Utils' ] ) ) - -for sc in glob.glob("*/SConscript"): - ob = SConscript(sc) - if ob : allob.extend(ob) - -SENFSCons.InstallIncludeFiles(env, [ 'Raw.hh', 'all_includes.hh' ]) +sources, includes = SENFSCons.Glob(env) -Return('allob') +SENFSCons.Lib(env, sources) +SENFSCons.InstallIncludeFiles(env, includes)