19 lines
491 B
Python
19 lines
491 B
Python
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
|
|
def build(bld):
|
|
obj = bld.create_ns3_module('csma-layout', ['csma', 'network', 'internet'])
|
|
obj.source = [
|
|
'model/csma-star-helper.cc',
|
|
]
|
|
headers = bld(features='ns3header')
|
|
headers.module = 'csma-layout'
|
|
headers.source = [
|
|
'model/csma-star-helper.h',
|
|
]
|
|
|
|
if bld.env['ENABLE_EXAMPLES']:
|
|
bld.recurse('examples')
|
|
|
|
bld.ns3_python_bindings()
|
|
|