blob: 695e17c4423ad84e1bfb3a5440f0997599a7caec [file] [log] [blame]
Alexander Afanasyevf04d4512012-02-14 18:42:47 -08001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3def build(bld):
Alexander Afanasyev4aac5572012-08-09 10:49:55 -07004 obj = bld.create_ns3_program('ndn-simple', ['ndnSIM'])
5 obj.source = 'ndn-simple.cc'
Alexander Afanasyevf04d4512012-02-14 18:42:47 -08006
Alexander Afanasyevaa1c4c32012-11-21 16:17:03 -08007 obj = bld.create_ns3_program('ndn-grid', ['ndnSIM', 'point-to-point-layout'])
Alexander Afanasyev4aac5572012-08-09 10:49:55 -07008 obj.source = 'ndn-grid.cc'
Alexander Afanasyev1fb9fed2013-02-01 23:18:04 -08009
Alexander Afanasyev13800102012-12-25 00:30:31 -080010 obj = bld.create_ns3_program('ndn-zipf-mandelbrot', ['ndnSIM', 'point-to-point-layout'])
11 obj.source = 'ndn-zipf-mandelbrot.cc'
Alexander Afanasyev1fb9fed2013-02-01 23:18:04 -080012
Shockebebcda2012-12-25 14:25:58 +080013
Alexander Afanasyevc3cc0b32012-12-12 18:41:20 -080014 obj = bld.create_ns3_program('ndn-simple-with-content-freshness', ['ndnSIM'])
15 obj.source = ['ndn-simple-with-content-freshness.cc',
16 'custom-apps/dumb-requester.cc']
17
Alexander Afanasyev68de7952012-12-12 18:02:29 -080018 obj = bld.create_ns3_program('ndn-simple-with-custom-app', ['ndnSIM'])
19 obj.source = ['ndn-simple-with-custom-app.cc',
Alexander Afanasyevc3cc0b32012-12-12 18:41:20 -080020 'custom-apps/custom-app.cc',
21 'custom-apps/hijacker.cc']
Alexander Afanasyev68de7952012-12-12 18:02:29 -080022
Alexander Afanasyevaa1c4c32012-11-21 16:17:03 -080023 if 'topology' in bld.env['NDN_plugins']:
24 obj = bld.create_ns3_program('ndn-grid-topo-plugin', ['ndnSIM'])
25 obj.source = 'ndn-grid-topo-plugin.cc'
26
Alexander Afanasyevda2f23a2013-04-14 22:52:50 -070027 obj = bld.create_ns3_program('ndn-grid-topo-plugin-loss', ['ndnSIM'])
28 obj.source = 'ndn-grid-topo-plugin-loss.cc'
29
Alexander Afanasyevaa1c4c32012-11-21 16:17:03 -080030 obj = bld.create_ns3_program('ndn-congestion-topo-plugin', ['ndnSIM'])
31 obj.source = 'ndn-congestion-topo-plugin.cc'
Alexander Afanasyeve97c6072012-11-21 23:51:12 -080032
33 obj = bld.create_ns3_program('ndn-congestion-alt-topo-plugin', ['ndnSIM'])
34 obj.source = [
35 'custom-strategies/custom-strategy.cc',
36 'ndn-congestion-alt-topo-plugin.cc'
37 ]
Alexander Afanasyev59314802012-11-26 14:56:04 -080038
39 obj = bld.create_ns3_program('ndn-tree-tracers', ['ndnSIM'])
40 obj.source = 'ndn-tree-tracers.cc'
Alexander Afanasyevf4a03592012-12-10 16:12:34 -080041
42 obj = bld.create_ns3_program('ndn-tree-cs-tracers', ['ndnSIM'])
43 obj.source = 'ndn-tree-cs-tracers.cc'
Alexander Afanasyevdb64ff12013-01-18 16:37:31 -080044
45 obj = bld.create_ns3_program('ndn-tree-app-delay-tracer', ['ndnSIM'])
46 obj.source = 'ndn-tree-app-delay-tracer.cc'
Alexander Afanasyev1fb9fed2013-02-01 23:18:04 -080047
Alexander Afanasyev27370c52013-03-12 13:54:08 -070048 obj = bld.create_ns3_program('ndn-tree-with-l2tracer', ['ndnSIM'])
49 obj.source = 'ndn-tree-with-l2tracer.cc'
50
Alexander Afanasyev1fb9fed2013-02-01 23:18:04 -080051 obj = bld.create_ns3_program('ndn-simple-pit-policies', ['ndnSIM'])
52 obj.source = 'ndn-simple-pit-policies.cc'
Alexander Afanasyev4c6bc582013-02-07 10:13:48 -080053
54 obj = bld.create_ns3_program('ndn-simple-with-different-sizes-content-store', ['ndnSIM'])
55 obj.source = 'ndn-simple-with-different-sizes-content-store.cc'
Alexander Afanasyev41684ab2013-02-19 11:02:37 -080056
57 obj = bld.create_ns3_program('ndn-simple-with-cs-lfu', ['ndnSIM'])
58 obj.source = 'ndn-simple-with-cs-lfu.cc'
Alexander Afanasyev1ab1aad2013-02-28 11:32:21 -080059
60 obj = bld.create_ns3_program('ndn-simple-with-pcap', ['ndnSIM'])
61 obj.source = 'ndn-simple-with-pcap.cc'
Alexander Afanasyev4ebe07e2013-03-26 13:27:55 -070062
63 obj = bld.create_ns3_program('ndn-simple-with-pit-operation-stats', ['ndnSIM'])
64 obj.source = 'ndn-simple-with-pit-operation-stats.cc'
Alexander Afanasyevb5e77d82013-04-10 15:55:26 -070065
66 obj = bld.create_ns3_program('ndn-simple-with-pit-count-stats', ['ndnSIM'])
67 obj.source = 'ndn-simple-with-pit-count-stats.cc'