SConscript revision 9850
12086SN/A# -*- mode:python -*-
22086SN/A
35268Sksewell@umich.edu# Copyright (c) 2012 ARM Limited
42086SN/A# All rights reserved.
52086SN/A#
62086SN/A# The license below extends only to copyright in the software and shall
72086SN/A# not be construed as granting a license to any other intellectual
82086SN/A# property including but not limited to intellectual property relating
92086SN/A# to a hardware implementation of the functionality of the software
102086SN/A# licensed hereunder.  You may use the software subject to the license
112086SN/A# terms below provided that you ensure that this notice is replicated
122086SN/A# unmodified and in its entirety in all distributions of the software,
132086SN/A# modified or unmodified, in source code or in binary form.
142086SN/A#
152086SN/A# Redistribution and use in source and binary forms, with or without
162086SN/A# modification, are permitted provided that the following conditions are
172086SN/A# met: redistributions of source code must retain the above copyright
182086SN/A# notice, this list of conditions and the following disclaimer;
192086SN/A# redistributions in binary form must reproduce the above copyright
202086SN/A# notice, this list of conditions and the following disclaimer in the
212086SN/A# documentation and/or other materials provided with the distribution;
222086SN/A# neither the name of the copyright holders nor the names of its
232086SN/A# contributors may be used to endorse or promote products derived from
242086SN/A# this software without specific prior written permission.
252086SN/A#
262086SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
272086SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
282665Ssaidi@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
292665Ssaidi@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
302665Ssaidi@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
312686Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
322086SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
334202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
342086SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
354202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
368775Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
379022Sgblack@eecs.umich.edu#
388758Sgblack@eecs.umich.edu# Authors: Andreas Hansson
394202Sbinkertn@umich.edu
408775Sgblack@eecs.umich.eduImport('*')
418745Sgblack@eecs.umich.edu
426313Sgblack@eecs.umich.edu# Only build if we have protobuf support
438775Sgblack@eecs.umich.eduif env['HAVE_PROTOBUF']:
448775Sgblack@eecs.umich.edu    ProtoBuf('packet.proto')
458775Sgblack@eecs.umich.edu    Source('protoio.cc')
468758Sgblack@eecs.umich.edu