X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSConscript;h=de2d369b00e9c0550b5de909266cbfbe5499efcc;hb=c45c112ae88196ea8da9c5a9efb0e167196744d2;hp=1f4ac10c47c6906f285fcfc369b4b1e9c29328ec;hpb=958bdb52c39fa39f4ef91cafd9628bcb4f85a03c;p=senf.git diff --git a/PPI/SConscript b/PPI/SConscript index 1f4ac10..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', 'Logger', 'Console', '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)