OLD | NEW |
(Empty) | |
| 1 # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -
*- |
| 2 |
| 3 # def options(opt): |
| 4 # pass |
| 5 |
| 6 # def configure(conf): |
| 7 # conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H') |
| 8 |
| 9 def build(bld): |
| 10 module = bld.create_ns3_module('ltp-protocol', ['core','internet','network']
) |
| 11 module.source = [ |
| 12 'model/ltp-protocol.cc', |
| 13 'model/ltp-header.cc', |
| 14 'model/ltp-queue-set.cc', |
| 15 'model/ltp-session-state-record.cc', |
| 16 'helper/ltp-protocol-helper.cc', |
| 17 ] |
| 18 |
| 19 module_test = bld.create_ns3_module_test_library('ltp-protocol') |
| 20 module_test.source = [ |
| 21 'test/ltp-protocol-test-suite.cc', |
| 22 ] |
| 23 |
| 24 headers = bld(features='ns3header') |
| 25 headers.module = 'ltp-protocol' |
| 26 headers.source = [ |
| 27 'model/ltp-protocol.h', |
| 28 'model/ltp-queue-set.h', |
| 29 'model/ltp-header.h', |
| 30 'model/ltp-session-state-record.h', |
| 31 'model/ltp-session-state-record-impl.h', |
| 32 'helper/ltp-protocol-helper.h', |
| 33 ] |
| 34 |
| 35 if bld.env.ENABLE_EXAMPLES: |
| 36 bld.recurse('examples') |
| 37 |
| 38 # bld.ns3_python_bindings() |
| 39 |
OLD | NEW |