Ilya Moiseenko | 1762af7 | 2011-07-18 16:43:10 -0700 | [diff] [blame^] | 1 | ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | |
| 3 | def build(bld): |
| 4 | module = bld.create_ns3_module('NDNabstraction', ['internet', 'config-store', 'tools', 'point-to-point', 'wifi', 'mobility', 'applications', 'csma']) |
| 5 | module.includes = '.' |
| 6 | module.source = [ |
| 7 | 'model/ndnabstraction-header.c', |
| 8 | 'helper/ndnabstraction-helper.c', |
| 9 | ] |
| 10 | |
| 11 | module_test = bld.create_ns3_module_test_library('NDNabstraction') |
| 12 | module_test.source = [ |
| 13 | 'test/ndnabstraction-basictest.c', |
| 14 | ] |
| 15 | |
| 16 | headers = bld.new_task_gen('ns3header') |
| 17 | headers.module = 'NDNabstraction' |
| 18 | headers.source = [ |
| 19 | 'model/ndnabstraction-header.h', |
| 20 | 'helper/ndnabstraction-helper.h', |
| 21 | ] |
| 22 | |
| 23 | |
| 24 | if bld.env['ENABLE_EXAMPLES']: |
| 25 | bld.add_subdirs('examples') |
| 26 | |
| 27 | #bld.ns3_python_bindings() |