Remove SENFSCons.StandardTargets and SENFSCons.GlobalTargets
[senf.git] / Utils / SConscript
index 561137b..a39548a 100644 (file)
@@ -1,21 +1,14 @@
 # -*- 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.Lib(env, sources)
 SENFSCons.Doxygen(env)
+SENFSCons.InstallIncludeFiles(env, includes)
+
+SConscript(glob.glob("*/SConscript"))