Changeset 29788 in vbox
- Timestamp:
- May 25, 2010 2:18:41 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r29771 r29788 4293 4293 VBOX_JAR = $(VBOX_JAVA_HOME)/Commands/jar 4294 4294 VBOX_JAVA_INC = $(VBOX_JAVA_HOME)/Headers 4295 4295 4296 else 4296 ifeq ($(KBUILD_TARGET), linux) 4297 VBOX_JAVA_HOME ?= /usr/lib/jvm/java-6-sun 4298 endif 4299 ifeq ($(KBUILD_TARGET), solaris) 4297 4298 ifeq ($(KBUILD_TARGET), linux) 4299 VBOX_JAVA_HOME ?= /usr/lib/jvm/java-6-sun 4300 endif 4301 4302 ifeq ($(KBUILD_TARGET), solaris) 4300 4303 # VBOX_JAVA_HOME ?= /usr/jdk/jdk1.6.0 4301 4304 VBOX_JAVA_HOME ?= /usr/java 4302 endif 4305 endif 4306 4307 ifeq ($(KBUILD_TARGET), win) 4308 VBOX_JAVA_HOME ?= c:/jdk 4309 endif 4310 4303 4311 VBOX_JAVAC = $(VBOX_JAVA_HOME)/bin/javac 4304 4312 VBOX_JAVAH = $(VBOX_JAVA_HOME)/bin/javah -
trunk/src/VBox/Main/Makefile.kmk
r29771 r29788 869 869 --stringparam G_vboxGlueStyle mscom \ 870 870 -o $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_GLUE_XSLT_DIR)/glue-java.xsl $< 871 $(QUIET)$(VBOX_FILESPLIT) $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_JMSCOM_GEN)/java /871 $(QUIET)$(VBOX_FILESPLIT) $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_JMSCOM_GEN)/java 872 872 $(QUIET)echo $(VBOX_JMSCOM_GEN)/java/*.java > $@ 873 873 -
trunk/src/VBox/Main/glue/tests/Makefile.kmk
r29784 r29788 10 10 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 11 11 # 12 13 12 ifeq ($(KBUILD_HOST),darwin) 14 13 VBOX_BIN=/Applications/VirtualBox.app/Contents/MacOS 15 14 VBOX_SDK=$(VBOX_BIN)/sdk 16 # JAVA_ OPT= -d3215 # JAVA_ARGS += -d32 17 16 endif 18 17 … … 25 24 VBOX_SDK=e:/ws/out/win.amd64/debug/bin/sdk 26 25 VBOX_BIN=e:/ws/out/win.amd64/debug/bin 26 JACOB_DIR=e:/ws/src/libs/jacob-1.15-M3/ 27 JACOB_JAR=$(JACOB_DIR)/jacob.jar 28 CLASSPATH += $(JACOB_JAR)$(SEP) 29 JAVA_ARGS += -Djava.library.path=$(JACOB_DIR) 27 30 endif 28 31 29 32 ifeq ($(KBUILD_HOST),win) 30 33 VBOX_JAR=$(VBOX_SDK)/bindings/mscom/java/vboxjmscom.jar 34 SEP=\; 31 35 else 32 36 VBOX_JAR=$(VBOX_SDK)/bindings/xpcom/java/vboxjxpcom.jar 37 SEP=: 33 38 endif 39 40 JAVA_ARGS += -Dvbox.home=$(VBOX_BIN) 41 CLASSPATH := $(CLASSPATH)$(VBOX_JAR)$(SEP). 34 42 35 43 all: testvb … … 37 45 testvb: 38 46 javac -cp $(VBOX_JAR) TestVBox.java 39 java $(JAVA_ OPT) -cp $(VBOX_JAR):. -Dvbox.home=$(VBOX_BIN)TestVBox47 java $(JAVA_ARGS) -cp $(CLASSPATH) TestVBox 40 48
Note:
See TracChangeset
for help on using the changeset viewer.