src/aodv/wscript
author Mitch Watrous <watrous@u.washington.edu>
Fri, 25 Mar 2011 12:55:27 -0700
changeset 6952 91a77c7f3bb2
parent 6947 a4acf45d3dc9
child 7487 82cd20da9650
permissions -rw-r--r--
Move tests from some modules to their test libraries
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5536
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
     2
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
     3
def build(bld):
6871
56a1da6bac51 fix a few more wscripts
Tom Henderson <tomh@tomh.org>
parents: 6852
diff changeset
     4
    module = bld.create_ns3_module('aodv', ['internet', 'wifi', 'applications', 'mesh', 'point-to-point', 'virtual-net-device'])
5536
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
     5
    module.includes = '.'
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
     6
    module.source = [
6841
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
     7
        'model/aodv-id-cache.cc',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
     8
        'model/aodv-dpd.cc',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
     9
        'model/aodv-rtable.cc',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    10
        'model/aodv-rqueue.cc',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    11
        'model/aodv-packet.cc',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    12
        'model/aodv-neighbor.cc',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    13
        'model/aodv-routing-protocol.cc',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    14
	'helper/aodv-helper.cc',
6947
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    15
        ]
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    16
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    17
    aodv_test = bld.create_ns3_module_test_library('aodv')
a4acf45d3dc9 Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6932
diff changeset
    18
    aodv_test.source = [
6952
91a77c7f3bb2 Move tests from some modules to their test libraries
Mitch Watrous <watrous@u.washington.edu>
parents: 6947
diff changeset
    19
        'test/aodv-id-cache-test-suite.cc',
6841
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    20
        'test/aodv-test-suite.cc',
5726
8776c223c36c [aodv] Broken chain ping regression added (without reference traces yet)
Pavel Boyko <boyko@iitp.ru>
parents: 5719
diff changeset
    21
        'test/aodv-regression.cc',
6088
f711b7176958 AODV bugs 772 and 777 fixed
Pavel Boyko <boyko@iitp.ru>
parents: 5749
diff changeset
    22
        'test/bug-772.cc',
f711b7176958 AODV bugs 772 and 777 fixed
Pavel Boyko <boyko@iitp.ru>
parents: 5749
diff changeset
    23
        'test/loopback.cc',
5536
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
    24
        ]
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
    25
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
    26
    headers = bld.new_task_gen('ns3header')
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
    27
    headers.module = 'aodv'
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
    28
    headers.source = [
6841
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    29
        'model/aodv-id-cache.h',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    30
        'model/aodv-dpd.h',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    31
        'model/aodv-rtable.h',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    32
        'model/aodv-rqueue.h',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    33
        'model/aodv-packet.h',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    34
        'model/aodv-neighbor.h',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    35
        'model/aodv-routing-protocol.h',
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    36
        'helper/aodv-helper.h',
5536
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
    37
        ]
4001820dde7a wscript added
Pavel Boyko <boyko@iitp.ru>
parents:
diff changeset
    38
6841
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    39
    if bld.env['ENABLE_EXAMPLES']:
174e599d1003 modularize nix and aodv, thanks lalith
Josh Pelkey <jpelkey@gatech.edu>
parents: 6834
diff changeset
    40
        bld.add_subdirs('examples')
6932
3b497f4f6ad9 Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6871
diff changeset
    41
3b497f4f6ad9 Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6871
diff changeset
    42
    bld.ns3_python_bindings()