SConscript revision 6168:ba6fe02228db
18926Sandreas.hansson@arm.com# -*- mode:python -*-
27586SAli.Saidi@arm.com
37586SAli.Saidi@arm.com# Copyright (c) 2009 The Hewlett-Packard Development Company
47586SAli.Saidi@arm.com# All rights reserved.
57586SAli.Saidi@arm.com#
67586SAli.Saidi@arm.com# Redistribution and use in source and binary forms, with or without
77586SAli.Saidi@arm.com# modification, are permitted provided that the following conditions are
87586SAli.Saidi@arm.com# met: redistributions of source code must retain the above copyright
97586SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer;
107586SAli.Saidi@arm.com# redistributions in binary form must reproduce the above copyright
117586SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer in the
127586SAli.Saidi@arm.com# documentation and/or other materials provided with the distribution;
133970Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
143005Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from
153005Sstever@eecs.umich.edu# this software without specific prior written permission.
163005Sstever@eecs.umich.edu#
173005Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
183005Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
193005Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
203005Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
213005Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
223005Sstever@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
233005Sstever@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
243005Sstever@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
253005Sstever@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
263005Sstever@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
273005Sstever@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
283005Sstever@eecs.umich.edu#
293005Sstever@eecs.umich.edu# Authors: Nathan Binkert
303005Sstever@eecs.umich.edu
313005Sstever@eecs.umich.eduImport('*')
323005Sstever@eecs.umich.edu
333005Sstever@eecs.umich.eduif not env['RUBY']:
343005Sstever@eecs.umich.edu    Return()
353005Sstever@eecs.umich.edu
363005Sstever@eecs.umich.eduSource('PerfectSwitch.cc')
373005Sstever@eecs.umich.eduSource('SimpleNetwork.cc')
383005Sstever@eecs.umich.eduSource('Switch.cc')
393005Sstever@eecs.umich.eduSource('Throttle.cc')
403005Sstever@eecs.umich.eduSource('Topology.cc')
416654Snate@binkert.org