src/helper/wscript
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 04 Nov 2008 14:06:34 +0100
changeset 3912 4d1a61f80745
parent 3524 028b7de98fb1
child 3914 18ac5bec5c49
permissions -rw-r--r--
new wifi API
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     2
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     3
def build(bld):
3260
8c0ab08144e6 bug 186: internet-node directory must be renamed to internet-stack
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2798
diff changeset
     4
    helper = bld.create_ns3_module('helper', ['internet-stack', 'wifi', 'point-to-point', 'csma', 'olsr', 'global-routing', 'onoff', 'packet-sink', 'udp-echo'])
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     5
    helper.source = [
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     6
        'node-container.cc',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     7
        'net-device-container.cc',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     8
        'wifi-helper.cc',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     9
        'olsr-helper.cc',
2798
143e2e1c5167 csma-multicast helper-ized (w/o tracing cutover yet)
Tom Henderson <tomh@tomh.org>
parents: 2768
diff changeset
    10
        'static-multicast-route-helper.cc',
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    11
        'point-to-point-helper.cc',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    12
        'csma-helper.cc',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    13
        'mobility-helper.cc',
2692
e4387e19039d move another helper to the helper dir
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2610
diff changeset
    14
        'ns2-mobility-helper.cc',
2711
83addb15f632 ip helper and find ip interface for device method on ipv4
Craig Dowell <craigdo@ee.washington.edu>
parents: 2692
diff changeset
    15
        'ipv4-address-helper.cc',
2708
83cc896e501c InternetStackHelper.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2692
diff changeset
    16
        'internet-stack-helper.cc',
2731
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    17
        'application-container.cc',
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    18
        'on-off-helper.cc',
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    19
        'packet-sink-helper.cc',
2738
9d7ee6d2b9f0 add new files to build.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2731
diff changeset
    20
        'packet-socket-helper.cc',
2748
f65f6e2629dc introduce Ipv4InterfaceContainer and make Ipv4AddressHelper::Allocate return it.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2738
diff changeset
    21
        'ipv4-interface-container.cc',
2768
fcb615f2c57c port to helper API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2748
diff changeset
    22
        'udp-echo-helper.cc',
3524
028b7de98fb1 bug 276: bridge netdevice has no helper class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3260
diff changeset
    23
        'bridge-helper.cc',
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3524
diff changeset
    24
        'yans-wifi-phy-helper.cc',
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    25
        ]
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    26
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    27
    headers = bld.create_obj('ns3header')
2610
efc76831f06c Missing headers.module attribute in the new 'helper' module...
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 2603
diff changeset
    28
    headers.module = 'helper'
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    29
    headers.source = [
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    30
        'node-container.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    31
        'net-device-container.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    32
        'wifi-helper.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    33
        'olsr-helper.h',
2798
143e2e1c5167 csma-multicast helper-ized (w/o tracing cutover yet)
Tom Henderson <tomh@tomh.org>
parents: 2768
diff changeset
    34
        'static-multicast-route-helper.h',
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    35
        'point-to-point-helper.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    36
        'csma-helper.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    37
        'mobility-helper.h',
2692
e4387e19039d move another helper to the helper dir
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2610
diff changeset
    38
        'ns2-mobility-helper.h',
2711
83addb15f632 ip helper and find ip interface for device method on ipv4
Craig Dowell <craigdo@ee.washington.edu>
parents: 2692
diff changeset
    39
        'ipv4-address-helper.h',
2708
83cc896e501c InternetStackHelper.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2692
diff changeset
    40
        'internet-stack-helper.h',
2731
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    41
        'application-container.h',
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    42
        'on-off-helper.h',
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    43
        'packet-sink-helper.h',
2738
9d7ee6d2b9f0 add new files to build.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2731
diff changeset
    44
        'packet-socket-helper.h',
2748
f65f6e2629dc introduce Ipv4InterfaceContainer and make Ipv4AddressHelper::Allocate return it.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2738
diff changeset
    45
        'ipv4-interface-container.h',
2768
fcb615f2c57c port to helper API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2748
diff changeset
    46
        'udp-echo-helper.h',
3524
028b7de98fb1 bug 276: bridge netdevice has no helper class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3260
diff changeset
    47
        'bridge-helper.h',
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3524
diff changeset
    48
        'yans-wifi-phy-helper.h',
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    49
        ]