2008-07-04 15:39:24 +01:00
|
|
|
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
2011-02-21 09:11:37 -08:00
|
|
|
obj = bld.create_ns3_module('bridge', ['network'])
|
2008-07-04 15:39:24 +01:00
|
|
|
obj.source = [
|
2010-10-25 15:00:28 +01:00
|
|
|
'model/bridge-net-device.cc',
|
|
|
|
|
'model/bridge-channel.cc',
|
|
|
|
|
'helper/bridge-helper.cc',
|
2008-07-04 15:39:24 +01:00
|
|
|
]
|
2011-09-08 16:13:40 +01:00
|
|
|
headers = bld.new_task_gen(features=['ns3header'])
|
2008-07-04 15:39:24 +01:00
|
|
|
headers.module = 'bridge'
|
|
|
|
|
headers.source = [
|
2010-10-25 15:00:28 +01:00
|
|
|
'model/bridge-net-device.h',
|
|
|
|
|
'model/bridge-channel.h',
|
|
|
|
|
'helper/bridge-helper.h',
|
2008-07-04 15:39:24 +01:00
|
|
|
]
|
2010-10-25 15:00:28 +01:00
|
|
|
|
|
|
|
|
if bld.env['ENABLE_EXAMPLES']:
|
|
|
|
|
bld.add_subdirs('examples')
|
2011-03-12 18:34:30 +00:00
|
|
|
|
|
|
|
|
bld.ns3_python_bindings()
|