X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=31777820c2727d21adc1a9c0ea21c5454fda7cfe;hb=9f0a32a3d569a0c35f2553e4648afa97f1dade58;hp=1375a71b66400082f73520ffe85b9189f52b1e3d;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 1375a71..3177782 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -1,15 +1,34 @@ +# -*- python -*- + Import('env') -import SatSCons +import SENFSCons, glob ########################################################################### -sources = SatSCons.GlobSources() +SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh") + if f not in ('all_includes.hh','Socket.hh') and not f.endswith('.test.hh') ]) + +sources, testSources = SENFSCons.GlobSources() + +SENFSCons.StandardTargets(env) + +subob = [] +for sc in glob.glob("*/SConscript"): + ob = SConscript(sc) + if ob : subob.extend(ob) -SatSCons.StandardTargets(env) +SENFSCons.Lib(env, + library = 'Socket', + sources = sources + subob, + testSources = testSources, + LIBS = [ 'Utils' ]) -SatSCons.Lib(env, - library = 'Socket', - sources = sources, - LIBS = [ 'Utils' ]) +SENFSCons.Doxygen(env, extra_sources = [ + env.Dia2Png('SocketLibrary-classes.dia'), + env.Dia2Png('FhHierarchy.dia'), + env.Dia2Png('SocketPolicy.dia'), + env.Dia2Png('Protocols.dia'), + env.Dia2Png('Handle.dia'), +]) -SatSCons.Doxygen(env,sources) +SENFSCons.InstallIncludeFiles(env, [ 'Socket.hh', 'all_includes.hh' ])