src/contrib/flow-monitor/wscript
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--
Adapt the flow-monitor module to the new module tree layout spec.

## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-

def build(bld):
    obj = bld.create_ns3_module('flow-monitor', ['internet-stack'])
    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 = ["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")