#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# This guards against adding broken .java files to the directory
# hierarchy, but may be a pain to keep in sync
# Generated using the build-pkglist script
else
else
PKGLIST = \
#END PKGLIST
# Generated using the build-filelist script
FILELIST = \
#END FILELIST
else
CPS := :
else
# gnumake 3.78.1 does not accept the *s,
# so use the shell to expand them
# tools.jar is used by the sa-jdi binding
# FIXME: autogenerate call to rmic
# Tagging it on because there's no reason not to run it
@mkdir -p $(OUTPUT_DIR)
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
@mkdir -p $(OUTPUT_DIR)
$(JAVAC) -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
echo ""; \
exit 1; \
fi
@rm -f $@
@echo $(ALLFILES) > $@
echo "sa-jdi.jar is built by a hotspot build."
docs:
rm -f java.files
echo $(ALLFILES) > java.files
rm -f java.files
clean::