-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwscript
71 lines (62 loc) · 2.22 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
65
66
67
68
69
70
# -*- 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')
# changes @ Nov2021, R. Olusegun Alli-Oke.
def build(bld):
module = bld.create_ns3_module('traffic-control', ['core', 'network'])
module.source = [
'model/traffic-control-layer.cc',
'model/packet-filter.cc',
'model/queue-disc.cc',
'model/pfifo-fast-queue-disc.cc',
'model/fifo-queue-disc.cc',
'model/red-queue-disc.cc',
'model/codel-queue-disc.cc',
'model/fq-codel-queue-disc.cc',
'model/pie-queue-disc.cc',
'model/pid-queue-disc.cc',
'model/prio-queue-disc.cc',
'model/mq-queue-disc.cc',
'model/tbf-queue-disc.cc',
'model/cobalt-queue-disc.cc',
'helper/traffic-control-helper.cc',
'helper/queue-disc-container.cc'
]
module_test = bld.create_ns3_module_test_library('traffic-control')
module_test.source = [
'test/red-queue-disc-test-suite.cc',
'test/codel-queue-disc-test-suite.cc',
'test/adaptive-red-queue-disc-test-suite.cc',
'test/pie-queue-disc-test-suite.cc',
'test/fifo-queue-disc-test-suite.cc',
'test/prio-queue-disc-test-suite.cc',
'test/queue-disc-traces-test-suite.cc',
'test/tbf-queue-disc-test-suite.cc',
'test/tc-flow-control-test-suite.cc',
'test/cobalt-queue-disc-test-suite.cc'
]
headers = bld(features='ns3header')
headers.module = 'traffic-control'
headers.source = [
'model/traffic-control-layer.h',
'model/packet-filter.h',
'model/queue-disc.h',
'model/pfifo-fast-queue-disc.h',
'model/fifo-queue-disc.h',
'model/red-queue-disc.h',
'model/codel-queue-disc.h',
'model/fq-codel-queue-disc.h',
'model/pie-queue-disc.h',
'model/pid-queue-disc.h',
'model/prio-queue-disc.h',
'model/mq-queue-disc.h',
'model/tbf-queue-disc.h',
'model/cobalt-queue-disc.h',
'helper/traffic-control-helper.h',
'helper/queue-disc-container.h'
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
bld.ns3_python_bindings()