74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz###########################################################################
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# Permission is hereby granted, free of charge, to any person obtaining a
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# copy of this software and associated documentation files (the "Software"),
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# to deal in the Software without restriction, including without limitation
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# the rights to use, copy, modify, merge, publish, distribute, sublicense,
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# and/or sell copies of the Software, and to permit persons to whom the
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# Software is furnished to do so, subject to the following conditions:
23d859f2ce09c04ed802cb4912cc9c50f512f0a2bgk# The above copyright notice and this permission notice (including the next
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# paragraph) shall be included in all copies or substantial portions of the
8c39cbeab9949a0a7d6ae66b768a7352019e42f8johanengelen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
072916d0ef7dccd696b59381f50bcf776abccefbjohanengelen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
072916d0ef7dccd696b59381f50bcf776abccefbjohanengelen# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
add2ffae3c4686b50d888775bbdf083a4726a210johanengelen# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
add2ffae3c4686b50d888775bbdf083a4726a210johanengelen# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz# DEALINGS IN THE SOFTWARE.
74ed5bd66f5d8a1465b69bd0450f2af030b638f0joncruz###########################################################################
0563fd55cbad59e8a878e6d4cbbdd8e47f74488djohanengelenXMAKE="$(pwd)/open-src/util/build-tools/xmake ${VERBOSE_FLAGS} -k"
0563fd55cbad59e8a878e6d4cbbdd8e47f74488djohanengelen# Make sure Solaris make, not GNU make, is first in the $PATH
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyakif [[ $? != 0 ]] ; then
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyakfor i in $* ; do
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak -n) WGET="echo $WGET"; MAKE_FLAGS="$MAKE_FLAGS -n" ; shift;;
70eb1fc448cb08acf3468f80fa2296c03b32afd2cilix${XMAKE} setup || fatal_error "make setup failed: cannot continue"
b320a8d186114a5122ddc3afbe95110eb6cb10cecilixif [[ ! -d tarballs ]] ; then