tutorial/wscript
author Craig Dowell <craigdo@ee.washington.edu>
Mon, 08 Oct 2007 20:51:21 -0700
changeset 1841 afa9089bcab4
parent 1838 25d76cec436b
child 1842 a6b327e4b547
permissions -rw-r--r--
support for star network, example in tutorial
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1502
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     2
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     3
def build(bld):
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     4
    obj = bld.create_ns3_program('hello-simulator',
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     5
        ['core'])
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     6
    obj.source = 'hello-simulator.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
     7
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
     8
    obj = bld.create_ns3_program('tutorial-csma-echo',
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
     9
        ['core'])
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
    10
    obj.source = 'tutorial-csma-echo.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    11
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
    12
    obj = bld.create_ns3_program('tutorial-csma-echo-ascii-trace',
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    13
        ['core'])
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
    14
    obj.source = 'tutorial-csma-echo-ascii-trace.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    15
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
    16
    obj = bld.create_ns3_program('tutorial-csma-echo-pcap-trace',
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    17
        ['core'])
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
    18
    obj.source = 'tutorial-csma-echo-pcap-trace.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    19
1841
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    20
    obj = bld.create_ns3_program('tutorial-point-to-point',
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    21
        ['core'])
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    22
    obj.source = 'tutorial-point-to-point.cc'
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    23
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    24
    obj = bld.create_ns3_program('tutorial-star',
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    25
        ['core'])
1841
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    26
    obj.source = 'tutorial-star.cc'
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    27
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    28
    obj = bld.create_ns3_program('tutorial-linear-dumbbell',
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    29
        ['core'])
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    30
    obj.source = 'tutorial-linear-dumbbell.cc'
1835
ccd0fc4d9bf8 prototype address and network allocation
Craig Dowell <craigdo@ee.washington.edu>
parents: 1539
diff changeset
    31
ccd0fc4d9bf8 prototype address and network allocation
Craig Dowell <craigdo@ee.washington.edu>
parents: 1539
diff changeset
    32
    obj = bld.create_ns3_program('testipv4',
ccd0fc4d9bf8 prototype address and network allocation
Craig Dowell <craigdo@ee.washington.edu>
parents: 1539
diff changeset
    33
        ['core'])
1838
25d76cec436b more descriptive name
Craig Dowell <craigdo@ee.washington.edu>
parents: 1835
diff changeset
    34
    obj.source = ['testipv4.cc', 'ipv4-address-generator.cc']