src/nix-vector-routing/wscript
author Lalith Suresh <suresh.lalith@gmail.com>
Fri, 04 Mar 2011 01:26:54 +0000
changeset 6852 8f1a53d3f6ca
parent 6844 src/routing/nix-vector-routing/wscript@60cb2b005559
child 6932 3b497f4f6ad9
permissions -rw-r--r--
Moves devices/* and routing/* to src/

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

def build(bld):
    module = bld.create_ns3_module('nix-vector-routing', ['internet'])
    module.includes = '.'
    module.source = [
        'model/ipv4-nix-vector-routing.cc',
	'helper/ipv4-nix-vector-helper.cc',
        ]

    headers = bld.new_task_gen('ns3header')
    headers.module = 'nix-vector-routing'
    headers.source = [
        'model/ipv4-nix-vector-routing.h',
	'helper/ipv4-nix-vector-helper.h',
        ]

    if bld.env['ENABLE_EXAMPLES']:
        bld.add_subdirs('examples')