SConscript revision 13482:6af7a10675b4
12207SN/A# -*- mode:python -*- 22207SN/A 32207SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42207SN/A# All rights reserved. 52207SN/A# 62207SN/A# Redistribution and use in source and binary forms, with or without 72207SN/A# modification, are permitted provided that the following conditions are 82207SN/A# met: redistributions of source code must retain the above copyright 92207SN/A# notice, this list of conditions and the following disclaimer; 102207SN/A# redistributions in binary form must reproduce the above copyright 112207SN/A# notice, this list of conditions and the following disclaimer in the 122207SN/A# documentation and/or other materials provided with the distribution; 132207SN/A# neither the name of the copyright holders nor the names of its 142207SN/A# contributors may be used to endorse or promote products derived from 152207SN/A# this software without specific prior written permission. 162207SN/A# 172207SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182207SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192207SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202207SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212207SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222207SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232207SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242207SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252207SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262207SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272665Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302207SN/A 312207SN/AImport('*') 322474SN/A 332207SN/Aif env['CP_ANNOTATE']: 342454SN/A SimObject('CPA.py') 352976Sgblack@eecs.umich.edu Source('cp_annotate.cc') 362454SN/ASimObject('Graphics.py') 372680Sktlim@umich.eduSource('atomicio.cc') 382561SN/ASource('bitfield.cc') 392561SN/ASource('imgwriter.cc') 402474SN/ASource('bmpwriter.cc') 412207SN/ASource('callback.cc') 422458SN/ASource('cprintf.cc', add_tags='gtest lib') 432474SN/AGTest('cprintf.test', 'cprintf.test.cc') 442458SN/ASource('debug.cc') 452207SN/Aif env['USE_FENV']: 462474SN/A Source('fenv.c') 472474SN/Aif env['USE_PNG']: 482474SN/A Source('pngwriter.cc') 492474SN/ASource('fiber.cc') 502474SN/AGTest('fiber.test', 'fiber.test.cc', 'fiber.cc') 512474SN/AGTest('coroutine.test', 'coroutine.test.cc', 'fiber.cc') 522474SN/ASource('framebuffer.cc') 532474SN/ASource('hostinfo.cc') 542474SN/ASource('inet.cc') 552474SN/ASource('inifile.cc') 562474SN/AGTest('inifile.test', 'inifile.test.cc', 'inifile.cc', 'str.cc') 572561SN/ASource('intmath.cc') 582561SN/ASource('logging.cc') 593044Sgblack@eecs.umich.eduSource('match.cc') 602474SN/ASource('output.cc') 612474SN/ASource('pixel.cc') 622474SN/AGTest('pixel.test', 'pixel.test.cc', 'pixel.cc') 633044Sgblack@eecs.umich.eduSource('pollevent.cc') 642474SN/ASource('random.cc') 652474SN/Aif env['TARGET_ISA'] != 'null': 662474SN/A Source('remote_gdb.cc') 672474SN/ASource('socket.cc') 682474SN/ASource('statistics.cc') 692474SN/ASource('str.cc') 702474SN/ASource('time.cc') 712474SN/ASource('trace.cc') 722474SN/AGTest('trie.test', 'trie.test.cc') 732561SN/ASource('types.cc') 742561SN/A 752561SN/ASource('loader/aout_object.cc') 762561SN/ASource('loader/dtb_object.cc') 772680Sktlim@umich.eduSource('loader/ecoff_object.cc') 782561SN/ASource('loader/elf_object.cc') 792646Ssaidi@eecs.umich.eduSource('loader/hex_file.cc') 802680Sktlim@umich.eduSource('loader/object_file.cc') 812646Ssaidi@eecs.umich.eduSource('loader/raw_object.cc') 822680Sktlim@umich.eduSource('loader/symtab.cc') 832646Ssaidi@eecs.umich.edu 842561SN/ASource('stats/text.cc') 852561SN/A 862561SN/AGTest('addr_range.test', 'addr_range.test.cc') 872561SN/AGTest('addr_range_map.test', 'addr_range_map.test.cc') 882561SN/AGTest('bitunion.test', 'bitunion.test.cc') 892680Sktlim@umich.eduGTest('circlebuf.test', 'circlebuf.test.cc') 902561SN/AGTest('circular_queue.test', 'circular_queue.test.cc') 912680Sktlim@umich.edu 922561SN/ADebugFlag('Annotate', "State machine annotation debugging") 932680Sktlim@umich.eduDebugFlag('AnnotateQ', "State machine annotation queue debugging") 942561SN/ADebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 952680Sktlim@umich.eduDebugFlag('GDBAcc', "Remote debugger accesses") 962561SN/ADebugFlag('GDBExtra', "Dump extra information on reads and writes") 972680Sktlim@umich.eduDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 982474SN/ADebugFlag('GDBRead', "Reads to the remote address space") 992474SN/ADebugFlag('GDBRecv', "Messages received from the remote application") 1002585SN/ADebugFlag('GDBSend', "Messages sent to the remote application") 1012585SN/ADebugFlag('GDBWrite', "Writes to the remote address space") 1022585SN/ADebugFlag('SQL', "SQL queries sent to the server") 1032585SN/ADebugFlag('StatEvents', "Statistics event tracking") 1042585SN/A 1052585SN/ACompoundFlag('GDBAll', 1062585SN/A [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 1072585SN/A 'GDBExtra' ], 1082561SN/A desc="All Remote debugging flags") 1092561SN/ACompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 1102561SN/A desc="All Annotation flags") 1112561SN/A 1122474SN/A