SConscript revision 5800
12139SN/A# -*- mode:python -*-
22139SN/A
32139SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42139SN/A# All rights reserved.
52139SN/A#
62139SN/A# Redistribution and use in source and binary forms, with or without
72139SN/A# modification, are permitted provided that the following conditions are
82139SN/A# met: redistributions of source code must retain the above copyright
92139SN/A# notice, this list of conditions and the following disclaimer;
102139SN/A# redistributions in binary form must reproduce the above copyright
112139SN/A# notice, this list of conditions and the following disclaimer in the
122139SN/A# documentation and/or other materials provided with the distribution;
132139SN/A# neither the name of the copyright holders nor the names of its
142139SN/A# contributors may be used to endorse or promote products derived from
152139SN/A# this software without specific prior written permission.
162139SN/A#
172139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182139SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192139SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202139SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222139SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272139SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302139SN/A
314202Sbinkertn@umich.eduImport('*')
322139SN/A
334202Sbinkertn@umich.eduSource('annotate.cc')
342152SN/ASource('atomicio.cc')
352152SN/ASource('bigint.cc')
362139SN/ASource('circlebuf.cc')
372139SN/ASource('cprintf.cc')
382139SN/ASource('crc.cc')
392139SN/ASource('fast_alloc.cc')
402139SN/Aif env['USE_FENV']:
412152SN/A    Source('fenv.c')
422152SN/ASource('fifo_buffer.cc')
432139SN/ASource('hostinfo.cc')
442139SN/ASource('hybrid_pred.cc')
452139SN/ASource('inet.cc')
464781Snate@binkert.orgSource('inifile.cc')
474781Snate@binkert.orgSource('intmath.cc')
484781Snate@binkert.orgSource('match.cc')
494781Snate@binkert.orgSource('misc.cc')
504781Snate@binkert.orgSource('output.cc')
513170Sstever@eecs.umich.eduSource('pollevent.cc')
523806Ssaidi@eecs.umich.eduSource('random.cc')
534781Snate@binkert.orgSource('random_mt.cc')
544781Snate@binkert.orgSource('range.cc')
554781Snate@binkert.orgSource('remote_gdb.cc')
564781Snate@binkert.orgSource('sat_counter.cc')
574781Snate@binkert.orgSource('socket.cc')
584781Snate@binkert.orgSource('statistics.cc')
594781Snate@binkert.orgSource('str.cc')
604781Snate@binkert.orgSource('time.cc')
614781Snate@binkert.orgSource('trace.cc')
624781Snate@binkert.orgSource('userinfo.cc')
632139SN/A
642139SN/ASource('compression/lzss_compression.cc')
653546Sgblack@eecs.umich.edu
664202Sbinkertn@umich.eduSource('loader/aout_object.cc')
672152SN/ASource('loader/ecoff_object.cc')
682152SN/ASource('loader/elf_object.cc')
692152SN/ASource('loader/hex_file.cc')
702152SN/ASource('loader/object_file.cc')
712152SN/ASource('loader/raw_object.cc')
722152SN/ASource('loader/symtab.cc')
732152SN/A
742152SN/ASource('stats/events.cc')
752152SN/ASource('stats/output.cc')
762152SN/ASource('stats/statdb.cc')
772152SN/ASource('stats/text.cc')
782152SN/ASource('stats/visit.cc')
792504SN/A
802504SN/Aif env['USE_MYSQL']:
812504SN/A    Source('mysql.cc')
822504SN/A    Source('stats/mysql.cc')
832152SN/A
842504SN/ATraceFlag('Annotate', "State machine annotation debugging")
852152SN/ATraceFlag('GDBAcc', "Remote debugger accesses")
862152SN/ATraceFlag('GDBExtra', "Dump extra information on reads and writes")
872152SN/ATraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
882152SN/ATraceFlag('GDBRead', "Reads to the remote address space")
892152SN/ATraceFlag('GDBRecv', "Messages received from the remote application")
902152SN/ATraceFlag('GDBSend', "Messages sent to the remote application")
912152SN/ATraceFlag('GDBWrite', "Writes to the remote address space")
922152SN/ATraceFlag('SQL', "SQL queries sent to the server")
932632Sstever@eecs.umich.eduTraceFlag('StatEvents', "Statistics event tracking")
942155SN/A
952155SN/ACompoundFlag('GDBAll',
962155SN/A    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
972155SN/A      'GDBExtra' ],
982155SN/A    desc="All Remote debugging flags")
992155SN/A