blob: 13667cad19f7f9d4e3b2c1bfa338bac382592c3b [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 Afanasyevaa1c4c32012-11-21 16:17:03 -08009
Alexander Afanasyevc3cc0b32012-12-12 18:41:20 -080010 obj = bld.create_ns3_program('ndn-simple-with-content-freshness', ['ndnSIM'])
11 obj.source = ['ndn-simple-with-content-freshness.cc',
12 'custom-apps/dumb-requester.cc']
13
Alexander Afanasyev68de7952012-12-12 18:02:29 -080014 obj = bld.create_ns3_program('ndn-simple-with-custom-app', ['ndnSIM'])
15 obj.source = ['ndn-simple-with-custom-app.cc',
Alexander Afanasyevc3cc0b32012-12-12 18:41:20 -080016 'custom-apps/custom-app.cc',
17 'custom-apps/hijacker.cc']
Alexander Afanasyev68de7952012-12-12 18:02:29 -080018
Alexander Afanasyevaa1c4c32012-11-21 16:17:03 -080019 if 'topology' in bld.env['NDN_plugins']:
20 obj = bld.create_ns3_program('ndn-grid-topo-plugin', ['ndnSIM'])
21 obj.source = 'ndn-grid-topo-plugin.cc'
22
23 obj = bld.create_ns3_program('ndn-congestion-topo-plugin', ['ndnSIM'])
24 obj.source = 'ndn-congestion-topo-plugin.cc'
Alexander Afanasyeve97c6072012-11-21 23:51:12 -080025
26 obj = bld.create_ns3_program('ndn-congestion-alt-topo-plugin', ['ndnSIM'])
27 obj.source = [
28 'custom-strategies/custom-strategy.cc',
29 'ndn-congestion-alt-topo-plugin.cc'
30 ]
Alexander Afanasyev59314802012-11-26 14:56:04 -080031
32 obj = bld.create_ns3_program('ndn-tree-tracers', ['ndnSIM'])
33 obj.source = 'ndn-tree-tracers.cc'
Alexander Afanasyevf4a03592012-12-10 16:12:34 -080034
35 obj = bld.create_ns3_program('ndn-tree-cs-tracers', ['ndnSIM'])
36 obj.source = 'ndn-tree-cs-tracers.cc'