Alexander Afanasyev | f04d451 | 2012-02-14 18:42:47 -0800 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | |
| 3 | def build(bld): |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 4 | obj = bld.create_ns3_program('ndn-simple', ['ndnSIM']) |
| 5 | obj.source = 'ndn-simple.cc' |
Alexander Afanasyev | f04d451 | 2012-02-14 18:42:47 -0800 | [diff] [blame] | 6 | |
Alexander Afanasyev | aa1c4c3 | 2012-11-21 16:17:03 -0800 | [diff] [blame] | 7 | obj = bld.create_ns3_program('ndn-grid', ['ndnSIM', 'point-to-point-layout']) |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 8 | obj.source = 'ndn-grid.cc' |
Alexander Afanasyev | 1fb9fed | 2013-02-01 23:18:04 -0800 | [diff] [blame] | 9 | |
Alexander Afanasyev | 1380010 | 2012-12-25 00:30:31 -0800 | [diff] [blame] | 10 | obj = bld.create_ns3_program('ndn-zipf-mandelbrot', ['ndnSIM', 'point-to-point-layout']) |
| 11 | obj.source = 'ndn-zipf-mandelbrot.cc' |
Alexander Afanasyev | 1fb9fed | 2013-02-01 23:18:04 -0800 | [diff] [blame] | 12 | |
Shock | ebebcda | 2012-12-25 14:25:58 +0800 | [diff] [blame] | 13 | |
Alexander Afanasyev | c3cc0b3 | 2012-12-12 18:41:20 -0800 | [diff] [blame] | 14 | 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 Afanasyev | 68de795 | 2012-12-12 18:02:29 -0800 | [diff] [blame] | 18 | obj = bld.create_ns3_program('ndn-simple-with-custom-app', ['ndnSIM']) |
| 19 | obj.source = ['ndn-simple-with-custom-app.cc', |
Alexander Afanasyev | c3cc0b3 | 2012-12-12 18:41:20 -0800 | [diff] [blame] | 20 | 'custom-apps/custom-app.cc', |
| 21 | 'custom-apps/hijacker.cc'] |
Alexander Afanasyev | 68de795 | 2012-12-12 18:02:29 -0800 | [diff] [blame] | 22 | |
Alexander Afanasyev | aa1c4c3 | 2012-11-21 16:17:03 -0800 | [diff] [blame] | 23 | 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 | |
| 27 | obj = bld.create_ns3_program('ndn-congestion-topo-plugin', ['ndnSIM']) |
| 28 | obj.source = 'ndn-congestion-topo-plugin.cc' |
Alexander Afanasyev | e97c607 | 2012-11-21 23:51:12 -0800 | [diff] [blame] | 29 | |
| 30 | obj = bld.create_ns3_program('ndn-congestion-alt-topo-plugin', ['ndnSIM']) |
| 31 | obj.source = [ |
| 32 | 'custom-strategies/custom-strategy.cc', |
| 33 | 'ndn-congestion-alt-topo-plugin.cc' |
| 34 | ] |
Alexander Afanasyev | 5931480 | 2012-11-26 14:56:04 -0800 | [diff] [blame] | 35 | |
| 36 | obj = bld.create_ns3_program('ndn-tree-tracers', ['ndnSIM']) |
| 37 | obj.source = 'ndn-tree-tracers.cc' |
Alexander Afanasyev | f4a0359 | 2012-12-10 16:12:34 -0800 | [diff] [blame] | 38 | |
| 39 | obj = bld.create_ns3_program('ndn-tree-cs-tracers', ['ndnSIM']) |
| 40 | obj.source = 'ndn-tree-cs-tracers.cc' |
Alexander Afanasyev | db64ff1 | 2013-01-18 16:37:31 -0800 | [diff] [blame] | 41 | |
| 42 | obj = bld.create_ns3_program('ndn-tree-app-delay-tracer', ['ndnSIM']) |
| 43 | obj.source = 'ndn-tree-app-delay-tracer.cc' |
Alexander Afanasyev | 1fb9fed | 2013-02-01 23:18:04 -0800 | [diff] [blame] | 44 | |
Alexander Afanasyev | 27370c5 | 2013-03-12 13:54:08 -0700 | [diff] [blame] | 45 | obj = bld.create_ns3_program('ndn-tree-with-l2tracer', ['ndnSIM']) |
| 46 | obj.source = 'ndn-tree-with-l2tracer.cc' |
| 47 | |
Alexander Afanasyev | 1fb9fed | 2013-02-01 23:18:04 -0800 | [diff] [blame] | 48 | obj = bld.create_ns3_program('ndn-simple-pit-policies', ['ndnSIM']) |
| 49 | obj.source = 'ndn-simple-pit-policies.cc' |
Alexander Afanasyev | 4c6bc58 | 2013-02-07 10:13:48 -0800 | [diff] [blame] | 50 | |
| 51 | obj = bld.create_ns3_program('ndn-simple-with-different-sizes-content-store', ['ndnSIM']) |
| 52 | obj.source = 'ndn-simple-with-different-sizes-content-store.cc' |
Alexander Afanasyev | 41684ab | 2013-02-19 11:02:37 -0800 | [diff] [blame] | 53 | |
| 54 | obj = bld.create_ns3_program('ndn-simple-with-cs-lfu', ['ndnSIM']) |
| 55 | obj.source = 'ndn-simple-with-cs-lfu.cc' |
Alexander Afanasyev | 1ab1aad | 2013-02-28 11:32:21 -0800 | [diff] [blame] | 56 | |
| 57 | obj = bld.create_ns3_program('ndn-simple-with-pcap', ['ndnSIM']) |
| 58 | obj.source = 'ndn-simple-with-pcap.cc' |
Alexander Afanasyev | 4ebe07e | 2013-03-26 13:27:55 -0700 | [diff] [blame^] | 59 | |
| 60 | obj = bld.create_ns3_program('ndn-simple-with-pit-operation-stats', ['ndnSIM']) |
| 61 | obj.source = 'ndn-simple-with-pit-operation-stats.cc' |