Files
unison/src/internet-apps/wscript
Tommaso Pecorella 2ef9763ef5 internet-apps: add a test for radvd (checks also on-link addresses)
Update documentation to reflect latest changes
2021-03-19 01:11:00 +00:00

63 lines
1.8 KiB
Python

# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
# def options(opt):
# pass
# def configure(conf):
# conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H')
def build(bld):
module = bld.create_ns3_module('internet-apps', ['internet'])
module.source = [
'model/ping6.cc',
'model/radvd-interface.cc',
'model/radvd-prefix.cc',
'model/radvd.cc',
'model/v4ping.cc',
'model/v4traceroute.cc',
'model/dhcp-header.cc',
'model/dhcp-server.cc',
'model/dhcp-client.cc',
'helper/ping6-helper.cc',
'helper/radvd-helper.cc',
'helper/v4ping-helper.cc',
'helper/v4traceroute-helper.cc',
'helper/dhcp-helper.cc',
]
applications_test = bld.create_ns3_module_test_library('internet-apps')
applications_test.source = [
'test/dhcp-test.cc',
'test/ipv6-radvd-test.cc',
]
# Tests encapsulating example programs should be listed here
if (bld.env['ENABLE_EXAMPLES']):
applications_test.source.extend([
# 'test/internet-apps-examples-test-suite.cc',
])
headers = bld(features='ns3header')
headers.module = 'internet-apps'
headers.source = [
'model/ping6.h',
'model/radvd.h',
'model/radvd-interface.h',
'model/radvd-prefix.h',
'model/v4ping.h',
'model/v4traceroute.h',
'model/dhcp-header.h',
'model/dhcp-server.h',
'model/dhcp-client.h',
'helper/ping6-helper.h',
'helper/v4ping-helper.h',
'helper/v4traceroute-helper.h',
'helper/radvd-helper.h',
'helper/dhcp-helper.h',
]
if (bld.env['ENABLE_EXAMPLES']):
bld.recurse('examples')
bld.ns3_python_bindings()