# -*- python -*-
Import('env')
-import SENFSCons
+import SENFSCons, glob
###########################################################################
-sources = SENFSCons.GlobSources()
+SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
+ if 'defined(HH_Packets__decls_)' in file(f).read() ])
SENFSCons.StandardTargets(env)
-
SENFSCons.Lib(env,
library = 'Packets',
- sources = sources,
+ sources = SENFSCons.GlobSources(),
LIBS = [ 'Socket', 'Utils' ])
-
SENFSCons.Doxygen(env, extra_sources = [
env.Dia2Png("structure.dia")
])
+
+SConscript(glob.glob("*/SConscript"))
+