Changeset 38915 in vbox for trunk/src/VBox
- Timestamp:
- Sep 30, 2011 10:14:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/tests/Makefile
r38914 r38915 1 ## @file 2 # Makefile for a sample/testcase using the 'glue' Java API bindings 3 1 4 # 2 5 # Copyright (C) 2010-2011 Oracle Corporation … … 11 14 # 12 15 16 # 17 # User serviceable parts: adjust the following lines appropriately 18 # 19 20 # The host OS: linux, solaris, win, darwin, freebsd 13 21 HOSTOS=linux 14 VBOX_BIN = ../../../.. 22 # Absolute (!) path to the VirtualBox install directory 23 VBOX_BIN = /opt/VirtualBox 24 # Path to the sdk directory of the unpacked VirtualBox SDK 15 25 VBOX_SDK = ../../.. 26 # On Windows, if you want to use the COM API: install directory of Jacob lib 16 27 JACOB_DIR = 17 CLASSPATH = . 28 # Extra classpath entries needed for compiling/running the sample 29 CLASSPATH = 30 # Java compiler to use 31 JAVAC = javac 32 # Java VM to use 33 JAVA = java 34 35 36 # 37 # No changes should be necessary after this point. 38 # 18 39 19 40 ifeq ($(HOSTOS),win) … … 38 59 com/TestVBox.class: 39 60 @mkdir com 2>/dev/null || true 40 javac -g-d com -cp $(VBOX_JAR)$(SEP)$(CLASSPATH) TestVBox.java61 $(JAVAC) -d com -cp $(VBOX_JAR)$(SEP)$(CLASSPATH) TestVBox.java 41 62 42 63 com/test-TestVBox: com/TestVBox.class 43 java$(JAVA_COM_ARGS) -cp com$(SEP)$(VBOX_JAR)$(SEP)$(CLASSPATH) TestVBox64 $(JAVA) $(JAVA_COM_ARGS) -cp com$(SEP)$(VBOX_JAR)$(SEP)$(CLASSPATH) TestVBox 44 65 45 66 ws/TestVBox.class: 46 67 @mkdir ws 2>/dev/null || true 47 javac-d ws -cp $(VBOX_JAR_WS)$(SEP)$(CLASSPATH) TestVBox.java68 $(JAVAC) -d ws -cp $(VBOX_JAR_WS)$(SEP)$(CLASSPATH) TestVBox.java 48 69 49 70 ws/test-TestVBox: ws/TestVBox.class 50 java$(JAVA_WS_ARGS) -cp ws$(SEP)$(VBOX_JAR_WS)$(SEP)$(CLASSPATH) TestVBox -w -url http://localhost:18083/71 $(JAVA) $(JAVA_WS_ARGS) -cp ws$(SEP)$(VBOX_JAR_WS)$(SEP)$(CLASSPATH) TestVBox -w -url http://localhost:18083/
Note:
See TracChangeset
for help on using the changeset viewer.