author | Mitch Watrous <watrous@u.washington.edu> |
Fri, 25 Mar 2011 12:55:27 -0700 | |
changeset 6952 | 91a77c7f3bb2 |
parent 6947 | a4acf45d3dc9 |
child 7487 | 82cd20da9650 |
permissions | -rw-r--r-- |
5536 | 1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
2 |
||
3 |
def build(bld): |
|
6871 | 4 |
module = bld.create_ns3_module('aodv', ['internet', 'wifi', 'applications', 'mesh', 'point-to-point', 'virtual-net-device']) |
5536 | 5 |
module.includes = '.' |
6 |
module.source = [ |
|
6841
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
7 |
'model/aodv-id-cache.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
8 |
'model/aodv-dpd.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
9 |
'model/aodv-rtable.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
10 |
'model/aodv-rqueue.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
11 |
'model/aodv-packet.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
12 |
'model/aodv-neighbor.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
13 |
'model/aodv-routing-protocol.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
14 |
'helper/aodv-helper.cc', |
6947
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
15 |
] |
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
16 |
|
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
17 |
aodv_test = bld.create_ns3_module_test_library('aodv') |
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
18 |
aodv_test.source = [ |
6952
91a77c7f3bb2
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6947
diff
changeset
|
19 |
'test/aodv-id-cache-test-suite.cc', |
6841
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
20 |
'test/aodv-test-suite.cc', |
5726
8776c223c36c
[aodv] Broken chain ping regression added (without reference traces yet)
Pavel Boyko <boyko@iitp.ru>
parents:
5719
diff
changeset
|
21 |
'test/aodv-regression.cc', |
6088 | 22 |
'test/bug-772.cc', |
23 |
'test/loopback.cc', |
|
5536 | 24 |
] |
25 |
||
26 |
headers = bld.new_task_gen('ns3header') |
|
27 |
headers.module = 'aodv' |
|
28 |
headers.source = [ |
|
6841
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
29 |
'model/aodv-id-cache.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
30 |
'model/aodv-dpd.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
31 |
'model/aodv-rtable.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
32 |
'model/aodv-rqueue.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
33 |
'model/aodv-packet.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
34 |
'model/aodv-neighbor.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
35 |
'model/aodv-routing-protocol.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
36 |
'helper/aodv-helper.h', |
5536 | 37 |
] |
38 |
||
6841
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
39 |
if bld.env['ENABLE_EXAMPLES']: |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
40 |
bld.add_subdirs('examples') |
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6871
diff
changeset
|
41 |
|
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6871
diff
changeset
|
42 |
bld.ns3_python_bindings() |