SConscript revision 4202:f7a05daec670
110268SGeoffrey.Blake@arm.com# -*- mode:python -*-
210268SGeoffrey.Blake@arm.com
310268SGeoffrey.Blake@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
410268SGeoffrey.Blake@arm.com# All rights reserved.
510268SGeoffrey.Blake@arm.com#
610268SGeoffrey.Blake@arm.com# Redistribution and use in source and binary forms, with or without
710268SGeoffrey.Blake@arm.com# modification, are permitted provided that the following conditions are
810268SGeoffrey.Blake@arm.com# met: redistributions of source code must retain the above copyright
910268SGeoffrey.Blake@arm.com# notice, this list of conditions and the following disclaimer;
1010268SGeoffrey.Blake@arm.com# redistributions in binary form must reproduce the above copyright
1110268SGeoffrey.Blake@arm.com# notice, this list of conditions and the following disclaimer in the
1210268SGeoffrey.Blake@arm.com# documentation and/or other materials provided with the distribution;
1310268SGeoffrey.Blake@arm.com# neither the name of the copyright holders nor the names of its
1410268SGeoffrey.Blake@arm.com# contributors may be used to endorse or promote products derived from
1510268SGeoffrey.Blake@arm.com# this software without specific prior written permission.
1610268SGeoffrey.Blake@arm.com#
1710268SGeoffrey.Blake@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1810268SGeoffrey.Blake@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1910268SGeoffrey.Blake@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2010268SGeoffrey.Blake@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2110268SGeoffrey.Blake@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2210268SGeoffrey.Blake@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2310268SGeoffrey.Blake@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2410268SGeoffrey.Blake@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2510268SGeoffrey.Blake@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2610268SGeoffrey.Blake@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2710268SGeoffrey.Blake@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2810268SGeoffrey.Blake@arm.com#
2910268SGeoffrey.Blake@arm.com# Authors: Steve Reinhardt
3010268SGeoffrey.Blake@arm.com
3110268SGeoffrey.Blake@arm.comImport('*')
3210268SGeoffrey.Blake@arm.com
3310268SGeoffrey.Blake@arm.comif env['FULL_SYSTEM']:
3410268SGeoffrey.Blake@arm.com    Source('kernel_stats.cc')
3510268SGeoffrey.Blake@arm.com    Source('system_events.cc')
3610268SGeoffrey.Blake@arm.com
3710268SGeoffrey.Blake@arm.com    Source('linux/events.cc')
3810268SGeoffrey.Blake@arm.com    Source('linux/linux_syscalls.cc')
3910268SGeoffrey.Blake@arm.com    Source('linux/printk.cc')
4010268SGeoffrey.Blake@arm.com
4110268SGeoffrey.Blake@arm.com    if env['TARGET_ISA'] == 'alpha':
4210268SGeoffrey.Blake@arm.com        Source('tru64/dump_mbuf.cc')
4310268SGeoffrey.Blake@arm.com        Source('tru64/printf.cc')
4410268SGeoffrey.Blake@arm.com        Source('tru64/tru64_events.cc')
4510268SGeoffrey.Blake@arm.com        Source('tru64/tru64_syscalls.cc')
4610268SGeoffrey.Blake@arm.com