SConscript revision 5765
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# Redistribution and use in source and binary forms, with or without
72155SN/A# modification, are permitted provided that the following conditions are
82155SN/A# met: redistributions of source code must retain the above copyright
92155SN/A# notice, this list of conditions and the following disclaimer;
102155SN/A# redistributions in binary form must reproduce the above copyright
112155SN/A# notice, this list of conditions and the following disclaimer in the
122155SN/A# documentation and/or other materials provided with the distribution;
132155SN/A# neither the name of the copyright holders nor the names of its
142155SN/A# contributors may be used to endorse or promote products derived from
152155SN/A# this software without specific prior written permission.
162155SN/A#
172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302155SN/A
314202Sbinkertn@umich.eduImport('*')
322155SN/A
332178SN/ASource('annotate.cc')
342178SN/ASource('atomicio.cc')
352178SN/ASource('bigint.cc')
362178SN/ASource('circlebuf.cc')
372178SN/ASource('cprintf.cc')
382178SN/ASource('crc.cc')
392178SN/ASource('fast_alloc.cc')
402178SN/Aif env['USE_FENV']:
412178SN/A    Source('fenv.c')
422178SN/ASource('fifo_buffer.cc')
432178SN/ASource('hostinfo.cc')
442178SN/ASource('hybrid_pred.cc')
452155SN/ASource('inet.cc')
462178SN/ASource('inifile.cc')
472155SN/ASource('intmath.cc')
482155SN/ASource('match.cc')
492178SN/ASource('misc.cc')
502155SN/ASource('output.cc')
512155SN/ASource('pollevent.cc')
522623SN/ASource('random.cc')
533918Ssaidi@eecs.umich.eduSource('random_mt.cc')
542623SN/ASource('range.cc')
552623SN/ASource('remote_gdb.cc')
563918Ssaidi@eecs.umich.eduSource('sat_counter.cc')
572155SN/ASource('socket.cc')
582155SN/ASource('statistics.cc')
592292SN/ASource('str.cc')
603918Ssaidi@eecs.umich.eduSource('time.cc')
612292SN/ASource('trace.cc')
622292SN/ASource('userinfo.cc')
632292SN/A
643918Ssaidi@eecs.umich.eduSource('compression/lzss_compression.cc')
652292SN/A
662292SN/ASource('loader/aout_object.cc')
672766Sktlim@umich.eduSource('loader/ecoff_object.cc')
682766Sktlim@umich.eduSource('loader/elf_object.cc')
692766Sktlim@umich.eduSource('loader/hex_file.cc')
702921Sktlim@umich.eduSource('loader/object_file.cc')
712921Sktlim@umich.eduSource('loader/raw_object.cc')
722766Sktlim@umich.eduSource('loader/symtab.cc')
732766Sktlim@umich.edu
742766Sktlim@umich.eduSource('stats/events.cc')
752178SN/ASource('stats/output.cc')
762155SN/ASource('stats/statdb.cc')
772155SN/ASource('stats/text.cc')
782155SN/ASource('stats/visit.cc')
792155SN/A
802155SN/Aif env['USE_MYSQL']:
812155SN/A    Source('mysql.cc')
822766Sktlim@umich.edu    Source('stats/mysql.cc')
832155SN/A
842623SN/ATraceFlag('Annotate')
852155SN/ATraceFlag('GDBAcc')
862155SN/ATraceFlag('GDBExtra')
872155SN/ATraceFlag('GDBMisc')
882155SN/ATraceFlag('GDBRead')
892178SN/ATraceFlag('GDBRecv')
902178SN/ATraceFlag('GDBSend')
912178SN/ATraceFlag('GDBWrite')
922766Sktlim@umich.eduTraceFlag('SQL')
932178SN/ATraceFlag('StatEvents')
942178SN/A
952178SN/ACompoundFlag('GDBAll', [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend',
962178SN/A    'GDBRecv', 'GDBExtra' ])
972766Sktlim@umich.edu