SConscript revision 11293
1247Sstever@eecs.umich.edu# -*- mode:python -*-
24018Sstever@eecs.umich.edu
3247Sstever@eecs.umich.edu# Copyright (c) 2015 ARM Limited
4247Sstever@eecs.umich.edu# All rights reserved.
5247Sstever@eecs.umich.edu#
6247Sstever@eecs.umich.edu# The license below extends only to copyright in the software and shall
7247Sstever@eecs.umich.edu# not be construed as granting a license to any other intellectual
8247Sstever@eecs.umich.edu# property including but not limited to intellectual property relating
9247Sstever@eecs.umich.edu# to a hardware implementation of the functionality of the software
10247Sstever@eecs.umich.edu# licensed hereunder.  You may use the software subject to the license
11247Sstever@eecs.umich.edu# terms below provided that you ensure that this notice is replicated
12247Sstever@eecs.umich.edu# unmodified and in its entirety in all distributions of the software,
13247Sstever@eecs.umich.edu# modified or unmodified, in source code or in binary form.
14247Sstever@eecs.umich.edu#
15247Sstever@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
16247Sstever@eecs.umich.edu# modification, are permitted provided that the following conditions are
17247Sstever@eecs.umich.edu# met: redistributions of source code must retain the above copyright
18247Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
19247Sstever@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
20247Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
21247Sstever@eecs.umich.edu# documentation and/or other materials provided with the distribution;
22247Sstever@eecs.umich.edu# neither the name of the copyright holders nor the names of its
23247Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from
24247Sstever@eecs.umich.edu# this software without specific prior written permission.
25247Sstever@eecs.umich.edu#
26247Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27247Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28247Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29247Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
301123Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
315725SSteve.Reinhardt@amd.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
325725SSteve.Reinhardt@amd.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
335725SSteve.Reinhardt@amd.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
341123Sstever@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
351746Shsul@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
361746Shsul@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
371123Sstever@eecs.umich.edu#
383362Sstever@eecs.umich.edu# Authors: Andreas Hansson
393362Sstever@eecs.umich.edu
403362Sstever@eecs.umich.eduImport('main')
413362Sstever@eecs.umich.edu
423362Sstever@eecs.umich.edumain.Library('iostream3', [main.SharedObject('zfstream.cc')])
433362Sstever@eecs.umich.edu
443362Sstever@eecs.umich.edumain.Prepend(CPPPATH=Dir('.'))
455725SSteve.Reinhardt@amd.commain.Append(LIBS=['iostream3'])
465725SSteve.Reinhardt@amd.commain.Prepend(LIBPATH=[Dir('.')])
475725SSteve.Reinhardt@amd.com