-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwscript
65 lines (57 loc) · 2.03 KB
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
# def options(opt):
# pass
# def configure(conf):
# conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H')
def build(bld):
module = bld.create_ns3_module('weep', ['core', 'flow-monitor', 'internet', 'wifi'])
module.includes = '.'
module.source = [
'model/packet-tags.cc',
'model/aodv-weep-id-cache.cc',
'model/aodv-weep-dpd.cc',
'model/aodv-weep-rtable.cc',
'model/aodv-weep-sendbuffer.cc',
'model/aodv-weep-packet.cc',
'model/aodv-queue.cc',
'model/aodv-weep-neighbor.cc',
'model/aodv-weep-routing-protocol.cc',
'model/aodv-weep-scheduler.cc',
'model/aodv-fcfs-scheduler.cc',
'model/aodv-sjf-scheduler.cc',
'model/aodv-smf-scheduler.cc',
'helper/aodv-weep-helper.cc',
'helper/weep-helper.cc',
]
module_test = bld.create_ns3_module_test_library('weep')
module_test.source = [
'test/weep-test-suite.cc',
]
# Tests encapsulating example programs should be listed here
if (bld.env['ENABLE_EXAMPLES']):
module_test.source.extend([
# 'test/weep-examples-test-suite.cc',
])
headers = bld(features='ns3header')
headers.module = 'weep'
headers.source = [
'model/packet-tags.h',
'model/packet-scheduler-base.h',
'model/aodv-weep-id-cache.h',
'model/aodv-weep-dpd.h',
'model/aodv-weep-rtable.h',
'model/aodv-weep-sendbuffer.h',
'model/aodv-weep-packet.h',
'model/aodv-queue.h',
'model/aodv-weep-neighbor.h',
'model/aodv-weep-routing-protocol.h',
'model/aodv-weep-scheduler.h',
'model/aodv-fcfs-scheduler.h',
'model/aodv-sjf-scheduler.h',
'model/aodv-smf-scheduler.h',
'helper/aodv-weep-helper.h',
'helper/weep-helper.h',
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
# bld.ns3_python_bindings()