SConscript revision 5887:6b312cafaa59
114039Sstacze01@arm.com# -*- mode:python -*-
214039Sstacze01@arm.com
314039Sstacze01@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
414039Sstacze01@arm.com# All rights reserved.
514039Sstacze01@arm.com#
614039Sstacze01@arm.com# Redistribution and use in source and binary forms, with or without
714039Sstacze01@arm.com# modification, are permitted provided that the following conditions are
814039Sstacze01@arm.com# met: redistributions of source code must retain the above copyright
914039Sstacze01@arm.com# notice, this list of conditions and the following disclaimer;
1014039Sstacze01@arm.com# redistributions in binary form must reproduce the above copyright
1114039Sstacze01@arm.com# notice, this list of conditions and the following disclaimer in the
1214039Sstacze01@arm.com# documentation and/or other materials provided with the distribution;
1314039Sstacze01@arm.com# neither the name of the copyright holders nor the names of its
1414039Sstacze01@arm.com# contributors may be used to endorse or promote products derived from
1514039Sstacze01@arm.com# this software without specific prior written permission.
1614039Sstacze01@arm.com#
1714039Sstacze01@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1814039Sstacze01@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1914039Sstacze01@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2014039Sstacze01@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2114039Sstacze01@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2214039Sstacze01@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2314039Sstacze01@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2414039Sstacze01@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2514039Sstacze01@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2614039Sstacze01@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2714039Sstacze01@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2814039Sstacze01@arm.com#
2914039Sstacze01@arm.com# Authors: Nathan Binkert
3014039Sstacze01@arm.com
3114039Sstacze01@arm.comImport('*')
3214039Sstacze01@arm.com
3314039Sstacze01@arm.comSource('annotate.cc')
3414039Sstacze01@arm.comSource('atomicio.cc')
3514039Sstacze01@arm.comSource('bigint.cc')
3614039Sstacze01@arm.comSource('circlebuf.cc')
3714039Sstacze01@arm.comSource('cprintf.cc')
3814039Sstacze01@arm.comSource('crc.cc')
3914039Sstacze01@arm.comSource('debug.cc')
4014039Sstacze01@arm.comSource('fast_alloc.cc')
4114039Sstacze01@arm.comif env['USE_FENV']:
4214039Sstacze01@arm.com    Source('fenv.c')
4314039Sstacze01@arm.comSource('fifo_buffer.cc')
4414039Sstacze01@arm.comSource('hostinfo.cc')
4514039Sstacze01@arm.comSource('hybrid_pred.cc')
4614039Sstacze01@arm.comSource('inet.cc')
4714039Sstacze01@arm.comSource('inifile.cc')
4814039Sstacze01@arm.comSource('intmath.cc')
4914039Sstacze01@arm.comSource('match.cc')
5014039Sstacze01@arm.comSource('misc.cc')
5114039Sstacze01@arm.comSource('output.cc')
5214039Sstacze01@arm.comSource('pollevent.cc')
5314039Sstacze01@arm.comSource('random.cc')
5414039Sstacze01@arm.comSource('random_mt.cc')
5514039Sstacze01@arm.comSource('range.cc')
5614039Sstacze01@arm.comSource('remote_gdb.cc')
5714039Sstacze01@arm.comSource('sat_counter.cc')
5814039Sstacze01@arm.comSource('socket.cc')
5914039Sstacze01@arm.comSource('statistics.cc')
6014039Sstacze01@arm.comSource('str.cc')
6114039Sstacze01@arm.comSource('time.cc')
6214039Sstacze01@arm.comSource('trace.cc')
6314039Sstacze01@arm.comSource('userinfo.cc')
6414039Sstacze01@arm.com
6514039Sstacze01@arm.comSource('compression/lzss_compression.cc')
6614039Sstacze01@arm.com
6714039Sstacze01@arm.comSource('loader/aout_object.cc')
6814039Sstacze01@arm.comSource('loader/ecoff_object.cc')
6914039Sstacze01@arm.comSource('loader/elf_object.cc')
7014039Sstacze01@arm.comSource('loader/hex_file.cc')
7114039Sstacze01@arm.comSource('loader/object_file.cc')
7214039Sstacze01@arm.comSource('loader/raw_object.cc')
7314039Sstacze01@arm.comSource('loader/symtab.cc')
7414039Sstacze01@arm.com
7514039Sstacze01@arm.comSource('stats/events.cc')
7614039Sstacze01@arm.comSource('stats/output.cc')
7714039Sstacze01@arm.comSource('stats/text.cc')
7814039Sstacze01@arm.comSource('stats/visit.cc')
7914039Sstacze01@arm.com
8014039Sstacze01@arm.comif env['USE_MYSQL']:
8114039Sstacze01@arm.com    Source('mysql.cc')
8214039Sstacze01@arm.com    Source('stats/mysql.cc')
8314039Sstacze01@arm.com
8414039Sstacze01@arm.comTraceFlag('Annotate', "State machine annotation debugging")
8514039Sstacze01@arm.comTraceFlag('GDBAcc', "Remote debugger accesses")
8614039Sstacze01@arm.comTraceFlag('GDBExtra', "Dump extra information on reads and writes")
8714039Sstacze01@arm.comTraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
8814039Sstacze01@arm.comTraceFlag('GDBRead', "Reads to the remote address space")
8914039Sstacze01@arm.comTraceFlag('GDBRecv', "Messages received from the remote application")
9014039Sstacze01@arm.comTraceFlag('GDBSend', "Messages sent to the remote application")
9114039Sstacze01@arm.comTraceFlag('GDBWrite', "Writes to the remote address space")
9214039Sstacze01@arm.comTraceFlag('SQL', "SQL queries sent to the server")
9314039Sstacze01@arm.comTraceFlag('StatEvents', "Statistics event tracking")
9414039Sstacze01@arm.com
9514039Sstacze01@arm.comCompoundFlag('GDBAll',
9614039Sstacze01@arm.com    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
9714039Sstacze01@arm.com      'GDBExtra' ],
9814039Sstacze01@arm.com    desc="All Remote debugging flags")
9914039Sstacze01@arm.com