src/dsdv/wscript
author Tom Henderson <tomh@tomh.org>
Thu, 05 Feb 2015 13:02:44 -0800
changeset 11214 103f62fc7d58
parent 10825 798057a32954
permissions -rw-r--r--
small edits on previous commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6717
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     2
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     3
def build(bld):
10825
798057a32954 Bug 1941 - [cont.] Remove unnecessary dependency on Application module in other modules
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9277
diff changeset
     4
    module = bld.create_ns3_module('dsdv', ['internet'])
6717
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     5
    module.includes = '.'
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     6
    module.source = [
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     7
        'model/dsdv-rtable.cc',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     8
        'model/dsdv-packet-queue.cc',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
     9
        'model/dsdv-packet.cc',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    10
        'model/dsdv-routing-protocol.cc',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    11
        'helper/dsdv-helper.cc',
6947
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    12
        ]
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    13
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    14
    module_test = bld.create_ns3_module_test_library('dsdv')
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    15
    module_test.source = [
6717
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    16
        'test/dsdv-testcase.cc',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    17
        ]
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    18
9277
0f87d1cb030c Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents: 7487
diff changeset
    19
    headers = bld(features='ns3header')
6717
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    20
    headers.module = 'dsdv'
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    21
    headers.source = [
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    22
        'model/dsdv-rtable.h',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    23
        'model/dsdv-packet-queue.h',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    24
        'model/dsdv-packet.h',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    25
        'model/dsdv-routing-protocol.h',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    26
        'helper/dsdv-helper.h',
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    27
        ]
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents:
diff changeset
    28
    if (bld.env['ENABLE_EXAMPLES']):
9277
0f87d1cb030c Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents: 7487
diff changeset
    29
      bld.recurse('examples')
6932
3b497f4f6ad9 Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6873
diff changeset
    30
3b497f4f6ad9 Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6873
diff changeset
    31
    bld.ns3_python_bindings()