X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSConscript;h=e07dec065691b15aa77517af3561e62f3ca9982d;hb=fd3a0e8ac95d1158e9ea661ddf9187b67c70169f;hp=1819533cfc7b390705447c9181be6a643322ab28;hpb=b41b8147c7a2d40e2f69471e183840be8a0b95da;p=senf.git diff --git a/Utils/SConscript b/Utils/SConscript index 1819533..e07dec0 100644 --- a/Utils/SConscript +++ b/Utils/SConscript @@ -1,22 +1,15 @@ # -*- python -*- Import('env') -import SENFSCons, glob +import SENFSCons, glob, os.path ########################################################################### -SENFSCons.StandardTargets(env) - -sources, testSources = SENFSCons.GlobSources() -objects = SENFSCons.Objects( env, sources = sources, testSources=testSources ) - -for sc in glob.glob("*/SConscript"): - ob = SConscript(sc) - if ob : objects.extend(ob) - -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"))