forked from rmartin5/aqua-sim-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwscript
164 lines (157 loc) · 5.89 KB
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# -*- 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):
module = bld.create_ns3_module('aqua-sim-ng', ['network', 'energy', 'mobility'])
module.source = [
'model/aqua-sim-address.cc',
'model/aqua-sim-pt-tag.cc',
'model/aqua-sim-channel.cc',
'model/aqua-sim-energy-model.cc',
'model/aqua-sim-hash-table.cc',
'model/aqua-sim-header.cc',
'model/aqua-sim-header-goal.cc',
'model/aqua-sim-header-mac.cc',
'model/aqua-sim-mac.cc',
'model/aqua-sim-mobility-pattern.cc',
'model/aqua-sim-modulation.cc',
'model/aqua-sim-net-device.cc',
'model/aqua-sim-node.cc',
'model/aqua-sim-noise-generator.cc',
'model/aqua-sim-phy.cc',
'model/aqua-sim-phy-cmn.cc',
'model/aqua-sim-propagation.cc',
'model/aqua-sim-range-propagation.cc',
'model/aqua-sim-simple-propagation.cc',
'model/aqua-sim-routing.cc',
'model/aqua-sim-signal-cache.cc',
# 'model/aqua-sim-sink.cc',
'model/aqua-sim-sinr-checker.cc',
'helper/aqua-sim-helper.cc',
'model/aqua-sim-mac-broadcast.cc',
'model/aqua-sim-mac-fama.cc',
'model/aqua-sim-mac-aloha.cc',
'model/aqua-sim-mac-copemac.cc',
'model/aqua-sim-mac-goal.cc',
'model/aqua-sim-mac-sfama.cc',
'model/aqua-sim-mac-uwan.cc',
'model/aqua-sim-rmac.cc',
'model/aqua-sim-rmac-buffer.cc',
'model/aqua-sim-tmac.cc',
'model/aqua-sim-routing-static.cc',
'model/aqua-sim-header-routing.cc',
'model/aqua-sim-routing-dynamic.cc',
'model/aqua-sim-routing-flooding.cc',
'model/aqua-sim-routing-buffer.cc',
'model/aqua-sim-routing-vbf.cc',
'model/aqua-sim-routing-dbr.cc',
'model/aqua-sim-routing-vbva.cc',
'model/aqua-sim-mobility-kinematic.cc',
'model/aqua-sim-mobility-rwp.cc',
'model/aqua-sim-synchronization.cc',
'model/aqua-sim-localization.cc',
'model/aqua-sim-routing-ddos.cc',
'model/aqua-sim-attack-model.cc',
'model/aqua-sim-trace-reader.cc',
'model/ndn/named-data.cc',
'model/ndn/named-data-header.cc',
'model/ndn/name-discovery.cc',
'model/ndn/pit.cc',
'model/ndn/fib.cc',
'model/ndn/content-storage.cc',
'model/ndn/cs-fifo.cc',
'model/ndn/cs-lru.cc',
'model/ndn/cs-random.cc',
'model/ndn/onoff-nd-application.cc',
'helper/named-data-helper.cc',
'helper/on-off-nd-helper.cc',
'helper/aqua-sim-traffic-gen-helper.cc',
'model/aqua-sim-traffic-gen.cc',
'model/aqua-sim-routing-dummy.cc',
'model/aqua-sim-routing-ddbr.cc',
'model/lib/svm.cpp',
'model/aqua-sim-mac-sf.cc',
'model/aqua-sim-mac-slotsf.cc',
]
module_test = bld.create_ns3_module_test_library('aqua-sim-ng')
module_test.source = [
# 'test/aqua-sim-test-suite.cc',
]
headers = bld(features='ns3header')
headers.module = 'aqua-sim-ng'
headers.source = [
'model/aqua-sim-address.h',
'model/aqua-sim-pt-tag.h',
'model/aqua-sim-channel.h',
'model/aqua-sim-energy-model.h',
'model/aqua-sim-hash-table.h',
'model/aqua-sim-header.h',
'model/aqua-sim-header-goal.h',
'model/aqua-sim-header-mac.h',
'model/aqua-sim-mac.h',
'model/aqua-sim-mobility-pattern.h',
'model/aqua-sim-modulation.h',
'model/aqua-sim-net-device.h',
'model/aqua-sim-node.h',
'model/aqua-sim-noise-generator.h',
'model/aqua-sim-phy.h',
'model/aqua-sim-phy-cmn.h',
'model/aqua-sim-propagation.h',
'model/aqua-sim-range-propagation.h',
'model/aqua-sim-simple-propagation.h',
'model/aqua-sim-routing.h',
'model/aqua-sim-signal-cache.h',
# 'model/aqua-sim-sink.h',
'model/aqua-sim-sinr-checker.h',
'helper/aqua-sim-helper.h',
'model/aqua-sim-mac-broadcast.h',
'model/aqua-sim-mac-fama.h',
'model/aqua-sim-mac-aloha.h',
'model/aqua-sim-mac-copemac.h',
'model/aqua-sim-mac-goal.h',
'model/aqua-sim-mac-sfama.h',
'model/aqua-sim-mac-uwan.h',
'model/aqua-sim-rmac.h',
'model/aqua-sim-rmac-buffer.h',
'model/aqua-sim-tmac.h',
'model/aqua-sim-routing-static.h',
'model/aqua-sim-header-routing.h',
'model/aqua-sim-routing-dynamic.h',
'model/aqua-sim-routing-flooding.h',
'model/aqua-sim-datastructure.h',
'model/aqua-sim-routing-buffer.h',
'model/aqua-sim-routing-vbf.h',
'model/aqua-sim-routing-dbr.h',
'model/aqua-sim-routing-vbva.h',
'model/aqua-sim-mobility-kinematic.h',
'model/aqua-sim-mobility-rwp.h',
'model/aqua-sim-synchronization.h',
'model/aqua-sim-localization.h',
'model/aqua-sim-routing-ddos.h',
'model/aqua-sim-attack-model.h',
'model/aqua-sim-trace-reader.h',
'model/ndn/named-data.h',
'model/ndn/named-data-header.h',
'model/ndn/name-discovery.h',
'model/ndn/pit.h',
'model/ndn/fib.h',
'model/ndn/content-storage.h',
'model/ndn/cs-fifo.h',
'model/ndn/cs-lru.h',
'model/ndn/cs-random.h',
'model/ndn/onoff-nd-application.h',
'helper/named-data-helper.h',
'helper/on-off-nd-helper.h',
'helper/aqua-sim-traffic-gen-helper.h',
'model/aqua-sim-traffic-gen.h',
'model/aqua-sim-routing-dummy.h',
'model/aqua-sim-routing-ddbr.h',
'model/lib/svm.h',
'model/aqua-sim-mac-sf.h',
'model/aqua-sim-mac-slotsf.h',
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
bld.ns3_python_bindings()