SConscript revision 6168
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
315522Snate@binkert.orgImport('*')
326143Snate@binkert.org
334762Snate@binkert.orgif env['CP_ANNOTATE']:
345522Snate@binkert.org    SimObject('CPA.py')
35955SN/A    Source('cp_annotate.cc')
365522Snate@binkert.orgSource('atomicio.cc')
37955SN/ASource('bigint.cc')
385522Snate@binkert.orgSource('circlebuf.cc')
394202Sbinkertn@umich.eduSource('cprintf.cc')
405742Snate@binkert.orgSource('crc.cc')
41955SN/ASource('debug.cc')
424381Sbinkertn@umich.eduSource('fast_alloc.cc')
434381Sbinkertn@umich.eduif env['USE_FENV']:
448334Snate@binkert.org    Source('fenv.c')
45955SN/ASource('fifo_buffer.cc')
46955SN/ASource('hostinfo.cc')
474202Sbinkertn@umich.eduSource('hybrid_pred.cc')
48955SN/ASource('inet.cc')
494382Sbinkertn@umich.eduSource('inifile.cc')
504382Sbinkertn@umich.eduSource('intmath.cc')
514382Sbinkertn@umich.eduSource('match.cc')
526654Snate@binkert.orgSource('misc.cc')
535517Snate@binkert.orgSource('output.cc')
548614Sgblack@eecs.umich.eduSource('pollevent.cc')
557674Snate@binkert.orgSource('random.cc')
566143Snate@binkert.orgSource('random_mt.cc')
576143Snate@binkert.orgSource('range.cc')
586143Snate@binkert.orgSource('remote_gdb.cc')
598233Snate@binkert.orgSource('sat_counter.cc')
608233Snate@binkert.orgSource('socket.cc')
618233Snate@binkert.orgSource('statistics.cc')
628233Snate@binkert.orgSource('str.cc')
638233Snate@binkert.orgSource('time.cc')
648334Snate@binkert.orgSource('trace.cc')
658334Snate@binkert.orgSource('userinfo.cc')
6610453SAndrew.Bardsley@arm.com
6710453SAndrew.Bardsley@arm.comSource('compression/lzss_compression.cc')
688233Snate@binkert.org
698233Snate@binkert.orgSource('loader/aout_object.cc')
708233Snate@binkert.orgSource('loader/ecoff_object.cc')
718233Snate@binkert.orgSource('loader/elf_object.cc')
728233Snate@binkert.orgSource('loader/hex_file.cc')
738233Snate@binkert.orgSource('loader/object_file.cc')
746143Snate@binkert.orgSource('loader/raw_object.cc')
758233Snate@binkert.orgSource('loader/symtab.cc')
768233Snate@binkert.org
778233Snate@binkert.orgSource('stats/events.cc')
786143Snate@binkert.orgSource('stats/output.cc')
796143Snate@binkert.orgSource('stats/text.cc')
806143Snate@binkert.orgSource('stats/visit.cc')
816143Snate@binkert.org
828233Snate@binkert.orgif env['USE_MYSQL']:
838233Snate@binkert.org    Source('mysql.cc')
848233Snate@binkert.org    Source('stats/mysql.cc')
856143Snate@binkert.org
868233Snate@binkert.orgTraceFlag('Annotate', "State machine annotation debugging")
878233Snate@binkert.orgTraceFlag('AnnotateQ', "State machine annotation queue debugging")
888233Snate@binkert.orgTraceFlag('AnnotateVerbose', "Dump all state machine annotation details")
898233Snate@binkert.orgTraceFlag('GDBAcc', "Remote debugger accesses")
906143Snate@binkert.orgTraceFlag('GDBExtra', "Dump extra information on reads and writes")
916143Snate@binkert.orgTraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
926143Snate@binkert.orgTraceFlag('GDBRead', "Reads to the remote address space")
934762Snate@binkert.orgTraceFlag('GDBRecv', "Messages received from the remote application")
946143Snate@binkert.orgTraceFlag('GDBSend', "Messages sent to the remote application")
958233Snate@binkert.orgTraceFlag('GDBWrite', "Writes to the remote address space")
968233Snate@binkert.orgTraceFlag('SQL', "SQL queries sent to the server")
978233Snate@binkert.orgTraceFlag('StatEvents', "Statistics event tracking")
988233Snate@binkert.org
998233Snate@binkert.orgCompoundFlag('GDBAll',
1006143Snate@binkert.org    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
1018233Snate@binkert.org      'GDBExtra' ],
1028233Snate@binkert.org    desc="All Remote debugging flags")
1038233Snate@binkert.orgCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'],
1048233Snate@binkert.org    desc="All Annotation flags")
1056143Snate@binkert.org
1066143Snate@binkert.org