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

def build(bld):
        
    obj = bld.create_ns3_program('mixed-wireless',
        ['core', 'simulator', 'mobility', 'wifi', 'point-to-point', 'internet-node'])
    obj.source = 'mixed-wireless.cc'

    obj = bld.create_ns3_program('simple-global-routing',
        ['point-to-point', 'internet-node', 'global-routing'])
    obj.source = 'simple-global-routing.cc'

    obj = bld.create_ns3_program('simple-alternate-routing',
        ['point-to-point', 'internet-node', 'global-routing'])
    obj.source = 'simple-alternate-routing.cc'

    obj = bld.create_ns3_program('simple-error-model',
        ['point-to-point', 'internet-node'])
    obj.source = 'simple-error-model.cc'

    obj = bld.create_ns3_program('csma-one-subnet',
        ['csma', 'internet-node'])
    obj.source = 'csma-one-subnet.cc'

    obj = bld.create_ns3_program('udp-echo',
        ['csma', 'internet-node'])
    obj.source = 'udp-echo.cc'

    obj = bld.create_ns3_program('csma-broadcast',
        ['csma', 'internet-node'])
    obj.source = 'csma-broadcast.cc'

    obj = bld.create_ns3_program('csma-packet-socket',
        ['csma', 'internet-node'])
    obj.source = 'csma-packet-socket.cc'

    obj = bld.create_ns3_program('csma-multicast',
        ['csma', 'internet-node'])
    obj.source = 'csma-multicast.cc'

    obj = bld.create_ns3_program( 'mixed-global-routing',
        ['point-to-point', 'internet-node', 'global-routing' , 'csma-cd'])
    obj.source = 'mixed-global-routing.cc'

    obj = bld.create_ns3_program('simple-point-to-point-olsr',
        ['point-to-point', 'internet-node', 'olsr'])
    obj.source = 'simple-point-to-point-olsr.cc'

    obj = bld.create_ns3_program('tcp-large-transfer',
        ['point-to-point', 'internet-node'])
    obj.source = 'tcp-large-transfer.cc'

    obj = bld.create_ns3_program('wifi-adhoc',
                                 ['core', 'simulator', 'mobility', 'wifi'])
    obj.source = 'wifi-adhoc.cc'

    obj = bld.create_ns3_program('wifi-ap',
                                 ['core', 'simulator', 'mobility', 'wifi'])
    obj.source = 'wifi-ap.cc'

