SConscript revision 5548:19d45fa7315c
1955SN/A# -*- mode:python -*-
2955SN/A
313576Sciro.santilli@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
413576Sciro.santilli@arm.com# All rights reserved.
513576Sciro.santilli@arm.com#
613576Sciro.santilli@arm.com# Redistribution and use in source and binary forms, with or without
713576Sciro.santilli@arm.com# modification, are permitted provided that the following conditions are
813576Sciro.santilli@arm.com# met: redistributions of source code must retain the above copyright
913576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer;
1013576Sciro.santilli@arm.com# redistributions in binary form must reproduce the above copyright
1113576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer in the
1213576Sciro.santilli@arm.com# documentation and/or other materials provided with the distribution;
1313576Sciro.santilli@arm.com# neither the name of the copyright holders nor the names of its
141762SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28955SN/A#
29955SN/A# Authors: Nathan Binkert
30955SN/A
31955SN/AImport('*')
32955SN/A
33955SN/ASource('annotate.cc')
34955SN/ASource('atomicio.cc')
35955SN/ASource('bigint.cc')
36955SN/ASource('circlebuf.cc')
37955SN/ASource('cprintf.cc')
38955SN/ASource('crc.cc')
392665Ssaidi@eecs.umich.eduSource('fast_alloc.cc')
404762Snate@binkert.orgif env['USE_FENV']:
41955SN/A    Source('fenv.c')
4212563Sgabeblack@google.comSource('fifo_buffer.cc')
4312563Sgabeblack@google.comSource('hostinfo.cc')
445522Snate@binkert.orgSource('hybrid_pred.cc')
456143Snate@binkert.orgSource('inet.cc')
4612371Sgabeblack@google.comSource('inifile.cc')
474762Snate@binkert.orgSource('intmath.cc')
48955SN/ASource('match.cc')
495522Snate@binkert.orgSource('misc.cc')
50955SN/ASource('output.cc')
515522Snate@binkert.orgSource('pollevent.cc')
524202Sbinkertn@umich.eduSource('random.cc')
535742Snate@binkert.orgSource('random_mt.cc')
54955SN/ASource('range.cc')
554381Sbinkertn@umich.eduSource('remote_gdb.cc')
564381Sbinkertn@umich.eduSource('sat_counter.cc')
5712246Sgabeblack@google.comSource('socket.cc')
5812246Sgabeblack@google.comSource('statistics.cc')
598334Snate@binkert.orgSource('str.cc')
60955SN/ASource('time.cc')
61955SN/ASource('trace.cc')
624202Sbinkertn@umich.eduSource('userinfo.cc')
63955SN/A
644382Sbinkertn@umich.eduSource('compression/lzss_compression.cc')
654382Sbinkertn@umich.edu
664382Sbinkertn@umich.eduSource('loader/aout_object.cc')
676654Snate@binkert.orgSource('loader/ecoff_object.cc')
685517Snate@binkert.orgSource('loader/elf_object.cc')
698614Sgblack@eecs.umich.eduSource('loader/hex_file.cc')
707674Snate@binkert.orgSource('loader/object_file.cc')
716143Snate@binkert.orgSource('loader/raw_object.cc')
726143Snate@binkert.orgSource('loader/symtab.cc')
736143Snate@binkert.org
7412302Sgabeblack@google.comSource('stats/events.cc')
7512302Sgabeblack@google.comSource('stats/output.cc')
7612302Sgabeblack@google.comSource('stats/statdb.cc')
7712371Sgabeblack@google.comSource('stats/text.cc')
7812371Sgabeblack@google.comSource('stats/visit.cc')
7912371Sgabeblack@google.com
8012371Sgabeblack@google.comif env['USE_MYSQL']:
8112371Sgabeblack@google.com    Source('mysql.cc')
8212371Sgabeblack@google.com    Source('stats/mysql.cc')
8312371Sgabeblack@google.com
8412371Sgabeblack@google.comTraceFlag('Annotate')
8512371Sgabeblack@google.comTraceFlag('GDBAcc')
8612371Sgabeblack@google.comTraceFlag('GDBExtra')
8712371Sgabeblack@google.comTraceFlag('GDBMisc')
8812371Sgabeblack@google.comTraceFlag('GDBRead')
8912371Sgabeblack@google.comTraceFlag('GDBRecv')
9012371Sgabeblack@google.comTraceFlag('GDBSend')
9112371Sgabeblack@google.comTraceFlag('GDBWrite')
9212371Sgabeblack@google.comTraceFlag('SQL')
9312371Sgabeblack@google.comTraceFlag('StatEvents')
9412371Sgabeblack@google.com
9512371Sgabeblack@google.comCompoundFlag('GDBAll', [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend',
9612371Sgabeblack@google.com    'GDBRecv', 'GDBExtra' ])
9712371Sgabeblack@google.com