src/mobility/wscript
author Tom Henderson <tomh@tomh.org>
Mon, 04 Jan 2016 14:11:51 -0800
changeset 11800 bd9c9abd5d6e
parent 11284 63c62abdd7ba
permissions -rw-r--r--
merge to ns-3-dev@11799:f410a3b3825b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
968
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     2
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     3
def build(bld):
6839
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
     4
    mobility = bld.create_ns3_module('mobility', ['network'])
968
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     5
    mobility.source = [
6839
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
     6
        'model/box.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
     7
        'model/constant-acceleration-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
     8
        'model/constant-position-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
     9
        'model/constant-velocity-helper.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    10
        'model/constant-velocity-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    11
        'model/gauss-markov-mobility-model.cc',
11284
63c62abdd7ba GeographicPositions class for coordinate conversion
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents: 10900
diff changeset
    12
        'model/geographic-positions.cc',
6839
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    13
        'model/hierarchical-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    14
        'model/mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    15
        'model/position-allocator.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    16
        'model/random-direction-2d-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    17
        'model/random-walk-2d-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    18
        'model/random-waypoint-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    19
        'model/rectangle.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    20
        'model/steady-state-random-waypoint-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    21
        'model/waypoint.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    22
        'model/waypoint-mobility-model.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    23
        'helper/mobility-helper.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    24
        'helper/ns2-mobility-helper.cc',
6949
8167c9e2a12d Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6893
diff changeset
    25
        ]
8167c9e2a12d Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6893
diff changeset
    26
8167c9e2a12d Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6893
diff changeset
    27
    mobility_test = bld.create_ns3_module_test_library('mobility')
8167c9e2a12d Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents: 6893
diff changeset
    28
    mobility_test.source = [
10900
99de02204565 Move some tests from src/test to appropriate places
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9277
diff changeset
    29
        'test/mobility-test-suite.cc',
9099
8009389af158 Bug 976
Mitch Watrous <watrous@u.washington.edu>
parents: 8253
diff changeset
    30
        'test/mobility-trace-test-suite.cc',
7007
4010b8f3872c Move tests from mobility module to its test library
Mitch Watrous <watrous@u.washington.edu>
parents: 6949
diff changeset
    31
        'test/ns2-mobility-helper-test-suite.cc',
6839
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    32
        'test/steady-state-random-waypoint-mobility-model-test.cc',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    33
        'test/waypoint-mobility-model-test.cc',
11284
63c62abdd7ba GeographicPositions class for coordinate conversion
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents: 10900
diff changeset
    34
        'test/geo-to-cartesian-test.cc',
63c62abdd7ba GeographicPositions class for coordinate conversion
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents: 10900
diff changeset
    35
        'test/rand-cart-around-geo-test.cc',
968
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    36
        ]
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    37
9277
0f87d1cb030c Upgrade waf to 1.7.10 and fix included wscripts
Vedran Mileti? <rivanvx@gmail.com>
parents: 9099
diff changeset
    38
    headers = bld(features='ns3header')
2609
931d59bb1303 Add a 'module' attribute to the ns3header object specifying which module each set of headers belongs to.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 2603
diff changeset
    39
    headers.module = 'mobility'
968
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    40
    headers.source = [
6839
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    41
        'model/box.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    42
        'model/constant-acceleration-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    43
        'model/constant-position-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    44
        'model/constant-velocity-helper.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    45
        'model/constant-velocity-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    46
        'model/gauss-markov-mobility-model.h',
11284
63c62abdd7ba GeographicPositions class for coordinate conversion
Benjamin Cizdziel <ben.cizdziel@gmail.com>
parents: 10900
diff changeset
    47
        'model/geographic-positions.h',
6839
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    48
        'model/hierarchical-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    49
        'model/mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    50
        'model/position-allocator.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    51
        'model/rectangle.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    52
        'model/random-direction-2d-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    53
        'model/random-walk-2d-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    54
        'model/random-waypoint-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    55
        'model/steady-state-random-waypoint-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    56
        'model/waypoint.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    57
        'model/waypoint-mobility-model.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    58
        'helper/mobility-helper.h',
34074e4ed93b mobility module to new directory structure
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    59
        'helper/ns2-mobility-helper.h',
968
70d02500c9d5 mobility models
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    60
        ]
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6839
diff changeset
    61
7028
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7007
diff changeset
    62
    if (bld.env['ENABLE_EXAMPLES']):
9277
0f87d1cb030c Upgrade waf to 1.7.10 and fix included wscripts
Vedran Mileti? <rivanvx@gmail.com>
parents: 9099
diff changeset
    63
        bld.recurse('examples')
7028
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7007
diff changeset
    64
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6839
diff changeset
    65
    bld.ns3_python_bindings()