Simplify ALlIncludesHH usage
[senf.git] / Socket / Protocols / DVB / SConscript
index 4e77b00..abbb591 100644 (file)
@@ -5,15 +5,12 @@ import SENFSCons, glob
 
 ###########################################################################
 
-sources = SENFSCons.GlobSources()
+SConscript(glob.glob("*/SConscript"))
 
-allob = []
+SENFSCons.AllIncludesHH(env, exclude=['DVB.hh'])
 
-allob.extend(
-    SENFSCons.Objects( env, sources = sources, LIBS = [ 'Socket', 'Utils' ] ) )
+sources, tests, includes = SENFSCons.Glob(env)
 
-for sc in glob.glob("*/SConscript"):
-    ob = SConscript(sc)
-    if ob : allob.extend(ob)
-
-Return('allob')
+env.Append(ALLOBJECTS = env.Object(sources))
+env.BoostUnitTest('test', tests)
+env.InstallSubdir('$INCLUDEINSTALLDIR', includes)