Adapt the flow-monitor module to the new module tree layout spec.

This commit is contained in:
Gustavo J. A. M. Carneiro
2010-10-22 17:18:49 +01:00
parent 2c3abc0bac
commit 58a17e5fae
21 changed files with 8 additions and 13 deletions

View File

@@ -1 +0,0 @@
exec "`dirname "$0"`"/../../waf "$@"

View File

@@ -1,4 +0,0 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
pass

View File

@@ -20,7 +20,7 @@
#ifndef FLOW_MONITOR_HELPER_H
#define FLOW_MONITOR_HELPER_H
#include "node-container.h"
#include "ns3/node-container.h"
#include "ns3/object-factory.h"
#include "ns3/flow-monitor.h"
#include "ns3/flow-classifier.h"

View File

@@ -2,22 +2,24 @@
def build(bld):
obj = bld.create_ns3_module('flow-monitor', ['internet-stack'])
obj.source = [
obj.source = ["model/%s" % s for s in [
'flow-monitor.cc',
'flow-classifier.cc',
'flow-probe.cc',
'ipv4-flow-classifier.cc',
'ipv4-flow-probe.cc',
'histogram.cc',
]
]]
obj.source.append("helper/flow-monitor-helper.cc")
headers = bld.new_task_gen('ns3header')
headers.module = 'flow-monitor'
headers.source = [
headers.source = ["model/%s" % s for s in [
'flow-monitor.h',
'flow-probe.h',
'flow-classifier.h',
'ipv4-flow-classifier.h',
'ipv4-flow-probe.h',
'histogram.h',
]
]]
headers.source.append("helper/flow-monitor-helper.h")

View File

@@ -42,7 +42,6 @@ def build(bld):
'ipv6-list-routing-helper.cc',
'ipv6-routing-helper.cc',
'ping6-helper.cc',
'flow-monitor-helper.cc',
'animation-interface.cc',
'canvas-location.cc',
'point-to-point-dumbbell-helper.cc',
@@ -100,7 +99,6 @@ def build(bld):
'ipv6-list-routing-helper.h',
'ipv6-routing-helper.h',
'ping6-helper.h',
'flow-monitor-helper.h',
'animation-interface.h',
'canvas-location.h',
'point-to-point-dumbbell-helper.h',