X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FSConscript;h=6e76b2540afc3aa5fdc3e94f1223840e17ba6b4e;hb=55c979a770543e8086a9828f5ec4576a7c7a9384;hp=0a99e52b2cf9b9a1647f2e7972b90cd0b9242921;hpb=5ed1fa1c42763aebad06c1e4ac8fc5a19e15519a;p=senf.git diff --git a/Socket/Protocols/SConscript b/Socket/Protocols/SConscript index 0a99e52..6e76b25 100644 --- a/Socket/Protocols/SConscript +++ b/Socket/Protocols/SConscript @@ -5,15 +5,10 @@ import SENFSCons, glob ########################################################################### -SENFSCons.StandardTargets(env) - -sources = SENFSCons.GlobSources() -objects = SENFSCons.Objects( env, sources = sources, LIBS = [ 'Socket', 'Utils' ] ) +SConscript(glob.glob("*/SConscript")) -for sc in glob.glob("*/SConscript"): - ob = SConscript(sc) - if ob : objects.extend(ob) - -SENFSCons.InstallIncludeFiles(env, [ 'INet.hh', 'Raw.hh', 'DVB.hh', 'UN.hh' ]) +SENFSCons.StandardTargets(env) -Return('objects') +sources, includes = SENFSCons.Glob(env) +SENFSCons.Lib(env, sources) +SENFSCons.InstallIncludeFiles(env, includes)