X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSConscript;h=5206292cd99dd65e3e1fea0bfcfa1b8b2030714c;hb=b1f9349b1f3521d58cbef52ead0f2e5303a58c9e;hp=aef098c228950c712f2deaf1ef1c3e8d7afc0ded;hpb=81ffa1c459b96dd44472bcef37e1e373934ee138;p=senf.git diff --git a/Socket/SConscript b/Socket/SConscript index aef098c..5206292 100644 --- a/Socket/SConscript +++ b/Socket/SConscript @@ -1,26 +1,18 @@ # -*- python -*- Import('env') -import SENFSCons -import glob +import SENFSCons, glob ########################################################################### -sources, testSources = 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') ]) -subob = [] -for sc in glob.glob("*/SConscript"): - ob = SConscript(sc) - if ob : subob.extend(ob) - -SENFSCons.Lib(env, - library = 'Socket', - sources = sources + subob, - testSources = testSources, - LIBS = [ 'Utils' ]) +sources, includes = SENFSCons.Glob(env) +SENFSCons.Lib(env, sources = sources) SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('SocketLibrary-classes.dia'), env.Dia2Png('FhHierarchy.dia'), @@ -29,3 +21,4 @@ SENFSCons.Doxygen(env, extra_sources = [ env.Dia2Png('Handle.dia'), ]) +env.InstallSubdir(target = '$INCLUDEINSTALLDIR', source = includes)