2013-12-03 11:25:59 -08:00
|
|
|
# -*- 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):
|
2015-07-08 10:03:53 +02:00
|
|
|
module = bld.create_ns3_module('wave', ['core','wifi', 'propagation', 'internet'])
|
2013-12-03 11:25:59 -08:00
|
|
|
module.source = [
|
2015-01-26 15:21:14 -08:00
|
|
|
'model/wave-mac-low.cc',
|
2013-12-03 11:25:59 -08:00
|
|
|
'model/ocb-wifi-mac.cc',
|
|
|
|
|
'model/vendor-specific-action.cc',
|
2015-01-26 15:21:14 -08:00
|
|
|
'model/channel-coordinator.cc',
|
|
|
|
|
'model/channel-scheduler.cc',
|
|
|
|
|
'model/default-channel-scheduler.cc',
|
|
|
|
|
'model/channel-manager.cc',
|
|
|
|
|
'model/vsa-manager.cc',
|
|
|
|
|
'model/bsm-application.cc',
|
2013-12-03 11:25:59 -08:00
|
|
|
'model/higher-tx-tag.cc',
|
2015-01-26 15:21:14 -08:00
|
|
|
'model/wave-net-device.cc',
|
|
|
|
|
'helper/wave-bsm-stats.cc',
|
2013-12-03 11:25:59 -08:00
|
|
|
'helper/wave-mac-helper.cc',
|
2015-01-26 15:21:14 -08:00
|
|
|
'helper/wave-helper.cc',
|
2013-12-03 11:25:59 -08:00
|
|
|
'helper/wifi-80211p-helper.cc',
|
2015-01-26 15:21:14 -08:00
|
|
|
'helper/wave-bsm-helper.cc'
|
2013-12-03 11:25:59 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
module_test = bld.create_ns3_module_test_library('wave')
|
|
|
|
|
module_test.source = [
|
2015-01-26 15:21:14 -08:00
|
|
|
'test/mac-extension-test-suite.cc',
|
2013-12-03 11:25:59 -08:00
|
|
|
'test/ocb-test-suite.cc',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
headers = bld(features='ns3header')
|
|
|
|
|
headers.module = 'wave'
|
|
|
|
|
headers.source = [
|
2015-01-26 15:21:14 -08:00
|
|
|
'model/wave-mac-low.h',
|
2013-12-03 11:25:59 -08:00
|
|
|
'model/ocb-wifi-mac.h',
|
|
|
|
|
'model/vendor-specific-action.h',
|
2015-01-26 15:21:14 -08:00
|
|
|
'model/channel-coordinator.h',
|
|
|
|
|
'model/channel-manager.h',
|
|
|
|
|
'model/channel-scheduler.h',
|
|
|
|
|
'model/default-channel-scheduler.h',
|
|
|
|
|
'model/vsa-manager.h',
|
2013-12-03 11:25:59 -08:00
|
|
|
'model/higher-tx-tag.h',
|
2015-01-26 15:21:14 -08:00
|
|
|
'model/wave-net-device.h',
|
|
|
|
|
'model/bsm-application.h',
|
|
|
|
|
'helper/wave-bsm-stats.h',
|
2013-12-03 11:25:59 -08:00
|
|
|
'helper/wave-mac-helper.h',
|
2015-01-26 15:21:14 -08:00
|
|
|
'helper/wave-helper.h',
|
2013-12-03 11:25:59 -08:00
|
|
|
'helper/wifi-80211p-helper.h',
|
2015-01-26 15:21:14 -08:00
|
|
|
'helper/wave-bsm-helper.h',
|
2013-12-03 11:25:59 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if bld.env.ENABLE_EXAMPLES:
|
|
|
|
|
bld.recurse('examples')
|
|
|
|
|
|
2013-12-03 13:46:53 -08:00
|
|
|
bld.ns3_python_bindings()
|
2013-12-03 11:25:59 -08:00
|
|
|
|