author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Thu, 08 Sep 2011 16:13:40 +0100 | |
changeset 7487 | 82cd20da9650 |
parent 7028 | 3963d3678649 |
child 8253 | 6faee3d1d1d0 |
permissions | -rw-r--r-- |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
2 |
|
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
3 |
def build(bld): |
6823
a27f86fb4e55
Merge node and common modules into new network module
Tom Henderson <tomh@tomh.org>
parents:
6794
diff
changeset
|
4 |
module = bld.create_ns3_module('propagation', ['network', 'mobility']) |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
5 |
module.includes = '.' |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
6 |
module.source = [ |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
7 |
'model/propagation-delay-model.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
8 |
'model/propagation-loss-model.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
9 |
'model/jakes-propagation-loss-model.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
10 |
'model/cost231-propagation-loss-model.cc', |
6949
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
11 |
] |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
12 |
|
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
13 |
module_test = bld.create_ns3_module_test_library('propagation') |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
14 |
module_test.source = [ |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
15 |
'test/propagation-loss-model-test-suite.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
16 |
] |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
17 |
|
7487
82cd20da9650
Upgrade to waf-1.6.7, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
7028
diff
changeset
|
18 |
headers = bld.new_task_gen(features=['ns3header']) |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
19 |
headers.module = 'propagation' |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
20 |
headers.source = [ |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
21 |
'model/propagation-delay-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
22 |
'model/propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
23 |
'model/jakes-propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
24 |
'model/cost231-propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
25 |
] |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
26 |
|
7028
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
27 |
if (bld.env['ENABLE_EXAMPLES']): |
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
28 |
bld.add_subdirs('examples') |
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
29 |
|
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6823
diff
changeset
|
30 |
bld.ns3_python_bindings() |