X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FSConscript;h=021bbe6c066ab65402f56759684528a00e3b3232;hb=731a143df4de38d4c8b0a81121990951971cd858;hp=b1c332fde0538e3fbb108a5aa1f75de4d1b303bf;hpb=6ccff463b40b246fcb8a2e4f1b6c72beb7421921;p=senf.git diff --git a/Socket/Protocols/UN/SConscript b/Socket/Protocols/UN/SConscript index b1c332f..021bbe6 100644 --- a/Socket/Protocols/UN/SConscript +++ b/Socket/Protocols/UN/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','UN.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, [ 'UN.hh', 'all_includes.hh' ]) +sources, includes = SENFSCons.Glob(env) -Return('allob') +SENFSCons.Lib( env, sources) +SENFSCons.InstallIncludeFiles(env, includes)