SConscript revision 12293
112641Sgiacomo.travaglini@arm.com# -*- mode:python -*-
212641Sgiacomo.travaglini@arm.com
312641Sgiacomo.travaglini@arm.com# Copyright (c) 2004-2005 The Regents of The University of Michigan
412641Sgiacomo.travaglini@arm.com# All rights reserved.
512641Sgiacomo.travaglini@arm.com#
612641Sgiacomo.travaglini@arm.com# Redistribution and use in source and binary forms, with or without
712641Sgiacomo.travaglini@arm.com# modification, are permitted provided that the following conditions are
812641Sgiacomo.travaglini@arm.com# met: redistributions of source code must retain the above copyright
912641Sgiacomo.travaglini@arm.com# notice, this list of conditions and the following disclaimer;
1012641Sgiacomo.travaglini@arm.com# redistributions in binary form must reproduce the above copyright
1112641Sgiacomo.travaglini@arm.com# notice, this list of conditions and the following disclaimer in the
1212641Sgiacomo.travaglini@arm.com# documentation and/or other materials provided with the distribution;
1312641Sgiacomo.travaglini@arm.com# neither the name of the copyright holders nor the names of its
1412641Sgiacomo.travaglini@arm.com# contributors may be used to endorse or promote products derived from
1512641Sgiacomo.travaglini@arm.com# this software without specific prior written permission.
1612641Sgiacomo.travaglini@arm.com#
1712641Sgiacomo.travaglini@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1812641Sgiacomo.travaglini@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1912641Sgiacomo.travaglini@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2012641Sgiacomo.travaglini@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2112641Sgiacomo.travaglini@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2212641Sgiacomo.travaglini@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2312641Sgiacomo.travaglini@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2412641Sgiacomo.travaglini@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2512641Sgiacomo.travaglini@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2612641Sgiacomo.travaglini@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2712641Sgiacomo.travaglini@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2812641Sgiacomo.travaglini@arm.com#
2912641Sgiacomo.travaglini@arm.com# Authors: Gabe Black
3012641Sgiacomo.travaglini@arm.com#          Steve Reinhardt
3112641Sgiacomo.travaglini@arm.com
3212641Sgiacomo.travaglini@arm.comImport('*')
3312641Sgiacomo.travaglini@arm.com
3412641Sgiacomo.travaglini@arm.comif env['TARGET_ISA'] == 'sparc':
3512641Sgiacomo.travaglini@arm.com    Source('branch.cc')
3612641Sgiacomo.travaglini@arm.com    Source('micro.cc')
3712641Sgiacomo.travaglini@arm.com    Source('priv.cc')
3812641Sgiacomo.travaglini@arm.com    Source('static_inst.cc')
3912641Sgiacomo.travaglini@arm.com    Source('trap.cc')
4012641Sgiacomo.travaglini@arm.com