author | Tom Henderson <tomh@tomh.org> |
Mon, 28 Sep 2015 20:27:25 -0700 | |
changeset 11676 | 05ea1489e509 |
parent 11483 | 36003018211b |
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): |
11483
36003018211b
Bug 1941 - [olsr] Remove unnecessary dependency on Application module
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
10825
diff
changeset
|
4 |
module = bld.create_ns3_module('olsr', ['internet']) |
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', |
6949
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6941
diff
changeset
|
11 |
] |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6941
diff
changeset
|
12 |
|
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6941
diff
changeset
|
13 |
module_test = bld.create_ns3_module_test_library('olsr') |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6941
diff
changeset
|
14 |
module_test.source = [ |
6972
01039b15c8eb
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
15 |
'test/bug780-test.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
|
16 |
'test/hello-regression-test.cc', |
6972
01039b15c8eb
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
17 |
'test/olsr-header-test-suite.cc', |
01039b15c8eb
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
18 |
'test/regression-test-suite.cc', |
01039b15c8eb
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
19 |
'test/olsr-routing-protocol-test-suite.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
|
20 |
'test/tc-regression-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
|
21 |
] |
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
|
22 |
|
9277
0f87d1cb030c
Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents:
7487
diff
changeset
|
23 |
headers = bld(features='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
|
24 |
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
|
25 |
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
|
26 |
'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
|
27 |
'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
|
28 |
'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
|
29 |
'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
|
30 |
'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
|
31 |
] |
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
|
32 |
|
6634
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
33 |
|
ef874c63c6b1
Convert the olsr module to the new module layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5867
diff
changeset
|
34 |
if bld.env['ENABLE_EXAMPLES']: |
9277
0f87d1cb030c
Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents:
7487
diff
changeset
|
35 |
bld.recurse('examples') |
6922
e264ea29df5e
Add OLSR modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6873
diff
changeset
|
36 |
|
e264ea29df5e
Add OLSR modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6873
diff
changeset
|
37 |
bld.ns3_python_bindings() |