SConscript revision 10839
14484Sbinkertn@umich.edu# -*- mode:python -*- 24484Sbinkertn@umich.edu 34484Sbinkertn@umich.edu# Copyright (c) 2012 ARM Limited 44484Sbinkertn@umich.edu# All rights reserved. 54484Sbinkertn@umich.edu# 64484Sbinkertn@umich.edu# The license below extends only to copyright in the software and shall 74484Sbinkertn@umich.edu# not be construed as granting a license to any other intellectual 84484Sbinkertn@umich.edu# property including but not limited to intellectual property relating 94484Sbinkertn@umich.edu# to a hardware implementation of the functionality of the software 104484Sbinkertn@umich.edu# licensed hereunder. You may use the software subject to the license 114484Sbinkertn@umich.edu# terms below provided that you ensure that this notice is replicated 124484Sbinkertn@umich.edu# unmodified and in its entirety in all distributions of the software, 134484Sbinkertn@umich.edu# modified or unmodified, in source code or in binary form. 144484Sbinkertn@umich.edu# 154484Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 164484Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 174484Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 184484Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 194484Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 204484Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 214484Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 224484Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 234484Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 244484Sbinkertn@umich.edu# this software without specific prior written permission. 254484Sbinkertn@umich.edu# 264484Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 274484Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 284484Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 294484Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 304484Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 314494Ssaidi@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 324484Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 336121Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 344484Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 358946Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 368946Sandreas.hansson@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 374484Sbinkertn@umich.edu# 384484Sbinkertn@umich.edu# Authors: Andreas Hansson 394484Sbinkertn@umich.edu 404781Snate@binkert.orgImport('*') 414484Sbinkertn@umich.edu 424484Sbinkertn@umich.edu# Only build if we have protobuf support 434484Sbinkertn@umich.eduif env['HAVE_PROTOBUF']: 444484Sbinkertn@umich.edu ProtoBuf('packet.proto') 458349Sgblack@eecs.umich.edu ProtoBuf('inst.proto') 468349Sgblack@eecs.umich.edu Source('protoio.cc') 474484Sbinkertn@umich.edu