Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(628)

Unified Diff: src/jamming/wscript

Issue 1055041: ns-3: Wireless Interference (Jamming) Framework
Patch Set: Add python bindings. Update to latest dev tree (3.11). Created 12 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/jamming/test/jamming-components-test.cc ('k') | src/wifi/model/interference-helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jamming/wscript
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/jamming/wscript
@@ -0,0 +1,55 @@
+## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+
+def build(bld):
+ module = bld.create_ns3_module('jamming', ['wifi', 'network'])
+ module.source = [
+ 'model/jammer.cc',
+ 'model/random-jammer.cc',
+ 'model/constant-jammer.cc',
+ 'model/reactive-jammer.cc',
+ 'model/eavesdropper-jammer.cc',
+ 'model/jamming-mitigation.cc',
+ 'model/mitigate-by-channel-hop.cc',
+ 'model/wireless-module-utility.cc',
+ 'model/nsl-wifi-phy.cc',
+ 'model/nsl-wifi-channel.cc',
+ 'helper/jammer-helper.cc',
+ 'helper/jammer-container.cc',
+ 'helper/jamming-mitigation-helper.cc',
+ 'helper/jamming-mitigation-container.cc',
+ 'helper/wireless-module-utility-helper.cc',
+ 'helper/wireless-module-utility-container.cc',
+ 'helper/nsl-wifi-helper.cc',
+ ]
+
+ module_test = bld.create_ns3_module_test_library('jamming')
+ module_test.source = [
+ 'test/jamming-components-test.cc',
+ ]
+
+ headers = bld.new_task_gen('ns3header')
+ headers.module = 'jamming'
+ headers.source = [
+ 'model/jammer.h',
+ 'model/random-jammer.h',
+ 'model/constant-jammer.h',
+ 'model/reactive-jammer.h',
+ 'model/eavesdropper-jammer.h',
+ 'model/jamming-mitigation.h',
+ 'model/mitigate-by-channel-hop.h',
+ 'model/wireless-module-utility.h',
+ 'model/nsl-wifi-phy.h',
+ 'model/nsl-wifi-channel.h',
+ 'helper/jammer-helper.h',
+ 'helper/jammer-container.h',
+ 'helper/jamming-mitigation-helper.h',
+ 'helper/jamming-mitigation-container.h',
+ 'helper/wireless-module-utility-helper.h',
+ 'helper/wireless-module-utility-container.h',
+ 'helper/nsl-wifi-helper.h',
+ ]
+
+ if (bld.env['ENABLE_EXAMPLES']):
+ bld.add_subdirs('examples')
+
+ bld.ns3_python_bindings()
« no previous file with comments | « src/jamming/test/jamming-components-test.cc ('k') | src/wifi/model/interference-helper.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b