X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSConscript;h=de2d369b00e9c0550b5de909266cbfbe5499efcc;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=6f021cefc49856ec05a27dbc53a4fe1355974e2c;hpb=8d2d26f114d3df0a60c5c516fcf40671b1e55558;p=senf.git diff --git a/PPI/SConscript b/PPI/SConscript index 6f021ce..de2d369 100644 --- a/PPI/SConscript +++ b/PPI/SConscript @@ -3,24 +3,18 @@ import SENFSCons, glob ########################################################################### -SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh") - if f not in ('all_includes.hh','PPI.hh') and not f.endswith('.test.hh') ]) - SConscript(glob.glob("*/SConscript")) -sources = SENFSCons.GlobSources(subdirs=[ 'detail' ]) +SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh") + if f not in ('all_includes.hh','PPI.hh') \ + and not f.endswith('.test.hh') ]) +sources, includes = SENFSCons.Glob(env, subdirs=[ 'detail' ]) SENFSCons.StandardTargets(env) - -SENFSCons.Lib(env, - library = 'PPI', - sources = sources, - LIBS = [ 'Scheduler', 'Packets', 'Socket', 'Utils' ]) - +SENFSCons.Lib(env, sources) SENFSCons.Doxygen(env, extra_sources=[ env.Dia2Png('scenario.dia'), env.Dia2Png('classes.dia'), env.Dia2Png('ratestuffer.dia'), ]) - -SENFSCons.InstallIncludeFiles(env, [ 'PPI.hh', 'all_includes.hh' ]) +SENFSCons.InstallIncludeFiles(env, includes)