LEFT | RIGHT |
1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8;
-*- | 1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8;
-*- |
2 | 2 |
3 import os, os.path | 3 import os, os.path |
4 import shutil | 4 import shutil |
5 import types | 5 import types |
6 import warnings | 6 import warnings |
7 | 7 |
8 import TaskGen | 8 import TaskGen |
9 import Task | 9 import Task |
10 import Options | 10 import Options |
11 import Build | 11 import Build |
12 import Utils | 12 import Utils |
13 import Constants | 13 import Constants |
14 | 14 |
15 try: | 15 try: |
16 set | 16 set |
17 except NameError: | 17 except NameError: |
18 from sets import Set as set # Python 2.3 fallback | 18 from sets import Set as set # Python 2.3 fallback |
19 | 19 |
20 all_modules = ( | 20 all_modules = ( |
21 'core', | 21 'core', |
22 'common', | 22 'common', |
23 'simulator', | 23 'simulator', |
24 'contrib', | 24 'contrib', |
25 'node', | 25 'node', |
26 'internet-stack', | 26 'internet-stack', |
| 27 'propagation', |
27 'devices/point-to-point', | 28 'devices/point-to-point', |
28 'devices/csma', | 29 'devices/csma', |
29 'devices/emu', | 30 'devices/emu', |
30 'devices/bridge', | 31 'devices/bridge', |
31 'devices/tap-bridge', | 32 'devices/tap-bridge', |
32 'devices/virtual-net-device', | 33 'devices/virtual-net-device', |
33 'applications/onoff', | 34 'applications/onoff', |
34 'applications/packet-sink', | 35 'applications/packet-sink', |
35 'applications/udp-echo', | 36 'applications/udp-echo', |
36 'applications/bulk-send', | 37 'applications/bulk-send', |
37 'routing/click', | 38 'routing/click', |
38 'routing/nix-vector-routing', | 39 'routing/nix-vector-routing', |
39 'routing/olsr', | 40 'routing/olsr', |
40 'routing/global-routing', | 41 'routing/global-routing', |
41 'routing/static-routing', | 42 'routing/static-routing', |
42 'routing/list-routing', | 43 'routing/list-routing', |
43 'routing/aodv', | 44 'routing/aodv', |
44 'routing/dsdv', | 45 'routing/dsdv', |
45 'mobility', | 46 'mobility', |
46 'devices/wifi', | 47 'devices/wifi', |
47 'helper', | 48 'helper', |
48 'contrib/stats', | 49 'contrib/stats', |
49 'applications/v4ping', | 50 'applications/v4ping', |
50 'devices/uan', | 51 'devices/uan', |
51 'devices/spectrum', | 52 'spectrum', |
52 'devices/mesh',··· | 53 'devices/mesh',··· |
53 'devices/mesh/dot11s', | 54 'devices/mesh/dot11s', |
54 'devices/mesh/flame', | 55 'devices/mesh/flame', |
55 'applications/ping6', | 56 'applications/ping6', |
56 'applications/radvd', | 57 'applications/radvd', |
57 'test', | 58 'test', |
58 'test/perf', | 59 'test/perf', |
59 'test/ns3tcp', | 60 'test/ns3tcp', |
60 'test/nsctcp', | 61 'test/nsctcp', |
61 'test/ns3wifi', | 62 'test/ns3wifi', |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 task.set_inputs(all_headers_inputs) | 344 task.set_inputs(all_headers_inputs) |
344 task.set_outputs(all_headers_outputs) | 345 task.set_outputs(all_headers_outputs) |
345 module_obj = self.bld.name_to_obj("ns3-" + self.module, self.env) | 346 module_obj = self.bld.name_to_obj("ns3-" + self.module, self.env) |
346 assert module_obj is not None, self.module | 347 assert module_obj is not None, self.module |
347 task.module_deps = module_obj.module_deps | 348 task.module_deps = module_obj.module_deps |
348 else: | 349 else: |
349 task.header_to_remove = all_headers_outputs[0] | 350 task.header_to_remove = all_headers_outputs[0] |
350 | 351 |
351 def install(self): | 352 def install(self): |
352 pass | 353 pass |
LEFT | RIGHT |