Remove SENFSCons.StandardTargets and SENFSCons.GlobalTargets
[senf.git] / Socket / Protocols / SConscript
index 4e77b00..dee839e 100644 (file)
@@ -5,15 +5,8 @@ import SENFSCons, glob
 
 ###########################################################################
 
-sources = SENFSCons.GlobSources()
+SConscript(glob.glob("*/SConscript"))
 
-allob = []
-
-allob.extend(
-    SENFSCons.Objects( env, sources = sources, LIBS = [ 'Socket', 'Utils' ] ) )
-
-for sc in glob.glob("*/SConscript"):
-    ob = SConscript(sc)
-    if ob : allob.extend(ob)
-
-Return('allob')
+sources, includes = SENFSCons.Glob(env)
+SENFSCons.Lib(env, sources)
+SENFSCons.InstallIncludeFiles(env, includes)