blob: 5c478a7ef9547b7fe8b9f2e562de8c251358a5e2 [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
10 if 'topology' in bld.env['NDN_plugins']:
11 obj = bld.create_ns3_program('ndn-grid-topo-plugin', ['ndnSIM'])
12 obj.source = 'ndn-grid-topo-plugin.cc'
13
14 obj = bld.create_ns3_program('ndn-congestion-topo-plugin', ['ndnSIM'])
15 obj.source = 'ndn-congestion-topo-plugin.cc'
Alexander Afanasyeve97c6072012-11-21 23:51:12 -080016
17 obj = bld.create_ns3_program('ndn-congestion-alt-topo-plugin', ['ndnSIM'])
18 obj.source = [
19 'custom-strategies/custom-strategy.cc',
20 'ndn-congestion-alt-topo-plugin.cc'
21 ]