src/bridge/wscript
author Tom Henderson <tomh@tomh.org>
Mon, 28 Sep 2015 20:27:25 -0700
changeset 11676 05ea1489e509
parent 9277 0f87d1cb030c
permissions -rw-r--r--
bug 2184: Integer overflow in MacLow
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
        ]
9277
0f87d1cb030c Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents: 7487
diff changeset
    10
    headers = bld(features='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']:
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')
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6852
diff changeset
    20
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6852
diff changeset
    21
    bld.ns3_python_bindings()