X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSConscript;h=e07dec065691b15aa77517af3561e62f3ca9982d;hb=532240d72e09e19e57fac9bb55c2560b9c9e5b97;hp=d17af8a28b9740d0e39f3b09ba01df35b33b1645;hpb=958bdb52c39fa39f4ef91cafd9628bcb4f85a03c;p=senf.git diff --git a/Utils/SConscript b/Utils/SConscript index d17af8a..e07dec0 100644 --- a/Utils/SConscript +++ b/Utils/SConscript @@ -5,20 +5,11 @@ import SENFSCons, glob, os.path ########################################################################### -SENFSCons.StandardTargets(env) - -# OUCH ... another hack to work around a scons bug ... -if not os.path.exists("Logger/all_includes.hh"): - Execute(Touch("Logger/all_includes.hh")) - -sources, testSources = SENFSCons.GlobSources() -objects = SENFSCons.Objects( env, sources = sources, testSources=testSources ) - -lib = SENFSCons.Lib(env, - library = 'Utils', - sources = objects) +sources, includes = SENFSCons.Glob(env, subdirs=[ 'impl' ]) +SENFSCons.StandardTargets(env) +SENFSCons.Lib(env, sources) SENFSCons.Doxygen(env) -SENFSCons.InstallIncludeFiles(env, [ 'Logger.hh', 'Daemon.hh' ]) +SENFSCons.InstallIncludeFiles(env, includes) SConscript(glob.glob("*/SConscript"))