src/helper/wscript
author Nicola Baldo <nbaldo@cttc.es>
Fri, 11 Jun 2010 19:30:06 +0200
changeset 6349 4bab6b10a034
parent 6127 b5bc10de166d
child 6376 4e133d0aa098
permissions -rw-r--r--
merged spectrum framework
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):
6349
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
     4
    helper = bld.create_ns3_module('helper', ['internet-stack', 'wifi', 'point-to-point', 'csma', 'olsr', 'global-routing', 'onoff', 'packet-sink', 'udp-echo', 'spectrum'])
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',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    10
        'point-to-point-helper.cc',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    11
        'csma-helper.cc',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    12
        'mobility-helper.cc',
2692
e4387e19039d move another helper to the helper dir
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2610
diff changeset
    13
        '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
    14
        'ipv4-address-helper.cc',
4472
e20a31541404 src/ and utils/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4408
diff changeset
    15
        'ipv4-static-routing-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',
4000
07bf8da834e0 bug 435: file names are not consistent
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3914
diff changeset
    24
        'yans-wifi-helper.cc',
6349
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
    25
        'spectrum-helper.cc',
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
    26
        'adhoc-aloha-noack-ideal-phy-helper.cc',
3821
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3524
diff changeset
    27
        'v4ping-helper.cc',
4406
39f119de91ef Add WifiMacHelper
Mirko Banchi <mk.banchi@gmail.com>
parents: 4185
diff changeset
    28
        'nqos-wifi-mac-helper.cc',
4408
76a169b3db3d add qos MACs
Mirko Banchi <mk.banchi@gmail.com>
parents: 4406
diff changeset
    29
        'qos-wifi-mac-helper.cc',
5708
55abd6e61f17 MilliSeconds(double) fixed to MilliSeconds(int)
Pavel Boyko <boyko@iitp.ru>
parents: 5707
diff changeset
    30
        'ipv4-nix-vector-helper.cc',
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4472
diff changeset
    31
        'ipv4-global-routing-helper.cc',
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4472
diff changeset
    32
        'ipv4-list-routing-helper.cc',
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4472
diff changeset
    33
        'ipv4-routing-helper.cc',
5566
5e804c7b0c92 AodvHelper just added
Pavel Boyko <boyko@iitp.ru>
parents: 4616
diff changeset
    34
        'aodv-helper.cc',
5086
fccfd0073ea3 Fixed names: now protocols are called *-protocol.[h,cc], plugin is called
Kirill Andreev <andreev@iitp.ru>
parents: 5056
diff changeset
    35
        'mesh-helper.cc',
5169
8033c4e41bd5 Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents: 5166
diff changeset
    36
        'dot11s-installer.cc',
8033c4e41bd5 Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents: 5166
diff changeset
    37
        'flame-installer.cc',
4734
0b29285cc1af added AthstatsWifiTraceSink and AthstatsHelper
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
    38
        'athstats-helper.cc',
4731
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    39
        'ipv6-address-helper.cc',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    40
        'ipv6-interface-container.cc',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    41
        'ipv6-static-routing-helper.cc',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    42
        'ipv6-list-routing-helper.cc',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    43
        'ipv6-routing-helper.cc',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    44
        'ping6-helper.cc',
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4734
diff changeset
    45
        'flow-monitor-helper.cc',
5776
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
    46
        'animation-interface.cc',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
    47
        'canvas-location.cc',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
    48
        'point-to-point-dumbbell-helper.cc',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
    49
        'point-to-point-grid-helper.cc',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
    50
        'point-to-point-star-helper.cc',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
    51
        'csma-star-helper.cc',
5781
2557c340ea15 Adding 3 new applications:udp-client, udp-server, udp-trace-client.
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 5776
diff changeset
    52
        'udp-client-server-helper.cc',
6028
96fb92f73f3d merge trace helpers, rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6017
diff changeset
    53
        'trace-helper.cc',
6111
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6028
diff changeset
    54
        'wimax-helper.cc',
6127
b5bc10de166d merge topology read system
Tommaso Pecorella <tpecorella@mac.com>
parents: 6111
diff changeset
    55
        'topology-reader-helper.cc',
6349
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
    56
        'waveform-generator-helper.cc',
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
    57
        'spectrum-analyzer-helper.cc',
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    58
        ]
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    59
4064
10222f483860 Upgrade to new WAF, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4000
diff changeset
    60
    headers = bld.new_task_gen('ns3header')
2610
efc76831f06c Missing headers.module attribute in the new 'helper' module...
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 2603
diff changeset
    61
    headers.module = 'helper'
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    62
    headers.source = [
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    63
        'node-container.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    64
        'net-device-container.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    65
        'wifi-helper.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    66
        'olsr-helper.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    67
        'point-to-point-helper.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    68
        'csma-helper.h',
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    69
        'mobility-helper.h',
2692
e4387e19039d move another helper to the helper dir
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2610
diff changeset
    70
        '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
    71
        'ipv4-address-helper.h',
4472
e20a31541404 src/ and utils/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4408
diff changeset
    72
        'ipv4-static-routing-helper.h',
2708
83cc896e501c InternetStackHelper.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2692
diff changeset
    73
        'internet-stack-helper.h',
2731
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    74
        'application-container.h',
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    75
        'on-off-helper.h',
9eb9988afd08 a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2714
diff changeset
    76
        'packet-sink-helper.h',
2738
9d7ee6d2b9f0 add new files to build.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2731
diff changeset
    77
        '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
    78
        'ipv4-interface-container.h',
2768
fcb615f2c57c port to helper API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2748
diff changeset
    79
        '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
    80
        'bridge-helper.h',
4000
07bf8da834e0 bug 435: file names are not consistent
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3914
diff changeset
    81
        'yans-wifi-helper.h',
6349
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
    82
        'spectrum-helper.h',
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
    83
        'adhoc-aloha-noack-ideal-phy-helper.h',
3821
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3524
diff changeset
    84
        'v4ping-helper.h',
4406
39f119de91ef Add WifiMacHelper
Mirko Banchi <mk.banchi@gmail.com>
parents: 4185
diff changeset
    85
        'nqos-wifi-mac-helper.h',
4408
76a169b3db3d add qos MACs
Mirko Banchi <mk.banchi@gmail.com>
parents: 4406
diff changeset
    86
        'qos-wifi-mac-helper.h',
5708
55abd6e61f17 MilliSeconds(double) fixed to MilliSeconds(int)
Pavel Boyko <boyko@iitp.ru>
parents: 5707
diff changeset
    87
        'ipv4-nix-vector-helper.h',
55abd6e61f17 MilliSeconds(double) fixed to MilliSeconds(int)
Pavel Boyko <boyko@iitp.ru>
parents: 5707
diff changeset
    88
	'ipv4-global-routing-helper.h',
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4472
diff changeset
    89
        'ipv4-list-routing-helper.h',
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4472
diff changeset
    90
        'ipv4-routing-helper.h',
5566
5e804c7b0c92 AodvHelper just added
Pavel Boyko <boyko@iitp.ru>
parents: 4616
diff changeset
    91
        'aodv-helper.h',
5086
fccfd0073ea3 Fixed names: now protocols are called *-protocol.[h,cc], plugin is called
Kirill Andreev <andreev@iitp.ru>
parents: 5056
diff changeset
    92
        'mesh-helper.h',
5169
8033c4e41bd5 Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents: 5166
diff changeset
    93
        'mesh-stack-installer.h',
5708
55abd6e61f17 MilliSeconds(double) fixed to MilliSeconds(int)
Pavel Boyko <boyko@iitp.ru>
parents: 5707
diff changeset
    94
        'dot11s-installer.h',
5169
8033c4e41bd5 Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents: 5166
diff changeset
    95
        'flame-installer.h',
4734
0b29285cc1af added AthstatsWifiTraceSink and AthstatsHelper
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
    96
        'athstats-helper.h',
4731
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    97
        'ipv6-address-helper.h',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    98
        'ipv6-interface-container.h',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
    99
        'ipv6-static-routing-helper.h',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
   100
        'ipv6-list-routing-helper.h',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
   101
        'ipv6-routing-helper.h',
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4616
diff changeset
   102
        'ping6-helper.h',
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4734
diff changeset
   103
        'flow-monitor-helper.h',
5776
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   104
        'animation-interface.h',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   105
        'canvas-location.h',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   106
        'point-to-point-dumbbell-helper.h',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   107
        'point-to-point-grid-helper.h',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   108
        'point-to-point-star-helper.h',
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   109
        'csma-star-helper.h',
5781
2557c340ea15 Adding 3 new applications:udp-client, udp-server, udp-trace-client.
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 5776
diff changeset
   110
        'udp-client-server-helper.h',
6028
96fb92f73f3d merge trace helpers, rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6017
diff changeset
   111
        'trace-helper.h',
6111
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6028
diff changeset
   112
        'wimax-helper.h',
6127
b5bc10de166d merge topology read system
Tommaso Pecorella <tpecorella@mac.com>
parents: 6111
diff changeset
   113
        'topology-reader-helper.h',
6349
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
   114
        'waveform-generator-helper.h',
4bab6b10a034 merged spectrum framework
Nicola Baldo <nbaldo@cttc.es>
parents: 6127
diff changeset
   115
        'spectrum-analyzer-helper.h',
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
   116
        ]
3854
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   117
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   118
    env = bld.env_of_name('default')
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   119
    if env['ENABLE_EMU']:
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   120
        helper.source.extend([
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   121
                'emu-helper.cc',
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   122
                ])
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   123
        headers.source.extend([
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   124
                'emu-helper.h',
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   125
                ])
4185
6740cafc08a9 don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents: 4163
diff changeset
   126
    if env['ENABLE_TAP']:
6740cafc08a9 don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents: 4163
diff changeset
   127
        helper.source.extend([
6740cafc08a9 don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents: 4163
diff changeset
   128
                'tap-bridge-helper.cc',
6740cafc08a9 don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents: 4163
diff changeset
   129
                ])
6740cafc08a9 don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents: 4163
diff changeset
   130
        headers.source.extend([
6740cafc08a9 don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents: 4163
diff changeset
   131
                'tap-bridge-helper.h',
6740cafc08a9 don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents: 4163
diff changeset
   132
                ])
3854
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3839
diff changeset
   133
5776
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   134
def configure(conf):
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   135
    conf.check(header_name='sys/socket.h', define_name='HAVE_SYS_SOCKET_H')
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   136
    conf.check(header_name='netinet/in.h', define_name='HAVE_NETINET_IN_H')
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   137
    conf.write_config_header('ns3/net-anim-config.h', top=True)
aae948449722 Moved net-anim from contrib
Josh Pelkey <jpelkey@gatech.edu>
parents: 5708
diff changeset
   138