Makefile revision 5600
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# This code is free software; you can redistribute it and/or modify it
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# under the terms of the GNU General Public License version 2 only, as
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# published by the Free Software Foundation. Oracle designates this
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# particular file as subject to the "Classpath" exception as provided
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# by Oracle in the LICENSE file that accompanied this code.
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# This code is distributed in the hope that it will be useful, but WITHOUT
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# version 2 for more details (a copy is included in the LICENSE file that
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# accompanied this code).
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# You should have received a copy of the GNU General Public License version
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# 2 along with this work; if not, write to the Free Software Foundation,
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
cf0fbc49e67b55f8d346fc94de28c90113505297Thomas Hindoe Paaboel Andersen# or visit www.oracle.com if you need additional information or have any
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# INCLUDE_SA is false on platforms where SA is not supported.
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# On platforms where it is supported, we want to allow it to
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# not be present, at least temporarily. So,
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# if the SA files (well, just sa-jdi.jar) do not exist
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart Poettering# in the HOTSPOT_IMPORT_PATH, then we won't build SA.
099524d7b0df690e3361ffc3fe3c6aed0558b4fcLennart PoetteringSA_EXISTS := $(shell if [ -r $(HOTSPOT_IMPORT_PATH)/lib/sa-jdi.jar ] ; then \
# - sa-jdi.jar: This goes into the same dir as tools.jar.
# - a shared library: sawindbg.dll on windows / libproc.sa on unix
# shared libs, eg. libjdwp.so.