ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# Makefile for a sample/testcase using the 'glue' Java API bindings
c58f1213e628a545081c70e26c6b67a841cff880vboxsync# Copyright (C) 2010-2012 Oracle Corporation
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync# available from http://www.virtualbox.org. This file is free software;
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync# you can redistribute it and/or modify it under the terms of the GNU
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync# General Public License (GPL) as published by the Free Software
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# User serviceable parts: adjust the following lines appropriately
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# The host OS: linux, solaris, win, darwin, freebsd
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# Absolute (!) path to the VirtualBox install directory
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# Path to the sdk directory of the unpacked VirtualBox SDK
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# On Windows, if you want to use the COM API: install directory of Jacob lib
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# Extra classpath entries needed for compiling/running the sample
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# Java compiler to use
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# Java VM to use
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync# No changes should be necessary after this point.
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync VBOX_JAR=$(VBOX_SDK)/bindings/mscom/java/vboxjmscom.jar
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsync VBOX_JAR=$(VBOX_SDK)/bindings/xpcom/java/vboxjxpcom.jar
2c76fd8cdec6f32663a03b16fb5871f7c54330a6vboxsyncVBOX_JAR_WS=$(VBOX_SDK)/bindings/webservice/java/jax-ws/vboxjws.jar
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync $(JAVAC) -d com -cp $(VBOX_JAR)$(SEP)$(CLASSPATH) TestVBox.java
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync $(JAVA) $(JAVA_COM_ARGS) -cp com$(SEP)$(VBOX_JAR)$(SEP)$(CLASSPATH) TestVBox
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync $(JAVAC) -d ws -cp $(VBOX_JAR_WS)$(SEP)$(CLASSPATH) TestVBox.java
ceb6621fceb6887a8b133abdf9aea2edc8a2cbf2vboxsync $(JAVA) $(JAVA_WS_ARGS) -cp ws$(SEP)$(VBOX_JAR_WS)$(SEP)$(CLASSPATH) TestVBox -w -url http://localhost:18083/