author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Fri, 22 Oct 2010 17:18:49 +0100 | |
changeset 6631 | 2fd8e12e635d |
parent 5205 | 673aae891b2b |
child 6834 | 036f9a0b9899 |
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): |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
4 |
obj = bld.create_ns3_module('flow-monitor', ['internet-stack']) |
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") |