fixed sendto() error reporting - hopefully
[senf.git] / senf / Packets / 80211Bundle / SConscript
index 67f430b..5f7c5d9 100644 (file)
@@ -1,20 +1,10 @@
 # -*- python -*-
 
 Import('env')
-import SENFSCons, glob
+import SENFSCons
 
 ###########################################################################
 
-sources, tests, includes = SENFSCons.Glob(env)
+SConscript(env.Glob("*/SConscript"))
 
-objects = env.Object(sources)
-cobject = env.CombinedObject('80211Bundle', objects)
-env.Default(cobject)
-env.Append(ALLOBJECTS = objects)
-env.Append(PACKET_BUNDLES = cobject)
-env.BoostUnitTest('test', tests + cobject)
-
-env.Install('$OBJINSTALLDIR', cobject)
-env.InstallSubdir('$INCLUDEINSTALLDIR', includes)
-
-SConscript(glob.glob("*/SConscript"))
+SENFSCons.AutoPacketBundle(env, '80211Bundle')