src/flow-monitor/wscript
author Mitch Watrous <watrous@u.washington.edu>
Thu, 24 Mar 2011 09:23:44 -0700
changeset 6941 9d2c79c992d7
parent 6939 9fe35f79fd8f
child 6948 22b853d6334b
permissions -rw-r--r--
Split contrib module into config-store and tools
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):
6941
9d2c79c992d7 Split contrib module into config-store and tools
Mitch Watrous <watrous@u.washington.edu>
parents: 6939
diff changeset
     4
    obj = bld.create_ns3_module('flow-monitor', ['network', 'config-store', 'tools'])
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',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    11
       '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
    12
        ]]
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
    13
    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
    14
5205
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    15
    headers = bld.new_task_gen('ns3header')
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    16
    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
    17
    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
    18
       'flow-monitor.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    19
       'flow-probe.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    20
       'flow-classifier.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    21
       'ipv4-flow-classifier.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    22
       'ipv4-flow-probe.h',
673aae891b2b Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    23
       '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
    24
        ]]
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
    25
    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
    26
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
    27
    bld.ns3_python_bindings()