author | Tom Henderson <tomh@tomh.org> |
Mon, 28 Sep 2015 20:27:25 -0700 | |
changeset 11676 | 05ea1489e509 |
parent 11285 | 90aeba821efe |
permissions | -rw-r--r-- |
6349 | 1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
2 |
||
3 |
def build(bld): |
|
4 |
||
10902
527fc624722a
Bug 1811 - Basic traffic generator for network module
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
10824
diff
changeset
|
5 |
module = bld.create_ns3_module('spectrum', ['propagation', 'antenna']) |
6349 | 6 |
module.source = [ |
6801 | 7 |
'model/spectrum-model.cc', |
8 |
'model/spectrum-value.cc', |
|
9 |
'model/spectrum-converter.cc', |
|
7581 | 10 |
'model/spectrum-signal-parameters.cc', |
6801 | 11 |
'model/spectrum-propagation-loss-model.cc', |
12 |
'model/friis-spectrum-propagation-loss.cc', |
|
7750
fba4d5324510
added ConstantSpectrumPropagationLossModel
Manuel Requena <mrequena@cttc.es>
parents:
7581
diff
changeset
|
13 |
'model/constant-spectrum-propagation-loss.cc', |
6801 | 14 |
'model/spectrum-phy.cc', |
15 |
'model/spectrum-channel.cc', |
|
16 |
'model/single-model-spectrum-channel.cc', |
|
17 |
'model/multi-model-spectrum-channel.cc', |
|
18 |
'model/spectrum-interference.cc', |
|
19 |
'model/spectrum-error-model.cc', |
|
20 |
'model/spectrum-model-ism2400MHz-res1MHz.cc', |
|
21 |
'model/spectrum-model-300kHz-300GHz-log.cc', |
|
22 |
'model/wifi-spectrum-value-helper.cc', |
|
23 |
'model/waveform-generator.cc', |
|
24 |
'model/spectrum-analyzer.cc', |
|
25 |
'model/aloha-noack-mac-header.cc', |
|
26 |
'model/aloha-noack-net-device.cc', |
|
27 |
'model/half-duplex-ideal-phy.cc', |
|
7581 | 28 |
'model/half-duplex-ideal-phy-signal-parameters.cc', |
6801 | 29 |
'model/non-communicating-net-device.cc', |
30 |
'model/microwave-oven-spectrum-value-helper.cc', |
|
11285
90aeba821efe
TvSpectrumTransmitter classes to create television transmitter(s) that transmit PSD spectrums customized by attributes such as modulation type, power, antenna type, channel frequency, etc.
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents:
11139
diff
changeset
|
31 |
'model/tv-spectrum-transmitter.cc', |
6801 | 32 |
'helper/spectrum-helper.cc', |
33 |
'helper/adhoc-aloha-noack-ideal-phy-helper.cc', |
|
34 |
'helper/waveform-generator-helper.cc', |
|
35 |
'helper/spectrum-analyzer-helper.cc', |
|
11285
90aeba821efe
TvSpectrumTransmitter classes to create television transmitter(s) that transmit PSD spectrums customized by attributes such as modulation type, power, antenna type, channel frequency, etc.
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents:
11139
diff
changeset
|
36 |
'helper/tv-spectrum-transmitter-helper.cc', |
6949
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
37 |
] |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
38 |
|
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
39 |
module_test = bld.create_ns3_module_test_library('spectrum') |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
40 |
module_test.source = [ |
6801 | 41 |
'test/spectrum-interference-test.cc', |
42 |
'test/spectrum-value-test.cc', |
|
7343
b3e668a5949c
added support for single-freq PropagationLossModel to SpectrumChannel
Nicola Baldo <nbaldo@cttc.es>
parents:
7129
diff
changeset
|
43 |
'test/spectrum-ideal-phy-test.cc', |
11139
41dffb7d58cf
Bug 2038 - Stop method does not stop next wave in WaveformGenerator
Luis Pacheco <luisbelem@gmail.com>
parents:
10902
diff
changeset
|
44 |
'test/spectrum-waveform-generator-test.cc', |
11285
90aeba821efe
TvSpectrumTransmitter classes to create television transmitter(s) that transmit PSD spectrums customized by attributes such as modulation type, power, antenna type, channel frequency, etc.
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents:
11139
diff
changeset
|
45 |
'test/tv-helper-distribution-test.cc', |
90aeba821efe
TvSpectrumTransmitter classes to create television transmitter(s) that transmit PSD spectrums customized by attributes such as modulation type, power, antenna type, channel frequency, etc.
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents:
11139
diff
changeset
|
46 |
'test/tv-spectrum-transmitter-test.cc', |
6349 | 47 |
] |
48 |
||
9277
0f87d1cb030c
Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents:
8702
diff
changeset
|
49 |
headers = bld(features='ns3header') |
6349 | 50 |
headers.module = 'spectrum' |
51 |
headers.source = [ |
|
6801 | 52 |
'model/spectrum-model.h', |
53 |
'model/spectrum-value.h', |
|
54 |
'model/spectrum-converter.h', |
|
7581 | 55 |
'model/spectrum-signal-parameters.h', |
6801 | 56 |
'model/spectrum-propagation-loss-model.h', |
57 |
'model/friis-spectrum-propagation-loss.h', |
|
7750
fba4d5324510
added ConstantSpectrumPropagationLossModel
Manuel Requena <mrequena@cttc.es>
parents:
7581
diff
changeset
|
58 |
'model/constant-spectrum-propagation-loss.h', |
6801 | 59 |
'model/spectrum-phy.h', |
60 |
'model/spectrum-channel.h', |
|
61 |
'model/single-model-spectrum-channel.h', |
|
62 |
'model/multi-model-spectrum-channel.h', |
|
63 |
'model/spectrum-interference.h', |
|
64 |
'model/spectrum-error-model.h', |
|
65 |
'model/spectrum-model-ism2400MHz-res1MHz.h', |
|
66 |
'model/spectrum-model-300kHz-300GHz-log.h', |
|
67 |
'model/wifi-spectrum-value-helper.h', |
|
68 |
'model/waveform-generator.h', |
|
69 |
'model/spectrum-analyzer.h', |
|
70 |
'model/aloha-noack-mac-header.h', |
|
71 |
'model/aloha-noack-net-device.h', |
|
72 |
'model/half-duplex-ideal-phy.h', |
|
7581 | 73 |
'model/half-duplex-ideal-phy-signal-parameters.h', |
6801 | 74 |
'model/non-communicating-net-device.h', |
75 |
'model/microwave-oven-spectrum-value-helper.h', |
|
11285
90aeba821efe
TvSpectrumTransmitter classes to create television transmitter(s) that transmit PSD spectrums customized by attributes such as modulation type, power, antenna type, channel frequency, etc.
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents:
11139
diff
changeset
|
76 |
'model/tv-spectrum-transmitter.h', |
6801 | 77 |
'helper/spectrum-helper.h', |
78 |
'helper/adhoc-aloha-noack-ideal-phy-helper.h', |
|
79 |
'helper/waveform-generator-helper.h', |
|
80 |
'helper/spectrum-analyzer-helper.h', |
|
11285
90aeba821efe
TvSpectrumTransmitter classes to create television transmitter(s) that transmit PSD spectrums customized by attributes such as modulation type, power, antenna type, channel frequency, etc.
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents:
11139
diff
changeset
|
81 |
'helper/tv-spectrum-transmitter-helper.h', |
7129
365e6869604d
renamed spectrum-value-test.h --> spectrum-test.h
Nicola Baldo <nbaldo@cttc.es>
parents:
7124
diff
changeset
|
82 |
'test/spectrum-test.h', |
6349 | 83 |
] |
84 |
||
6801 | 85 |
if (bld.env['ENABLE_EXAMPLES']): |
9277
0f87d1cb030c
Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents:
8702
diff
changeset
|
86 |
bld.recurse('examples') |
6349 | 87 |
|
6801 | 88 |
|
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6913
diff
changeset
|
89 |
bld.ns3_python_bindings() |