SConscript revision 10915
112027Sjungma@eit.uni-kl.de# -*- mode:python -*-
212027Sjungma@eit.uni-kl.de
312027Sjungma@eit.uni-kl.de# Copyright (c) 2015 ARM Limited
412027Sjungma@eit.uni-kl.de# All rights reserved.
512027Sjungma@eit.uni-kl.de#
612027Sjungma@eit.uni-kl.de# The license below extends only to copyright in the software and shall
712027Sjungma@eit.uni-kl.de# not be construed as granting a license to any other intellectual
812027Sjungma@eit.uni-kl.de# property including but not limited to intellectual property relating
912027Sjungma@eit.uni-kl.de# to a hardware implementation of the functionality of the software
1012027Sjungma@eit.uni-kl.de# licensed hereunder.  You may use the software subject to the license
1112027Sjungma@eit.uni-kl.de# terms below provided that you ensure that this notice is replicated
1212027Sjungma@eit.uni-kl.de# unmodified and in its entirety in all distributions of the software,
1312027Sjungma@eit.uni-kl.de# modified or unmodified, in source code or in binary form.
1412027Sjungma@eit.uni-kl.de#
1512027Sjungma@eit.uni-kl.de# Redistribution and use in source and binary forms, with or without
1612027Sjungma@eit.uni-kl.de# modification, are permitted provided that the following conditions are
1712027Sjungma@eit.uni-kl.de# met: redistributions of source code must retain the above copyright
1812027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer;
1912027Sjungma@eit.uni-kl.de# redistributions in binary form must reproduce the above copyright
2012027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer in the
2112027Sjungma@eit.uni-kl.de# documentation and/or other materials provided with the distribution;
2212027Sjungma@eit.uni-kl.de# neither the name of the copyright holders nor the names of its
2312027Sjungma@eit.uni-kl.de# contributors may be used to endorse or promote products derived from
2412027Sjungma@eit.uni-kl.de# this software without specific prior written permission.
2512027Sjungma@eit.uni-kl.de#
2612027Sjungma@eit.uni-kl.de# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2712027Sjungma@eit.uni-kl.de# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2812027Sjungma@eit.uni-kl.de# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2912027Sjungma@eit.uni-kl.de# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3012027Sjungma@eit.uni-kl.de# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3112027Sjungma@eit.uni-kl.de# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3212027Sjungma@eit.uni-kl.de# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3312027Sjungma@eit.uni-kl.de# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3412027Sjungma@eit.uni-kl.de# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3512027Sjungma@eit.uni-kl.de# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3612027Sjungma@eit.uni-kl.de# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3712027Sjungma@eit.uni-kl.de#
3812027Sjungma@eit.uni-kl.de# Authors: Andreas Sandberg
3912027Sjungma@eit.uni-kl.de
4012027Sjungma@eit.uni-kl.deImport('main')
4112027Sjungma@eit.uni-kl.de
4212027Sjungma@eit.uni-kl.demain.Prepend(CPPPATH=Dir('./include'))
4312027Sjungma@eit.uni-kl.de
4412027Sjungma@eit.uni-kl.denomali = main.Clone()
4512027Sjungma@eit.uni-kl.de
4612027Sjungma@eit.uni-kl.denomali_sources = [
4712027Sjungma@eit.uni-kl.de    "lib/gpu.cc",
4812027Sjungma@eit.uni-kl.de    "lib/gpublock.cc",
4912027Sjungma@eit.uni-kl.de    "lib/gpucontrol.cc",
5012027Sjungma@eit.uni-kl.de    "lib/jobcontrol.cc",
5112027Sjungma@eit.uni-kl.de    "lib/jobslot.cc",
5212027Sjungma@eit.uni-kl.de    "lib/mali_midgard.cc",
5312027Sjungma@eit.uni-kl.de    "lib/mali_t6xx.cc",
5412027Sjungma@eit.uni-kl.de    "lib/mali_t7xx.cc",
5512027Sjungma@eit.uni-kl.de    "lib/mmu.cc",
5612027Sjungma@eit.uni-kl.de    "lib/nomali_api.cc",
5712027Sjungma@eit.uni-kl.de]
5812027Sjungma@eit.uni-kl.de
5912027Sjungma@eit.uni-kl.denomali.Library('nomali', [  nomali.SharedObject(f) for f in nomali_sources ])
6012027Sjungma@eit.uni-kl.de
6112027Sjungma@eit.uni-kl.demain.Append(LIBS=['nomali'])
6212027Sjungma@eit.uni-kl.demain.Prepend(LIBPATH=[Dir('.')])
6312027Sjungma@eit.uni-kl.de
6412027Sjungma@eit.uni-kl.de