SConscript revision 7170
16019Shines@cs.fsu.edu# -*- mode:python -*-
26019Shines@cs.fsu.edu
310037SARM gem5 Developers# Copyright (c) 2006 The Regents of The University of Michigan
47100Sgblack@eecs.umich.edu# All rights reserved.
57100Sgblack@eecs.umich.edu#
67100Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
77100Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
87100Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
97100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
107100Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
117100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
127100Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
137100Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
147100Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
156019Shines@cs.fsu.edu# this software without specific prior written permission.
166019Shines@cs.fsu.edu#
176019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
186019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
196019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
206019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
216019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
226019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
236019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
246019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
256019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
266019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
276019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
286019Shines@cs.fsu.edu#
296019Shines@cs.fsu.edu# Authors: Nathan Binkert
306019Shines@cs.fsu.edu
316019Shines@cs.fsu.eduImport('*')
326019Shines@cs.fsu.edu
336019Shines@cs.fsu.eduif env['CP_ANNOTATE']:
346019Shines@cs.fsu.edu    SimObject('CPA.py')
356019Shines@cs.fsu.edu    Source('cp_annotate.cc')
366019Shines@cs.fsu.eduSource('atomicio.cc')
376019Shines@cs.fsu.eduSource('bigint.cc')
386019Shines@cs.fsu.eduSource('callback.cc')
396019Shines@cs.fsu.eduSource('circlebuf.cc')
406019Shines@cs.fsu.eduSource('cprintf.cc')
416019Shines@cs.fsu.eduSource('crc.cc')
426757SAli.Saidi@ARM.comSource('debug.cc')
436019Shines@cs.fsu.eduSource('fast_alloc.cc')
446019Shines@cs.fsu.eduif env['USE_FENV']:
456019Shines@cs.fsu.edu    Source('fenv.c')
466019Shines@cs.fsu.eduSource('fifo_buffer.cc')
476019Shines@cs.fsu.eduSource('hostinfo.cc')
486019Shines@cs.fsu.eduSource('hybrid_pred.cc')
496019Shines@cs.fsu.eduSource('inet.cc')
509022Sgblack@eecs.umich.eduSource('inifile.cc')
516019Shines@cs.fsu.eduSource('intmath.cc')
5210037SARM gem5 DevelopersSource('match.cc')
5310037SARM gem5 DevelopersSource('misc.cc')
547170Sgblack@eecs.umich.eduSource('output.cc')
556253Sgblack@eecs.umich.eduSource('pollevent.cc')
5610037SARM gem5 DevelopersSource('random.cc')
577202Sgblack@eecs.umich.eduSource('random_mt.cc')
5810037SARM gem5 DevelopersSource('range.cc')
596253Sgblack@eecs.umich.eduSource('remote_gdb.cc')
6010611SAndreas.Sandberg@ARM.comSource('sat_counter.cc')
616253Sgblack@eecs.umich.eduSource('socket.cc')
627396Sgblack@eecs.umich.eduSource('statistics.cc')
6310037SARM gem5 DevelopersSource('str.cc')
648745Sgblack@eecs.umich.eduSource('time.cc')
657405SAli.Saidi@ARM.comSource('trace.cc')
6610461SAndreas.Sandberg@ARM.comSource('userinfo.cc')
678782Sgblack@eecs.umich.edu
688782Sgblack@eecs.umich.eduSource('compression/lzss_compression.cc')
698782Sgblack@eecs.umich.edu
707259Sgblack@eecs.umich.eduSource('loader/aout_object.cc')
718757Sgblack@eecs.umich.eduSource('loader/ecoff_object.cc')
7210461SAndreas.Sandberg@ARM.comSource('loader/elf_object.cc')
738782Sgblack@eecs.umich.eduSource('loader/hex_file.cc')
748757Sgblack@eecs.umich.eduSource('loader/object_file.cc')
758777Sgblack@eecs.umich.eduSource('loader/raw_object.cc')
768782Sgblack@eecs.umich.eduSource('loader/symtab.cc')
778756Sgblack@eecs.umich.edu
7810037SARM gem5 DevelopersSource('stats/events.cc')
7910037SARM gem5 DevelopersSource('stats/output.cc')
806019Shines@cs.fsu.eduSource('stats/text.cc')
816757SAli.Saidi@ARM.comSource('stats/visit.cc')
828757Sgblack@eecs.umich.edu
836019Shines@cs.fsu.eduif env['USE_MYSQL']:
848745Sgblack@eecs.umich.edu    Source('mysql.cc')
859384SAndreas.Sandberg@arm.com    Source('stats/mysql.cc')
866397Sgblack@eecs.umich.edu
878782Sgblack@eecs.umich.eduTraceFlag('Annotate', "State machine annotation debugging")
886019Shines@cs.fsu.eduTraceFlag('AnnotateQ', "State machine annotation queue debugging")
8910461SAndreas.Sandberg@ARM.comTraceFlag('AnnotateVerbose', "Dump all state machine annotation details")
906397Sgblack@eecs.umich.eduTraceFlag('GDBAcc', "Remote debugger accesses")
918335Snate@binkert.orgTraceFlag('GDBExtra', "Dump extra information on reads and writes")
929023Sgblack@eecs.umich.eduTraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
939023Sgblack@eecs.umich.eduTraceFlag('GDBRead', "Reads to the remote address space")
9410461SAndreas.Sandberg@ARM.comTraceFlag('GDBRecv', "Messages received from the remote application")
958335Snate@binkert.orgTraceFlag('GDBSend', "Messages sent to the remote application")
966019Shines@cs.fsu.eduTraceFlag('GDBWrite', "Writes to the remote address space")
9710196SCurtis.Dunham@arm.comTraceFlag('SQL', "SQL queries sent to the server")
9810196SCurtis.Dunham@arm.comTraceFlag('StatEvents', "Statistics event tracking")
99
100CompoundFlag('GDBAll',
101    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
102      'GDBExtra' ],
103    desc="All Remote debugging flags")
104CompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'],
105    desc="All Annotation flags")
106
107