author | Tommaso Pecorella <tommaso.pecorella@unifi.it> |
Wed, 17 Jul 2013 23:34:17 +0200 | |
changeset 9955 | d97de2f9fbe5 |
parent 9277 | 0f87d1cb030c |
permissions | -rw-r--r-- |
5224 | 1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
2 |
||
3 |
def build(bld): |
|
6844
60cb2b005559
remove unneeded routing dependencies
Josh Pelkey <jpelkey@gatech.edu>
parents:
6841
diff
changeset
|
4 |
module = bld.create_ns3_module('nix-vector-routing', ['internet']) |
5224 | 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/ipv4-nix-vector-routing.cc', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
8 |
'helper/ipv4-nix-vector-helper.cc', |
5224 | 9 |
] |
10 |
||
9277
0f87d1cb030c
Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents:
7487
diff
changeset
|
11 |
headers = bld(features='ns3header') |
5224 | 12 |
headers.module = 'nix-vector-routing' |
13 |
headers.source = [ |
|
6841
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
14 |
'model/ipv4-nix-vector-routing.h', |
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
15 |
'helper/ipv4-nix-vector-helper.h', |
5224 | 16 |
] |
17 |
||
6841
174e599d1003
modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents:
6834
diff
changeset
|
18 |
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
|
19 |
bld.recurse('examples') |
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6852
diff
changeset
|
20 |
|
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6852
diff
changeset
|
21 |
bld.ns3_python_bindings() |