author | Mitch Watrous <watrous@u.washington.edu> |
Fri, 25 Mar 2011 12:55:27 -0700 | |
changeset 6952 | 91a77c7f3bb2 |
parent 6948 | 22b853d6334b |
child 7094 | f0748224dd68 |
permissions | -rw-r--r-- |
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): |
6948
22b853d6334b
Fix dependencies list for flow-monitor module
Mitch Watrous <watrous@u.washington.edu>
parents:
6941
diff
changeset
|
4 |
obj = bld.create_ns3_module('flow-monitor', ['internet', '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 |
|
6952
91a77c7f3bb2
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6948
diff
changeset
|
15 |
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
|
16 |
module_test.source = [ |
91a77c7f3bb2
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6948
diff
changeset
|
17 |
'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
|
18 |
] |
91a77c7f3bb2
Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents:
6948
diff
changeset
|
19 |
|
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
20 |
headers = bld.new_task_gen('ns3header') |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
21 |
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
|
22 |
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
|
23 |
'flow-monitor.h', |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
24 |
'flow-probe.h', |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
25 |
'flow-classifier.h', |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
26 |
'ipv4-flow-classifier.h', |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
27 |
'ipv4-flow-probe.h', |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
28 |
'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
|
29 |
]] |
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
|
30 |
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
|
31 |
|
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
|
32 |
bld.ns3_python_bindings() |