Special thanks to: - Radu Lupu <rlupu@elcom.pub.ro> - Ankit Deepak <adadeepak8@gmail.com> - Deepti Rajagopal <deeptir96@gmail.com> - Mohit P. Tahiliani <tahiliani.nitk@gmail.com>
53 lines
1.4 KiB
Python
53 lines
1.4 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/dhcp-header.cc',
|
|
'model/dhcp-server.cc',
|
|
'model/dhcp-client.cc',
|
|
'helper/ping6-helper.cc',
|
|
'helper/radvd-helper.cc',
|
|
'helper/v4ping-helper.cc',
|
|
'helper/dhcp-helper.cc',
|
|
]
|
|
|
|
applications_test = bld.create_ns3_module_test_library('internet-apps')
|
|
applications_test.source = [
|
|
'test/dhcp-test.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/dhcp-header.h',
|
|
'model/dhcp-server.h',
|
|
'model/dhcp-client.h',
|
|
'helper/ping6-helper.h',
|
|
'helper/v4ping-helper.h',
|
|
'helper/radvd-helper.h',
|
|
'helper/dhcp-helper.h',
|
|
]
|
|
|
|
if (bld.env['ENABLE_EXAMPLES']):
|
|
bld.recurse('examples')
|
|
|
|
bld.ns3_python_bindings()
|
|
|