SConscript revision 13359:4f3ab46cc7c7
110780SCurtis.Dunham@arm.com# -*- mode:python -*-
27586SAli.Saidi@arm.com
37586SAli.Saidi@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
47586SAli.Saidi@arm.com# All rights reserved.
57586SAli.Saidi@arm.com#
67586SAli.Saidi@arm.com# Redistribution and use in source and binary forms, with or without
77586SAli.Saidi@arm.com# modification, are permitted provided that the following conditions are
87586SAli.Saidi@arm.com# met: redistributions of source code must retain the above copyright
97586SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer;
107586SAli.Saidi@arm.com# redistributions in binary form must reproduce the above copyright
117586SAli.Saidi@arm.com# notice, this list of conditions and the following disclaimer in the
127586SAli.Saidi@arm.com# documentation and/or other materials provided with the distribution;
137905SBrad.Beckmann@amd.com# neither the name of the copyright holders nor the names of its
145323Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
152934Sktlim@umich.edu# this software without specific prior written permission.
162934Sktlim@umich.edu#
172934Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182934Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192934Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202934Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212934Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222934Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232934Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242934Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252934Sktlim@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262934Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272934Sktlim@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282934Sktlim@umich.edu#
292934Sktlim@umich.edu# Authors: Nathan Binkert
302934Sktlim@umich.edu
312934Sktlim@umich.eduImport('*')
322934Sktlim@umich.edu
332934Sktlim@umich.eduif env['CP_ANNOTATE']:
342934Sktlim@umich.edu    SimObject('CPA.py')
352934Sktlim@umich.edu    Source('cp_annotate.cc')
362934Sktlim@umich.eduSimObject('Graphics.py')
372934Sktlim@umich.eduSource('atomicio.cc')
382934Sktlim@umich.eduSource('bitfield.cc')
392934Sktlim@umich.eduSource('imgwriter.cc')
402934Sktlim@umich.eduSource('bmpwriter.cc')
412934Sktlim@umich.eduSource('callback.cc')
422934Sktlim@umich.eduSource('cprintf.cc', add_tags='gtest lib')
432995Ssaidi@eecs.umich.eduGTest('cprintftest', 'cprintftest.cc')
4410046Snilay@cs.wisc.eduSource('debug.cc')
452934Sktlim@umich.eduif env['USE_FENV']:
4610747SChris.Emmons@arm.com    Source('fenv.c')
4710747SChris.Emmons@arm.comif env['USE_PNG']:
4810747SChris.Emmons@arm.com    Source('pngwriter.cc')
4910747SChris.Emmons@arm.comSource('fiber.cc')
5010747SChris.Emmons@arm.comGTest('fibertest', 'fibertest.cc', 'fiber.cc')
5110747SChris.Emmons@arm.comGTest('coroutinetest', 'coroutinetest.cc', 'fiber.cc')
5210747SChris.Emmons@arm.comSource('framebuffer.cc')
5310747SChris.Emmons@arm.comSource('hostinfo.cc')
5410747SChris.Emmons@arm.comSource('inet.cc')
5510747SChris.Emmons@arm.comSource('inifile.cc')
5610747SChris.Emmons@arm.comSource('intmath.cc')
5710747SChris.Emmons@arm.comSource('logging.cc')
582934Sktlim@umich.eduSource('match.cc')
592934Sktlim@umich.eduSource('output.cc')
602934Sktlim@umich.eduSource('pixel.cc')
612934Sktlim@umich.eduGTest('pixeltest', 'pixeltest.cc', 'pixel.cc')
622934Sktlim@umich.eduSource('pollevent.cc')
632934Sktlim@umich.eduSource('random.cc')
642934Sktlim@umich.eduif env['TARGET_ISA'] != 'null':
6510720Sandreas.hansson@arm.com    Source('remote_gdb.cc')
666122SSteve.Reinhardt@amd.comSource('socket.cc')
676122SSteve.Reinhardt@amd.comSource('statistics.cc')
686122SSteve.Reinhardt@amd.comSource('str.cc')
6910594Sgabeblack@google.comSource('time.cc')
7010594Sgabeblack@google.comSource('trace.cc')
7110697SCurtis.Dunham@arm.comGTest('trietest', 'trietest.cc')
7210594Sgabeblack@google.comSource('types.cc')
7310594Sgabeblack@google.com
7410594Sgabeblack@google.comSource('loader/aout_object.cc')
7510594Sgabeblack@google.comSource('loader/dtb_object.cc')
7610594Sgabeblack@google.comSource('loader/ecoff_object.cc')
7710118Snilay@cs.wisc.eduSource('loader/elf_object.cc')
784520Ssaidi@eecs.umich.eduSource('loader/hex_file.cc')
794982Ssaidi@eecs.umich.eduSource('loader/object_file.cc')
804520Ssaidi@eecs.umich.eduSource('loader/raw_object.cc')
814520Ssaidi@eecs.umich.eduSource('loader/symtab.cc')
822934Sktlim@umich.edu
832934Sktlim@umich.eduSource('stats/text.cc')
843005Sstever@eecs.umich.edu
853005Sstever@eecs.umich.eduGTest('addr_range_test', 'addr_range_test.cc')
863304Sstever@eecs.umich.eduGTest('bituniontest', 'bituniontest.cc')
872995Ssaidi@eecs.umich.eduGTest('CircleBufTest', 'circlebuftest.cc')
8810118Snilay@cs.wisc.edu
8910118Snilay@cs.wisc.eduDebugFlag('Annotate', "State machine annotation debugging")
9010118Snilay@cs.wisc.eduDebugFlag('AnnotateQ', "State machine annotation queue debugging")
9110118Snilay@cs.wisc.eduDebugFlag('AnnotateVerbose', "Dump all state machine annotation details")
9210720Sandreas.hansson@arm.comDebugFlag('GDBAcc', "Remote debugger accesses")
9310118Snilay@cs.wisc.eduDebugFlag('GDBExtra', "Dump extra information on reads and writes")
9410118Snilay@cs.wisc.eduDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
9510118Snilay@cs.wisc.eduDebugFlag('GDBRead', "Reads to the remote address space")
9610118Snilay@cs.wisc.eduDebugFlag('GDBRecv', "Messages received from the remote application")
9710118Snilay@cs.wisc.eduDebugFlag('GDBSend', "Messages sent to the remote application")
9810118Snilay@cs.wisc.eduDebugFlag('GDBWrite', "Writes to the remote address space")
9910118Snilay@cs.wisc.eduDebugFlag('SQL', "SQL queries sent to the server")
10010118Snilay@cs.wisc.eduDebugFlag('StatEvents', "Statistics event tracking")
10110118Snilay@cs.wisc.edu
10210118Snilay@cs.wisc.eduCompoundFlag('GDBAll',
10310118Snilay@cs.wisc.edu    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
10410118Snilay@cs.wisc.edu      'GDBExtra' ],
10510118Snilay@cs.wisc.edu    desc="All Remote debugging flags")
10610118Snilay@cs.wisc.eduCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'],
10710118Snilay@cs.wisc.edu    desc="All Annotation flags")
10810118Snilay@cs.wisc.edu
10910118Snilay@cs.wisc.edu