X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FSConscript;h=a55a9e0bbf148d7791ca26d18b2dd7009242f80f;hb=164fe477094d42463722584e527a02379ab5d985;hp=4e77b0021b8bc96f8f5ddc61f762fc60255f5852;hpb=2c4c9deecc7491fbfc916aeb41074dcb76e8a2c2;p=senf.git diff --git a/Socket/Protocols/SConscript b/Socket/Protocols/SConscript index 4e77b00..a55a9e0 100644 --- a/Socket/Protocols/SConscript +++ b/Socket/Protocols/SConscript @@ -5,15 +5,10 @@ import SENFSCons, glob ########################################################################### -sources = SENFSCons.GlobSources() +SConscript(glob.glob("*/SConscript")) -allob = [] +sources, tests, includes = SENFSCons.Glob(env) -allob.extend( - SENFSCons.Objects( env, sources = sources, LIBS = [ 'Socket', 'Utils' ] ) ) - -for sc in glob.glob("*/SConscript"): - ob = SConscript(sc) - if ob : allob.extend(ob) - -Return('allob') +env.Append(ALLOBJECTS = env.Object(sources)) +env.BoostUnitTest('test', tests) +env.InstallSubdir('$INCLUDEINSTALLDIR', includes)