SConscript revision 5548
15612Sgblack@eecs.umich.edu# -*- mode:python -*- 25612Sgblack@eecs.umich.edu 35612Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 45612Sgblack@eecs.umich.edu# All rights reserved. 55612Sgblack@eecs.umich.edu# 65612Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 75612Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 85612Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 95612Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 105612Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 115612Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 125612Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 135612Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 145612Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 155612Sgblack@eecs.umich.edu# this software without specific prior written permission. 165612Sgblack@eecs.umich.edu# 175612Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 185612Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 195612Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 205612Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 215612Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 225612Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235612Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 245612Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255612Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265612Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275612Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285612Sgblack@eecs.umich.edu# 295612Sgblack@eecs.umich.edu# Authors: Nathan Binkert 305612Sgblack@eecs.umich.edu 315612Sgblack@eecs.umich.eduImport('*') 325612Sgblack@eecs.umich.edu 335612Sgblack@eecs.umich.eduSource('annotate.cc') 345612Sgblack@eecs.umich.eduSource('atomicio.cc') 355612Sgblack@eecs.umich.eduSource('bigint.cc') 365612Sgblack@eecs.umich.eduSource('circlebuf.cc') 375612Sgblack@eecs.umich.eduSource('cprintf.cc') 385612Sgblack@eecs.umich.eduSource('crc.cc') 395612Sgblack@eecs.umich.eduSource('fast_alloc.cc') 405612Sgblack@eecs.umich.eduif env['USE_FENV']: 415612Sgblack@eecs.umich.edu Source('fenv.c') 425612Sgblack@eecs.umich.eduSource('fifo_buffer.cc') 435612Sgblack@eecs.umich.eduSource('hostinfo.cc') 445612Sgblack@eecs.umich.eduSource('hybrid_pred.cc') 455612Sgblack@eecs.umich.eduSource('inet.cc') 465612Sgblack@eecs.umich.eduSource('inifile.cc') 475612Sgblack@eecs.umich.eduSource('intmath.cc') 485612Sgblack@eecs.umich.eduSource('match.cc') 495612Sgblack@eecs.umich.eduSource('misc.cc') 505612Sgblack@eecs.umich.eduSource('output.cc') 515612Sgblack@eecs.umich.eduSource('pollevent.cc') 525612Sgblack@eecs.umich.eduSource('random.cc') 535612Sgblack@eecs.umich.eduSource('random_mt.cc') 545612Sgblack@eecs.umich.eduSource('range.cc') 555612Sgblack@eecs.umich.eduSource('remote_gdb.cc') 565612Sgblack@eecs.umich.eduSource('sat_counter.cc') 575612Sgblack@eecs.umich.eduSource('socket.cc') 585612Sgblack@eecs.umich.eduSource('statistics.cc') 595612Sgblack@eecs.umich.eduSource('str.cc') 605612Sgblack@eecs.umich.eduSource('time.cc') 615612Sgblack@eecs.umich.eduSource('trace.cc') 625614Sgblack@eecs.umich.eduSource('userinfo.cc') 635614Sgblack@eecs.umich.edu 645612Sgblack@eecs.umich.eduSource('compression/lzss_compression.cc') 655612Sgblack@eecs.umich.edu 665612Sgblack@eecs.umich.eduSource('loader/aout_object.cc') 675614Sgblack@eecs.umich.eduSource('loader/ecoff_object.cc') 685615Sgblack@eecs.umich.eduSource('loader/elf_object.cc') 695612Sgblack@eecs.umich.eduSource('loader/hex_file.cc') 705625Sgblack@eecs.umich.eduSource('loader/object_file.cc') 715625Sgblack@eecs.umich.eduSource('loader/raw_object.cc') 725625Sgblack@eecs.umich.eduSource('loader/symtab.cc') 735625Sgblack@eecs.umich.edu 745627Sgblack@eecs.umich.eduSource('stats/events.cc') 755627Sgblack@eecs.umich.eduSource('stats/output.cc') 765627Sgblack@eecs.umich.eduSource('stats/statdb.cc') 775627Sgblack@eecs.umich.eduSource('stats/text.cc') 78Source('stats/visit.cc') 79 80if env['USE_MYSQL']: 81 Source('mysql.cc') 82 Source('stats/mysql.cc') 83 84TraceFlag('Annotate') 85TraceFlag('GDBAcc') 86TraceFlag('GDBExtra') 87TraceFlag('GDBMisc') 88TraceFlag('GDBRead') 89TraceFlag('GDBRecv') 90TraceFlag('GDBSend') 91TraceFlag('GDBWrite') 92TraceFlag('SQL') 93TraceFlag('StatEvents') 94 95CompoundFlag('GDBAll', [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 96 'GDBRecv', 'GDBExtra' ]) 97