SConscript revision 14037
1247Sstever@eecs.umich.edu# -*- mode:python -*- 22783Sktlim@umich.edu 3247Sstever@eecs.umich.edu# Copyright (c) 2009 The Hewlett-Packard Development Company 4247Sstever@eecs.umich.edu# All rights reserved. 5247Sstever@eecs.umich.edu# 6247Sstever@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 7247Sstever@eecs.umich.edu# modification, are permitted provided that the following conditions are 8247Sstever@eecs.umich.edu# met: redistributions of source code must retain the above copyright 9247Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 10247Sstever@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 11247Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 12247Sstever@eecs.umich.edu# documentation and/or other materials provided with the distribution; 13247Sstever@eecs.umich.edu# neither the name of the copyright holders nor the names of its 14247Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from 15247Sstever@eecs.umich.edu# this software without specific prior written permission. 16247Sstever@eecs.umich.edu# 17247Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18247Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19247Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20247Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21247Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22247Sstever@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23247Sstever@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24247Sstever@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25247Sstever@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26247Sstever@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27247Sstever@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28247Sstever@eecs.umich.edu# 29247Sstever@eecs.umich.edu# Authors: Nathan Binkert 301123Sstever@eecs.umich.edu 311123Sstever@eecs.umich.eduImport('*') 321123Sstever@eecs.umich.edu 331746Shsul@eecs.umich.eduif env['PROTOCOL'] == 'None': 341746Shsul@eecs.umich.edu Return() 351123Sstever@eecs.umich.edu 361123Sstever@eecs.umich.eduenv.Append(CPPDEFINES={'NUMBER_BITS_PER_SET': env['NUMBER_BITS_PER_SET']}) 371123Sstever@eecs.umich.edu 381123Sstever@eecs.umich.eduSource('Address.cc') 392783Sktlim@umich.eduSource('BoolVec.cc') 401123Sstever@eecs.umich.eduSource('Consumer.cc') 41247Sstever@eecs.umich.eduSource('DataBlock.cc') 42247Sstever@eecs.umich.eduSource('Histogram.cc') 431746Shsul@eecs.umich.eduSource('IntVec.cc') 44247Sstever@eecs.umich.eduSource('NetDest.cc') 45247Sstever@eecs.umich.eduSource('SubBlock.cc') 46247Sstever@eecs.umich.eduSource('WriteMask.cc') 47247Sstever@eecs.umich.edu