author | Mitch Watrous <watrous@u.washington.edu> |
Thu, 24 Mar 2011 09:23:44 -0700 | |
changeset 6941 | 9d2c79c992d7 |
parent 6922 | e264ea29df5e |
child 6949 | 8167c9e2a12d |
permissions | -rw-r--r-- |
1716
9757633a85da
Add OLSR routing support, (loosely) based on Francisco J. Ros's NS-2 code (University of Murcia).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
9757633a85da
Add OLSR routing support, (loosely) based on Francisco J. Ros's NS-2 code (University of Murcia).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
2 |
|
9757633a85da
Add OLSR routing support, (loosely) based on Francisco J. Ros's NS-2 code (University of Murcia).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
3 |
def build(bld): |
6941
9d2c79c992d7
Split contrib module into config-store and tools
Mitch Watrous <watrous@u.washington.edu>
parents:
6922
diff
changeset
|
4 |
module = bld.create_ns3_module('olsr', ['internet', 'config-store', 'tools', 'point-to-point', 'wifi', 'mobility', 'applications', 'csma']) |
1739
05d1952256d0
fix olsr wscript
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1733
diff
changeset
|
5 |
module.includes = '.' |
05d1952256d0
fix olsr wscript
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1733
diff
changeset
|
6 |
module.source = [ |
6634
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
7 |
'model/olsr-header.cc', |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
8 |
'model/olsr-state.cc', |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
9 |
'model/olsr-routing-protocol.cc', |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
10 |
'helper/olsr-helper.cc', |
5763
04848ede4d04
[olsr] Two basic trace based OLSR regression tests added together with reference traces
Pavel Boyko <boyko@iitp.ru>
parents:
4364
diff
changeset
|
11 |
'test/regression-test-suite.cc', |
04848ede4d04
[olsr] Two basic trace based OLSR regression tests added together with reference traces
Pavel Boyko <boyko@iitp.ru>
parents:
4364
diff
changeset
|
12 |
'test/hello-regression-test.cc', |
04848ede4d04
[olsr] Two basic trace based OLSR regression tests added together with reference traces
Pavel Boyko <boyko@iitp.ru>
parents:
4364
diff
changeset
|
13 |
'test/tc-regression-test.cc', |
5867
8c65da328ae9
Fix Bug 780 (problem in RoutingTableComputation with asymetric links), while adding debugging methods to OLSR. Thanks Abdul Jabbar, Pavel Boyko, and Tom Henderson for test case and debug code.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5763
diff
changeset
|
14 |
'test/bug780-test.cc', |
1716
9757633a85da
Add OLSR routing support, (loosely) based on Francisco J. Ros's NS-2 code (University of Murcia).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
15 |
] |
9757633a85da
Add OLSR routing support, (loosely) based on Francisco J. Ros's NS-2 code (University of Murcia).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
16 |
|
4064
10222f483860
Upgrade to new WAF, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3853
diff
changeset
|
17 |
headers = bld.new_task_gen('ns3header') |
2609
931d59bb1303
Add a 'module' attribute to the ns3header object specifying which module each set of headers belongs to.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
2603
diff
changeset
|
18 |
headers.module = 'olsr' |
1716
9757633a85da
Add OLSR routing support, (loosely) based on Francisco J. Ros's NS-2 code (University of Murcia).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
19 |
headers.source = [ |
6634
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
20 |
'model/olsr-routing-protocol.h', |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
21 |
'model/olsr-header.h', |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
22 |
'model/olsr-state.h', |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
23 |
'model/olsr-repositories.h', |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
24 |
'helper/olsr-helper.h', |
1716
9757633a85da
Add OLSR routing support, (loosely) based on Francisco J. Ros's NS-2 code (University of Murcia).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
25 |
] |
1750
93f1b6ead15a
Move EventCollector and SingleEvent classes, making them private to the OLSR code.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1739
diff
changeset
|
26 |
|
6634
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
27 |
|
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
28 |
if bld.env['ENABLE_EXAMPLES']: |
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
29 |
bld.add_subdirs('examples') |
6922
e264ea29df5e
Add OLSR modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6873
diff
changeset
|
30 |
|
e264ea29df5e
Add OLSR modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6873
diff
changeset
|
31 |
bld.ns3_python_bindings() |