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