SConscript revision 9850
113759Sgiacomo.gabrielli@arm.com# -*- mode:python -*-
213759Sgiacomo.gabrielli@arm.com
313759Sgiacomo.gabrielli@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
413759Sgiacomo.gabrielli@arm.com# All rights reserved.
513759Sgiacomo.gabrielli@arm.com#
613759Sgiacomo.gabrielli@arm.com# Redistribution and use in source and binary forms, with or without
713759Sgiacomo.gabrielli@arm.com# modification, are permitted provided that the following conditions are
813759Sgiacomo.gabrielli@arm.com# met: redistributions of source code must retain the above copyright
913759Sgiacomo.gabrielli@arm.com# notice, this list of conditions and the following disclaimer;
1013759Sgiacomo.gabrielli@arm.com# redistributions in binary form must reproduce the above copyright
1113759Sgiacomo.gabrielli@arm.com# notice, this list of conditions and the following disclaimer in the
1213759Sgiacomo.gabrielli@arm.com# documentation and/or other materials provided with the distribution;
1313759Sgiacomo.gabrielli@arm.com# neither the name of the copyright holders nor the names of its
1413759Sgiacomo.gabrielli@arm.com# contributors may be used to endorse or promote products derived from
1513759Sgiacomo.gabrielli@arm.com# this software without specific prior written permission.
1613759Sgiacomo.gabrielli@arm.com#
1713759Sgiacomo.gabrielli@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1813759Sgiacomo.gabrielli@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1913759Sgiacomo.gabrielli@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2013759Sgiacomo.gabrielli@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2113759Sgiacomo.gabrielli@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2213759Sgiacomo.gabrielli@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2313759Sgiacomo.gabrielli@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2413759Sgiacomo.gabrielli@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2513759Sgiacomo.gabrielli@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2613759Sgiacomo.gabrielli@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2713759Sgiacomo.gabrielli@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2813759Sgiacomo.gabrielli@arm.com#
2913759Sgiacomo.gabrielli@arm.com# Authors: Steve Reinhardt
3013759Sgiacomo.gabrielli@arm.com
3113759Sgiacomo.gabrielli@arm.comImport('*')
3213759Sgiacomo.gabrielli@arm.com
3313759Sgiacomo.gabrielli@arm.comif env['TARGET_ISA'] == 'null':
3413759Sgiacomo.gabrielli@arm.com    Return()
3513759Sgiacomo.gabrielli@arm.com
3613759Sgiacomo.gabrielli@arm.comSource('kernel_stats.cc')
3713759Sgiacomo.gabrielli@arm.comSource('linux/events.cc')
3813759Sgiacomo.gabrielli@arm.comSource('linux/linux.cc')
3913759Sgiacomo.gabrielli@arm.comSource('linux/linux_syscalls.cc')
4013759Sgiacomo.gabrielli@arm.comSource('linux/printk.cc')
4113759Sgiacomo.gabrielli@arm.comSource('operatingsystem.cc')
4213759Sgiacomo.gabrielli@arm.comSource('system_events.cc')
4313759Sgiacomo.gabrielli@arm.com
4413759Sgiacomo.gabrielli@arm.comDebugFlag('DebugPrintf')
4513759Sgiacomo.gabrielli@arm.comDebugFlag('Printf')
4613759Sgiacomo.gabrielli@arm.com
4713759Sgiacomo.gabrielli@arm.comif env['TARGET_ISA'] == 'alpha':
4813759Sgiacomo.gabrielli@arm.com    Source('tru64/dump_mbuf.cc')
4913759Sgiacomo.gabrielli@arm.com    Source('tru64/printf.cc')
5013759Sgiacomo.gabrielli@arm.com    Source('tru64/tru64_events.cc')
5113759Sgiacomo.gabrielli@arm.com    Source('tru64/tru64_syscalls.cc')
5213759Sgiacomo.gabrielli@arm.com
5313759Sgiacomo.gabrielli@arm.com    DebugFlag('BADADDR')
5413759Sgiacomo.gabrielli@arm.com