author | Lalith Suresh <suresh.lalith@gmail.com> |
Fri, 04 Mar 2011 01:26:54 +0000 | |
changeset 6852 | 8f1a53d3f6ca |
parent 6823 | src/devices/bridge/wscript@a27f86fb4e55 |
child 6893 | 5dccd86f90cf |
permissions | -rw-r--r-- |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
2 |
|
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
3 |
def build(bld): |
6823
a27f86fb4e55
Merge node and common modules into new network module
Tom Henderson <tomh@tomh.org>
parents:
6635
diff
changeset
|
4 |
obj = bld.create_ns3_module('bridge', ['network']) |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
5 |
obj.source = [ |
6635
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
6 |
'model/bridge-net-device.cc', |
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
7 |
'model/bridge-channel.cc', |
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
8 |
'helper/bridge-helper.cc', |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
9 |
] |
4064
10222f483860
Upgrade to new WAF, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3449
diff
changeset
|
10 |
headers = bld.new_task_gen('ns3header') |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
11 |
headers.module = 'bridge' |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
12 |
headers.source = [ |
6635
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
13 |
'model/bridge-net-device.h', |
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
14 |
'model/bridge-channel.h', |
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
15 |
'helper/bridge-helper.h', |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
16 |
] |
6635
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
17 |
|
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
18 |
if bld.env['ENABLE_EXAMPLES']: |
d52752c85699
Convert the bridge module to the new layout
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4064
diff
changeset
|
19 |
bld.add_subdirs('examples') |