author | Tom Henderson <tomh@tomh.org> |
Wed, 23 May 2012 23:10:43 -0700 | |
changeset 8799 | d51ce48206ee |
parent 7487 | 82cd20da9650 |
child 9277 | 0f87d1cb030c |
permissions | -rw-r--r-- |
6717 | 1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
2 |
||
3 |
def build(bld): |
|
6873
b2234c2d38d9
Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents:
6852
diff
changeset
|
4 |
module = bld.create_ns3_module('dsdv', ['internet', 'wifi', 'mesh', 'applications']) |
6717 | 5 |
module.includes = '.' |
6 |
module.source = [ |
|
7 |
'model/dsdv-rtable.cc', |
|
8 |
'model/dsdv-packet-queue.cc', |
|
9 |
'model/dsdv-packet.cc', |
|
10 |
'model/dsdv-routing-protocol.cc', |
|
11 |
'helper/dsdv-helper.cc', |
|
6947
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
12 |
] |
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
13 |
|
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
14 |
module_test = bld.create_ns3_module_test_library('dsdv') |
a4acf45d3dc9
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
15 |
module_test.source = [ |
6717 | 16 |
'test/dsdv-testcase.cc', |
17 |
] |
|
18 |
||
7487
82cd20da9650
Upgrade to waf-1.6.7, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6947
diff
changeset
|
19 |
headers = bld.new_task_gen(features=['ns3header']) |
6717 | 20 |
headers.module = 'dsdv' |
21 |
headers.source = [ |
|
22 |
'model/dsdv-rtable.h', |
|
23 |
'model/dsdv-packet-queue.h', |
|
24 |
'model/dsdv-packet.h', |
|
25 |
'model/dsdv-routing-protocol.h', |
|
26 |
'helper/dsdv-helper.h', |
|
27 |
] |
|
28 |
if (bld.env['ENABLE_EXAMPLES']): |
|
29 |
bld.add_subdirs('examples') |
|
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6873
diff
changeset
|
30 |
|
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6873
diff
changeset
|
31 |
bld.ns3_python_bindings() |