SConscript revision 5625
19157Sandreas.hansson@arm.com# -*- mode:python -*- 29157Sandreas.hansson@arm.com 39157Sandreas.hansson@arm.com# Copyright (c) 2006 The Regents of The University of Michigan 49157Sandreas.hansson@arm.com# All rights reserved. 59157Sandreas.hansson@arm.com# 69157Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 79157Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 89157Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 99157Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 109157Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 119157Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 129157Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 139157Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 149157Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 159157Sandreas.hansson@arm.com# this software without specific prior written permission. 169157Sandreas.hansson@arm.com# 179157Sandreas.hansson@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 189157Sandreas.hansson@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 199157Sandreas.hansson@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 209157Sandreas.hansson@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 219157Sandreas.hansson@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 229157Sandreas.hansson@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 239157Sandreas.hansson@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 249157Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 259157Sandreas.hansson@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 269157Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 279157Sandreas.hansson@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 289157Sandreas.hansson@arm.com# 299157Sandreas.hansson@arm.com# Authors: Nathan Binkert 309157Sandreas.hansson@arm.com 319157Sandreas.hansson@arm.comImport('*') 329157Sandreas.hansson@arm.com 339157Sandreas.hansson@arm.comSource('annotate.cc') 349157Sandreas.hansson@arm.comSource('atomicio.cc') 359157Sandreas.hansson@arm.comSource('bigint.cc') 369157Sandreas.hansson@arm.comSource('circlebuf.cc') 379157Sandreas.hansson@arm.comSource('cprintf.cc') 389157Sandreas.hansson@arm.comSource('crc.cc') 399157Sandreas.hansson@arm.comSource('fast_alloc.cc') 409157Sandreas.hansson@arm.comif env['USE_FENV']: 419157Sandreas.hansson@arm.com Source('fenv.c') 429157Sandreas.hansson@arm.comSource('fifo_buffer.cc') 439157Sandreas.hansson@arm.comSource('hostinfo.cc') 449157Sandreas.hansson@arm.comSource('hybrid_pred.cc') 459157Sandreas.hansson@arm.comSource('inet.cc') 469157Sandreas.hansson@arm.comSource('inifile.cc') 479157Sandreas.hansson@arm.comSource('intmath.cc') 489157Sandreas.hansson@arm.comSource('match.cc') 499157Sandreas.hansson@arm.comSource('misc.cc') 509157Sandreas.hansson@arm.comSource('output.cc') 519157Sandreas.hansson@arm.comSource('pollevent.cc') 529157Sandreas.hansson@arm.comSource('random.cc') 539157Sandreas.hansson@arm.comSource('random_mt.cc') 549157Sandreas.hansson@arm.comSource('range.cc') 559157Sandreas.hansson@arm.comSource('remote_gdb.cc') 569157Sandreas.hansson@arm.comSource('sat_counter.cc') 579157Sandreas.hansson@arm.comSource('socket.cc') 589157Sandreas.hansson@arm.comSource('statistics.cc') 599157Sandreas.hansson@arm.comSource('str.cc') 609157Sandreas.hansson@arm.comSource('time.cc') 619157Sandreas.hansson@arm.comSource('trace.cc') 629157Sandreas.hansson@arm.comSource('userinfo.cc') 639157Sandreas.hansson@arm.com 649157Sandreas.hansson@arm.comSource('compression/lzss_compression.cc') 659157Sandreas.hansson@arm.com 669157Sandreas.hansson@arm.comSource('loader/aout_object.cc') 679157Sandreas.hansson@arm.comSource('loader/ecoff_object.cc') 689157Sandreas.hansson@arm.comSource('loader/elf_object.cc') 699157Sandreas.hansson@arm.comSource('loader/hex_file.cc') 709157Sandreas.hansson@arm.comSource('loader/object_file.cc') 719157Sandreas.hansson@arm.comSource('loader/raw_object.cc') 729157Sandreas.hansson@arm.comSource('loader/symtab.cc') 739157Sandreas.hansson@arm.com 749157Sandreas.hansson@arm.comSource('stats/events.cc') 759157Sandreas.hansson@arm.comSource('stats/output.cc') 769157Sandreas.hansson@arm.comSource('stats/statdb.cc') 779157Sandreas.hansson@arm.comSource('stats/text.cc') 789157Sandreas.hansson@arm.comSource('stats/visit.cc') 799157Sandreas.hansson@arm.com 809157Sandreas.hansson@arm.comif env['USE_MYSQL']: 819157Sandreas.hansson@arm.com Source('mysql.cc') 829157Sandreas.hansson@arm.com Source('stats/mysql.cc') 839157Sandreas.hansson@arm.com 849157Sandreas.hansson@arm.comTraceFlag('Annotate') 859157Sandreas.hansson@arm.comTraceFlag('GDBAcc') 869157Sandreas.hansson@arm.comTraceFlag('GDBExtra') 879157Sandreas.hansson@arm.comTraceFlag('GDBMisc') 889157Sandreas.hansson@arm.comTraceFlag('GDBRead') 899157Sandreas.hansson@arm.comTraceFlag('GDBRecv') 909157Sandreas.hansson@arm.comTraceFlag('GDBSend') 919157Sandreas.hansson@arm.comTraceFlag('GDBWrite') 929157Sandreas.hansson@arm.comTraceFlag('SQL') 939157Sandreas.hansson@arm.comTraceFlag('StatEvents') 949157Sandreas.hansson@arm.com 959157Sandreas.hansson@arm.comCompoundFlag('GDBAll', [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 969157Sandreas.hansson@arm.com 'GDBRecv', 'GDBExtra' ]) 979157Sandreas.hansson@arm.com