###########################################################################
-SENFSCons.StandardTargets(env)
+SENFSCons.AllIncludesHH(env, exclude=['Logger.hh','SenfLog.hh'])
-SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
- if ( f not in ('all_includes.hh','Logger.hh','SenfLog.hh')
- and not f.endswith('.test.hh') ) ])
-sources = SENFSCons.GlobSources()
-objects = SENFSCons.Objects( env, sources = sources, LIBS = [ 'Utils' ] )
-
-SENFSCons.InstallIncludeFiles(env, [ 'SenfLog.hh' ])
+sources, tests, includes = SENFSCons.Glob(env)
+env.Append(ALLOBJECTS = env.Object(sources))
+env.BoostUnitTest('test', tests)
SENFSCons.Doxygen(env)
-
-Return('objects')
+env.InstallSubdir('$INCLUDEINSTALLDIR', includes)