SConscript revision 5742
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan
4955SN/A# All rights reserved.
5955SN/A#
6955SN/A# Redistribution and use in source and binary forms, with or without
7955SN/A# modification, are permitted provided that the following conditions are
8955SN/A# met: redistributions of source code must retain the above copyright
9955SN/A# notice, this list of conditions and the following disclaimer;
10955SN/A# redistributions in binary form must reproduce the above copyright
11955SN/A# notice, this list of conditions and the following disclaimer in the
12955SN/A# documentation and/or other materials provided with the distribution;
13955SN/A# neither the name of the copyright holders nor the names of its
14955SN/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.
282665Ssaidi@eecs.umich.edu#
294762Snate@binkert.org# Authors: Nathan Binkert
30955SN/A
314762Snate@binkert.orgImport('*')
32955SN/A
33955SN/ASource('annotate.cc')
344202Sbinkertn@umich.eduSource('atomicio.cc')
354382Sbinkertn@umich.eduSource('bigint.cc')
364202Sbinkertn@umich.eduSource('circlebuf.cc')
374762Snate@binkert.orgSource('cprintf.cc')
384762Snate@binkert.orgSource('crc.cc')
394762Snate@binkert.orgSource('fast_alloc.cc')
40955SN/Aif env['USE_FENV']:
414381Sbinkertn@umich.edu    Source('fenv.c')
424381Sbinkertn@umich.eduSource('fifo_buffer.cc')
43955SN/ASource('hostinfo.cc')
44955SN/ASource('hybrid_pred.cc')
45955SN/ASource('inet.cc')
464202Sbinkertn@umich.eduSource('inifile.cc')
47955SN/ASource('intmath.cc')
484382Sbinkertn@umich.eduSource('match.cc')
494382Sbinkertn@umich.eduSource('misc.cc')
504382Sbinkertn@umich.eduSource('output.cc')
514762Snate@binkert.orgSource('pollevent.cc')
524762Snate@binkert.orgSource('random.cc')
534762Snate@binkert.orgSource('random_mt.cc')
544762Snate@binkert.orgSource('range.cc')
554762Snate@binkert.orgSource('remote_gdb.cc')
564762Snate@binkert.orgSource('sat_counter.cc')
574762Snate@binkert.orgSource('socket.cc')
584762Snate@binkert.orgSource('statistics.cc')
594762Snate@binkert.orgSource('str.cc')
604762Snate@binkert.orgSource('time.cc')
614762Snate@binkert.orgSource('trace.cc')
624762Snate@binkert.orgSource('userinfo.cc')
634762Snate@binkert.org
644762Snate@binkert.orgSource('compression/lzss_compression.cc')
654762Snate@binkert.org
664762Snate@binkert.orgSource('loader/aout_object.cc')
674762Snate@binkert.orgSource('loader/ecoff_object.cc')
684762Snate@binkert.orgSource('loader/elf_object.cc')
694762Snate@binkert.orgSource('loader/hex_file.cc')
704762Snate@binkert.orgSource('loader/object_file.cc')
714762Snate@binkert.orgSource('loader/raw_object.cc')
724762Snate@binkert.orgSource('loader/symtab.cc')
734762Snate@binkert.org
744762Snate@binkert.orgSource('stats/events.cc')
754762Snate@binkert.orgSource('stats/output.cc')
764762Snate@binkert.orgSource('stats/statdb.cc')
774762Snate@binkert.orgSource('stats/text.cc')
784762Snate@binkert.orgSource('stats/visit.cc')
794762Snate@binkert.org
804762Snate@binkert.orgif env['USE_MYSQL']:
814762Snate@binkert.org    Source('mysql.cc')
824762Snate@binkert.org    Source('stats/mysql.cc')
834762Snate@binkert.org
844382Sbinkertn@umich.eduTraceFlag('Annotate')
854762Snate@binkert.orgTraceFlag('GDBAcc')
864382Sbinkertn@umich.eduTraceFlag('GDBExtra')
874762Snate@binkert.orgTraceFlag('GDBMisc')
884381Sbinkertn@umich.eduTraceFlag('GDBRead')
894762Snate@binkert.orgTraceFlag('GDBRecv')
904762Snate@binkert.orgTraceFlag('GDBSend')
914762Snate@binkert.orgTraceFlag('GDBWrite')
924762Snate@binkert.orgTraceFlag('SQL')
934762Snate@binkert.orgTraceFlag('StatEvents')
944762Snate@binkert.org
954762Snate@binkert.orgCompoundFlag('GDBAll', [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend',
964762Snate@binkert.org    'GDBRecv', 'GDBExtra' ])
974762Snate@binkert.org