|
1 # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
|
2 |
|
3 # def options(opt): |
|
4 # pass |
|
5 |
|
6 # def configure(conf): |
|
7 # conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H') |
|
8 |
|
9 def build(bld): |
|
10 module = bld.create_ns3_module('wave', ['core','wifi', 'propagation']) |
|
11 module.source = [ |
|
12 'model/wave-mac-low.cc', |
|
13 'model/ocb-wifi-mac.cc', |
|
14 'model/vendor-specific-action.cc', |
|
15 'model/higher-tx-tag.cc', |
|
16 'helper/wave-mac-helper.cc', |
|
17 'helper/wifi-80211p-helper.cc', |
|
18 ] |
|
19 |
|
20 module_test = bld.create_ns3_module_test_library('wave') |
|
21 module_test.source = [ |
|
22 'test/ocb-test-suite.cc', |
|
23 ] |
|
24 |
|
25 headers = bld(features='ns3header') |
|
26 headers.module = 'wave' |
|
27 headers.source = [ |
|
28 'model/wave-mac-low.h', |
|
29 'model/ocb-wifi-mac.h', |
|
30 'model/vendor-specific-action.h', |
|
31 'model/higher-tx-tag.h', |
|
32 'helper/wave-mac-helper.h', |
|
33 'helper/wifi-80211p-helper.h', |
|
34 ] |
|
35 |
|
36 if bld.env.ENABLE_EXAMPLES: |
|
37 bld.recurse('examples') |
|
38 |
|
39 # bld.ns3_python_bindings() |
|
40 |