SConscript revision 12381
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/Aif env['CP_ANNOTATE']:
344202Sbinkertn@umich.edu    SimObject('CPA.py')
354382Sbinkertn@umich.edu    Source('cp_annotate.cc')
364202Sbinkertn@umich.eduSimObject('Graphics.py')
374762Snate@binkert.orgSource('atomicio.cc')
384762Snate@binkert.orgSource('bitfield.cc')
394762Snate@binkert.orgSource('bigint.cc')
40955SN/ASource('imgwriter.cc')
414381Sbinkertn@umich.eduSource('bmpwriter.cc')
424381Sbinkertn@umich.eduSource('callback.cc')
43955SN/ASource('cprintf.cc', add_tags='gtest lib')
44955SN/AGTest('cprintftest', 'cprintftest.cc')
45955SN/ASource('debug.cc')
464202Sbinkertn@umich.eduif env['USE_FENV']:
47955SN/A    Source('fenv.c')
484382Sbinkertn@umich.eduif env['USE_PNG']:
494382Sbinkertn@umich.edu    Source('pngwriter.cc')
504382Sbinkertn@umich.eduSource('framebuffer.cc')
514762Snate@binkert.orgSource('hostinfo.cc')
524762Snate@binkert.orgSource('inet.cc')
534762Snate@binkert.orgSource('inifile.cc')
544762Snate@binkert.orgSource('intmath.cc')
554762Snate@binkert.orgSource('logging.cc')
564762Snate@binkert.orgSource('match.cc')
574762Snate@binkert.orgSource('output.cc')
584762Snate@binkert.orgSource('pixel.cc')
594762Snate@binkert.orgSource('pollevent.cc')
604762Snate@binkert.orgSource('random.cc')
614762Snate@binkert.orgif env['TARGET_ISA'] != 'null':
624762Snate@binkert.org    Source('remote_gdb.cc')
634762Snate@binkert.orgSource('socket.cc')
644762Snate@binkert.orgSource('statistics.cc')
654762Snate@binkert.orgSource('str.cc')
664762Snate@binkert.orgSource('time.cc')
674762Snate@binkert.orgSource('trace.cc')
684762Snate@binkert.orgGTest('trietest', 'trietest.cc')
694762Snate@binkert.orgSource('types.cc')
704762Snate@binkert.org
714762Snate@binkert.orgSource('loader/aout_object.cc')
724762Snate@binkert.orgSource('loader/dtb_object.cc')
734762Snate@binkert.orgSource('loader/ecoff_object.cc')
744762Snate@binkert.orgSource('loader/elf_object.cc')
754762Snate@binkert.orgSource('loader/hex_file.cc')
764762Snate@binkert.orgSource('loader/object_file.cc')
774762Snate@binkert.orgSource('loader/raw_object.cc')
784762Snate@binkert.orgSource('loader/symtab.cc')
794762Snate@binkert.org
804762Snate@binkert.orgSource('stats/text.cc')
814762Snate@binkert.org
824762Snate@binkert.orgGTest('bituniontest', 'bituniontest.cc')
834762Snate@binkert.org
844382Sbinkertn@umich.eduDebugFlag('Annotate', "State machine annotation debugging")
854762Snate@binkert.orgDebugFlag('AnnotateQ', "State machine annotation queue debugging")
864382Sbinkertn@umich.eduDebugFlag('AnnotateVerbose', "Dump all state machine annotation details")
874762Snate@binkert.orgDebugFlag('GDBAcc', "Remote debugger accesses")
884381Sbinkertn@umich.eduDebugFlag('GDBExtra', "Dump extra information on reads and writes")
894762Snate@binkert.orgDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
904762Snate@binkert.orgDebugFlag('GDBRead', "Reads to the remote address space")
914762Snate@binkert.orgDebugFlag('GDBRecv', "Messages received from the remote application")
924762Snate@binkert.orgDebugFlag('GDBSend', "Messages sent to the remote application")
934762Snate@binkert.orgDebugFlag('GDBWrite', "Writes to the remote address space")
944762Snate@binkert.orgDebugFlag('SQL', "SQL queries sent to the server")
954762Snate@binkert.orgDebugFlag('StatEvents', "Statistics event tracking")
964762Snate@binkert.org
974762Snate@binkert.orgCompoundFlag('GDBAll',
984762Snate@binkert.org    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
994762Snate@binkert.org      'GDBExtra' ],
1004762Snate@binkert.org    desc="All Remote debugging flags")
1014762Snate@binkert.orgCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'],
1024762Snate@binkert.org    desc="All Annotation flags")
1034762Snate@binkert.org
1044762Snate@binkert.org