2011-04-26 15:18:32 -07:00
|
|
|
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
2014-06-28 12:35:08 +02:00
|
|
|
obj = bld.create_ns3_module('csma-layout', ['csma', 'network', 'internet'])
|
2011-04-26 15:18:32 -07:00
|
|
|
obj.source = [
|
|
|
|
|
'model/csma-star-helper.cc',
|
|
|
|
|
]
|
2013-04-01 22:33:46 +02:00
|
|
|
headers = bld(features='ns3header')
|
2011-04-26 15:18:32 -07:00
|
|
|
headers.module = 'csma-layout'
|
|
|
|
|
headers.source = [
|
|
|
|
|
'model/csma-star-helper.h',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if bld.env['ENABLE_EXAMPLES']:
|
2013-04-01 22:33:46 +02:00
|
|
|
bld.recurse('examples')
|
2011-04-26 15:18:32 -07:00
|
|
|
|
2012-05-01 11:56:16 -07:00
|
|
|
bld.ns3_python_bindings()
|
2011-04-26 15:18:32 -07:00
|
|
|
|