X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=9b0870f9a2e2c37c0cb17360ea5609ef6a20d999;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=5887b53ad15d42b7ebf732cc7af9326ae810b192;hpb=344c0f9eb4ea24e789e4dbb5e1d55006d288c2b1;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index 5887b53..9b0870f 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -1,26 +1,24 @@ # -*- python -*- Import('env') -import SENFSCons +import SENFSCons, glob ########################################################################### -sources = SENFSCons.GlobSources() +SConscript(glob.glob("*/SConscript")) -SENFSCons.StandardTargets(env) +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') ]) -SENFSCons.Lib(env, - library = 'Socket', - sources = sources, - LIBS = [ 'Utils' ]) +sources, includes = SENFSCons.Glob(env) +SENFSCons.StandardTargets(env) +SENFSCons.Lib(env, sources = sources) SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('SocketLibrary-classes.dia'), env.Dia2Png('FhHierarchy.dia'), - env.Command('doc/html/SocketPolicy.png', env.Dia2Png('SocketPolicy.dia'), - Copy('$TARGET','$SOURCE')), - env.Command('doc/html/Protocols.png', env.Dia2Png('Protocols.dia'), - Copy('$TARGET','$SOURCE')), + env.Dia2Png('SocketPolicy.dia'), + env.Dia2Png('Protocols.dia'), env.Dia2Png('Handle.dia'), ]) - +SENFSCons.InstallIncludeFiles(env, includes)