Files
unison/src/olsr/wscript
Gustavo J. A. M. Carneiro 259cf3703b Add OLSR modular bindings
2011-03-20 15:17:09 +00:00

32 lines
959 B
Python

## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('olsr', ['internet', 'contrib', 'point-to-point', 'wifi', 'mobility', 'applications', 'csma'])
module.includes = '.'
module.source = [
'model/olsr-header.cc',
'model/olsr-state.cc',
'model/olsr-routing-protocol.cc',
'helper/olsr-helper.cc',
'test/regression-test-suite.cc',
'test/hello-regression-test.cc',
'test/tc-regression-test.cc',
'test/bug780-test.cc',
]
headers = bld.new_task_gen('ns3header')
headers.module = 'olsr'
headers.source = [
'model/olsr-routing-protocol.h',
'model/olsr-header.h',
'model/olsr-state.h',
'model/olsr-repositories.h',
'helper/olsr-helper.h',
]
if bld.env['ENABLE_EXAMPLES']:
bld.add_subdirs('examples')
bld.ns3_python_bindings()