Move Console from Scheduler into Utils
[senf.git] / PPI / SConscript
index a1b65ae..1f4ac10 100644 (file)
@@ -1,10 +1,26 @@
 Import('env')
-import SENFSCons
+import SENFSCons, glob
 
 ###########################################################################
 
+SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
+                               if f not in ('all_includes.hh','PPI.hh') and not f.endswith('.test.hh') ])
+
+SConscript(glob.glob("*/SConscript"))
+
+sources = SENFSCons.GlobSources(subdirs=[ 'detail' ])
+
 SENFSCons.StandardTargets(env)
 
+SENFSCons.Lib(env,
+             library = 'PPI',
+             sources = sources,
+             LIBS = [ 'Scheduler', 'Packets', 'Logger', 'Console', 'Socket', 'Utils' ])
+
 SENFSCons.Doxygen(env, extra_sources=[
     env.Dia2Png('scenario.dia'),
+    env.Dia2Png('classes.dia'),
+    env.Dia2Png('ratestuffer.dia'),
 ])
+
+SENFSCons.InstallIncludeFiles(env, [ 'PPI.hh', 'all_includes.hh' ])