author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Thu, 08 Sep 2011 16:13:40 +0100 | |
changeset 7487 | 82cd20da9650 |
parent 7293 | 0f574c532cee |
child 7872 | ff978a217184 |
permissions | -rw-r--r-- |
7089
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
2 |
|
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
3 |
def build(bld): |
7293
0f574c532cee
Make test module not be built if not appropriate
Mitch Watrous <watrous@u.washington.edu>
parents:
7089
diff
changeset
|
4 |
obj = bld.create_ns3_module('csma-layout', ['csma', 'network', 'applications', 'netanim', 'point-to-point']) |
7089
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
5 |
obj.source = [ |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
6 |
'model/csma-star-helper.cc', |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
7 |
] |
7487
82cd20da9650
Upgrade to waf-1.6.7, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
7293
diff
changeset
|
8 |
headers = bld.new_task_gen(features=['ns3header']) |
7089
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
9 |
headers.module = 'csma-layout' |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
10 |
headers.source = [ |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
11 |
'model/csma-star-helper.h', |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
12 |
] |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
13 |
|
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
14 |
if bld.env['ENABLE_EXAMPLES']: |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
15 |
bld.add_subdirs('examples') |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
16 |
|
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
17 |
#bld.ns3_python_bindings() |
ebe626d82692
Bug 1105 Move topology helpers into separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff
changeset
|
18 |