OLD | NEW |
(Empty) | |
| 1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8;
-*- |
| 2 |
| 3 def build(bld): |
| 4 module = bld.create_ns3_module('jamming', ['wifi', 'network']) |
| 5 module.source = [ |
| 6 'model/jammer.cc', |
| 7 'model/random-jammer.cc', |
| 8 'model/constant-jammer.cc', |
| 9 'model/reactive-jammer.cc', |
| 10 'model/eavesdropper-jammer.cc', |
| 11 'model/jamming-mitigation.cc', |
| 12 'model/mitigate-by-channel-hop.cc', |
| 13 'model/wireless-module-utility.cc', |
| 14 'model/nsl-wifi-phy.cc', |
| 15 'model/nsl-wifi-channel.cc', |
| 16 'helper/jammer-helper.cc', |
| 17 'helper/jammer-container.cc', |
| 18 'helper/jamming-mitigation-helper.cc', |
| 19 'helper/jamming-mitigation-container.cc', |
| 20 'helper/wireless-module-utility-helper.cc', |
| 21 'helper/wireless-module-utility-container.cc', |
| 22 'helper/nsl-wifi-helper.cc', |
| 23 ] |
| 24 ········ |
| 25 module_test = bld.create_ns3_module_test_library('jamming') |
| 26 module_test.source = [ |
| 27 'test/jamming-components-test.cc', |
| 28 ] |
| 29 ········ |
| 30 headers = bld.new_task_gen('ns3header') |
| 31 headers.module = 'jamming' |
| 32 headers.source = [ |
| 33 'model/jammer.h', |
| 34 'model/random-jammer.h', |
| 35 'model/constant-jammer.h', |
| 36 'model/reactive-jammer.h', |
| 37 'model/eavesdropper-jammer.h', |
| 38 'model/jamming-mitigation.h', |
| 39 'model/mitigate-by-channel-hop.h', |
| 40 'model/wireless-module-utility.h', |
| 41 'model/nsl-wifi-phy.h', |
| 42 'model/nsl-wifi-channel.h', |
| 43 'helper/jammer-helper.h', |
| 44 'helper/jammer-container.h', |
| 45 'helper/jamming-mitigation-helper.h', |
| 46 'helper/jamming-mitigation-container.h', |
| 47 'helper/wireless-module-utility-helper.h', |
| 48 'helper/wireless-module-utility-container.h', |
| 49 'helper/nsl-wifi-helper.h', |
| 50 ] |
| 51 |
| 52 if (bld.env['ENABLE_EXAMPLES']): |
| 53 bld.add_subdirs('examples') |
| 54 ······ |
| 55 bld.ns3_python_bindings() |
OLD | NEW |