Index: src/bundle-protocol/wscript |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/src/bundle-protocol/wscript |
@@ -0,0 +1,48 @@ |
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
+ |
+# def options(opt): |
+# pass |
+ |
+# def configure(conf): |
+# conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H') |
+ |
+def build(bld): |
+ module = bld.create_ns3_module('bundle-protocol', ['core', 'network','internet']) |
+ module.source = [ |
+ 'model/bp-cla-protocol.cc', |
+ 'model/bp-tcp-cla-protocol.cc', |
+ 'model/bp-endpoint-id.cc', |
+ 'model/bp-header.cc', |
+ 'model/bp-payload-header.cc', |
+ 'model/bundle-protocol.cc', |
+ 'model/bp-routing-protocol.cc', |
+ 'model/bp-static-routing-protocol.cc', |
+ 'helper/bundle-protocol-helper.cc', |
+ 'helper/bundle-protocol-container.cc', |
+ ] |
+ |
+ module_test = bld.create_ns3_module_test_library('bundle-protocol') |
+ module_test.source = [ |
+ 'test/bundle-protocol-test-suite.cc', |
+ ] |
+ |
+ headers = bld(features='ns3header') |
+ headers.module = 'bundle-protocol' |
+ headers.source = [ |
+ 'model/bp-cla-protocol.h', |
+ 'model/bp-tcp-cla-protocol.h', |
+ 'model/bp-endpoint-id.h', |
+ 'model/bp-header.h', |
+ 'model/bp-payload-header.h', |
+ 'model/bundle-protocol.h', |
+ 'model/bp-routing-protocol.h', |
+ 'model/bp-static-routing-protocol.h', |
+ 'helper/bundle-protocol-helper.h', |
+ 'helper/bundle-protocol-container.h', |
+ ] |
+ |
+ if bld.env.ENABLE_EXAMPLES: |
+ bld.recurse('examples') |
+ |
+ # bld.ns3_python_bindings() |
+ |