###########################################################################
+SConscript(glob.glob("*/SConscript"))
+
SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
if f not in ('all_includes.hh','Raw.hh') and not f.endswith('.test.hh') ])
-sources = SENFSCons.GlobSources()
-
-allob = []
-
-allob.extend(
- SENFSCons.Objects( env, sources = sources, LIBS = [ 'Socket', 'Scheduler', 'Utils' ] ) )
-
-for sc in glob.glob("*/SConscript"):
- ob = SConscript(sc)
- if ob : allob.extend(ob)
+sources, includes = SENFSCons.Glob(env)
-SENFSCons.InstallIncludeFiles(env, [ 'Raw.hh', 'all_includes.hh' ])
+SENFSCons.Lib(env, sources)
-Return('allob')
+env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes)