X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FSConscript;h=6e76b2540afc3aa5fdc3e94f1223840e17ba6b4e;hb=532240d72e09e19e57fac9bb55c2560b9c9e5b97;hp=c5ca1ad2e0d5d39858ad3d8fafe8acd2e46c4cd1;hpb=739eecfbeffc911e700660864ff1d7f05c6283d0;p=senf.git diff --git a/Socket/Protocols/SConscript b/Socket/Protocols/SConscript index c5ca1ad..6e76b25 100644 --- a/Socket/Protocols/SConscript +++ b/Socket/Protocols/SConscript @@ -5,17 +5,10 @@ import SENFSCons, glob ########################################################################### -sources = SENFSCons.GlobSources() +SConscript(glob.glob("*/SConscript")) -allob = [] +SENFSCons.StandardTargets(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) - -SENFSCons.InstallIncludeFiles(env, [ 'INet.hh', 'Raw.hh' ]) - -Return('allob') +sources, includes = SENFSCons.Glob(env) +SENFSCons.Lib(env, sources) +SENFSCons.InstallIncludeFiles(env, includes)