46 lines
1.5 KiB
Python
46 lines
1.5 KiB
Python
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
|
|
def build(bld):
|
|
helper = bld.create_ns3_module('helper', ['internet-node', 'wifi', 'point-to-point', 'csma', 'olsr', 'global-routing', 'onoff', 'packet-sink', 'udp-echo'])
|
|
helper.source = [
|
|
'node-container.cc',
|
|
'net-device-container.cc',
|
|
'wifi-helper.cc',
|
|
'olsr-helper.cc',
|
|
'static-multicast-route-helper.cc',
|
|
'point-to-point-helper.cc',
|
|
'csma-helper.cc',
|
|
'mobility-helper.cc',
|
|
'ns2-mobility-helper.cc',
|
|
'ipv4-address-helper.cc',
|
|
'internet-stack-helper.cc',
|
|
'application-container.cc',
|
|
'on-off-helper.cc',
|
|
'packet-sink-helper.cc',
|
|
'packet-socket-helper.cc',
|
|
'ipv4-interface-container.cc',
|
|
'udp-echo-helper.cc',
|
|
]
|
|
|
|
headers = bld.create_obj('ns3header')
|
|
headers.module = 'helper'
|
|
headers.source = [
|
|
'node-container.h',
|
|
'net-device-container.h',
|
|
'wifi-helper.h',
|
|
'olsr-helper.h',
|
|
'static-multicast-route-helper.h',
|
|
'point-to-point-helper.h',
|
|
'csma-helper.h',
|
|
'mobility-helper.h',
|
|
'ns2-mobility-helper.h',
|
|
'ipv4-address-helper.h',
|
|
'internet-stack-helper.h',
|
|
'application-container.h',
|
|
'on-off-helper.h',
|
|
'packet-sink-helper.h',
|
|
'packet-socket-helper.h',
|
|
'ipv4-interface-container.h',
|
|
'udp-echo-helper.h',
|
|
]
|