src/flow-monitor/wscript
author Tom Henderson <tomh@tomh.org>
Mon, 28 Sep 2015 20:27:25 -0700
changeset 11676 05ea1489e509
parent 10692 bdf59f5ace93
permissions -rw-r--r--
bug 2184: Integer overflow in MacLow
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5205
673aae891b2b Add a new 'flow-monitor' module.
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; -*-
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     2
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     3
def build(bld):
9843
ea6ed35dd7b2 move average.h from tools to stats module
Tom Henderson <tomh@tomh.org>
parents: 9277
diff changeset
     4
    obj = bld.create_ns3_module('flow-monitor', ['internet', 'config-store'])
6631
2fd8e12e635d Adapt the flow-monitor module to the new module tree layout spec.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5205
diff changeset
     5
    obj.source = ["model/%s" % s for s in [
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     6
       'flow-monitor.cc',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     7
       'flow-classifier.cc',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     8
       'flow-probe.cc',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     9
       'ipv4-flow-classifier.cc',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    10
       'ipv4-flow-probe.cc',
10692
bdf59f5ace93 Bug 1818: FlowMonitor needs IPv6 support
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9843
diff changeset
    11
       'ipv6-flow-classifier.cc',
bdf59f5ace93 Bug 1818: FlowMonitor needs IPv6 support
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9843
diff changeset
    12
       'ipv6-flow-probe.cc',
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    13
       'histogram.cc',	
6631
2fd8e12e635d Adapt the flow-monitor module to the new module tree layout spec.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5205
diff changeset
    14
        ]]
2fd8e12e635d Adapt the flow-monitor module to the new module tree layout spec.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5205
diff changeset
    15
    obj.source.append("helper/flow-monitor-helper.cc")
2fd8e12e635d Adapt the flow-monitor module to the new module tree layout spec.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5205
diff changeset
    16
6952
91a77c7f3bb2 Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents: 6948
diff changeset
    17
    module_test = bld.create_ns3_module_test_library('flow-monitor')
91a77c7f3bb2 Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents: 6948
diff changeset
    18
    module_test.source = [
91a77c7f3bb2 Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents: 6948
diff changeset
    19
        'test/histogram-test-suite.cc',
91a77c7f3bb2 Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents: 6948
diff changeset
    20
        ]
91a77c7f3bb2 Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents: 6948
diff changeset
    21
9277
0f87d1cb030c Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents: 7487
diff changeset
    22
    headers = bld(features='ns3header')
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    23
    headers.module = 'flow-monitor'
6631
2fd8e12e635d Adapt the flow-monitor module to the new module tree layout spec.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5205
diff changeset
    24
    headers.source = ["model/%s" % s for s in [
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    25
       'flow-monitor.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    26
       'flow-probe.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    27
       'flow-classifier.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    28
       'ipv4-flow-classifier.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    29
       'ipv4-flow-probe.h',
10692
bdf59f5ace93 Bug 1818: FlowMonitor needs IPv6 support
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9843
diff changeset
    30
       'ipv6-flow-classifier.h',
bdf59f5ace93 Bug 1818: FlowMonitor needs IPv6 support
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9843
diff changeset
    31
       'ipv6-flow-probe.h',
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    32
       'histogram.h',
6631
2fd8e12e635d Adapt the flow-monitor module to the new module tree layout spec.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5205
diff changeset
    33
        ]]
2fd8e12e635d Adapt the flow-monitor module to the new module tree layout spec.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5205
diff changeset
    34
    headers.source.append("helper/flow-monitor-helper.h")
6905
355d6562399e Modular bindings: scan the applications, contrib, mpi, flow-monitor, and point-to-point modules.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6883
diff changeset
    35
7094
f0748224dd68 Write a status file during waf build step
Mitch Watrous <watrous@u.washington.edu>
parents: 6952
diff changeset
    36
    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
    37
        bld.recurse('examples')
7094
f0748224dd68 Write a status file during waf build step
Mitch Watrous <watrous@u.washington.edu>
parents: 6952
diff changeset
    38
6905
355d6562399e Modular bindings: scan the applications, contrib, mpi, flow-monitor, and point-to-point modules.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6883
diff changeset
    39
    bld.ns3_python_bindings()