Changeset 31021 in vbox
- Timestamp:
- Jul 22, 2010 7:25:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r30991 r31021 472 472 endif 473 473 # Use XPIDL instead of XSLT stylesheet 474 VBOX_WITH_JAVA_SUPPORT_IN_XPIDL ?= 474 VBOX_WITH_JAVA_SUPPORT_IN_XPIDL ?= 475 475 # Build against multiple Python versions present in the system 476 476 VBOX_WITH_MULTIVERSION_PYTHON ?= 1 … … 4327 4327 VBOX_XIDL_FILE = $(PATH_OUT)/obj/VirtualBox_stripped.xidl 4328 4328 4329 # Java stuff , move to tools eventually4329 # Java stuff. 4330 4330 ifeq ($(KBUILD_TARGET), darwin) 4331 4331 VBOX_JAVA_HOME = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0 … … 4338 4338 else 4339 4339 4340 ifeq ($(KBUILD_TARGET), linux) 4341 ifeq ($(origin VBOX_JAVA_HOME), undefined) 4342 VBOX_JAVA_HOME := $(firstword $(wildcard $(PATH_DEVTOOLS)/linux.x86/jdk1.6.0_21) /usr/lib/jvm/java-6-sun) 4340 ifeq ($(KBUILD_TARGET),linux) 4341 ifeq ($(origin VBOX_JAVA_HOME),undefined) 4342 # Add correct detection for you distro after the /usr/../java-6-sun line. 4343 VBOX_JAVA_HOME := $(firstword $(wildcard \ 4344 $(PATH_DEVTOOLS)/linux.x86/jdk1.6.0_21 \ 4345 /usr/lib/jvm/java-6-sun \ 4346 \ 4347 /usr/lib/jvm/sun-jdk-1.6 \ 4348 ) /usr/lib/jvm/java-6-sun) 4343 4349 endif 4344 4350 endif 4345 4351 4346 ifeq ($(KBUILD_TARGET), 4352 ifeq ($(KBUILD_TARGET),solaris) 4347 4353 # VBOX_JAVA_HOME ?= /usr/jdk/jdk1.6.0 4348 4354 VBOX_JAVA_HOME ?= /usr/java 4349 4355 endif 4350 4356 4351 ifeq ($(KBUILD_TARGET), 4357 ifeq ($(KBUILD_TARGET),win) 4352 4358 VBOX_JAVA_HOME ?= c:/jdk 4353 4359 endif … … 4359 4365 # correct for targets we care about 4360 4366 VBOX_MD_OS = $(KBUILD_TARGET) 4361 VBOX_JAVA_INC = $(VBOX_JAVA_HOME)/include \ 4362 $(VBOX_JAVA_HOME)/include/$(VBOX_MD_OS) 4367 VBOX_JAVA_INC = \ 4368 $(VBOX_JAVA_HOME)/include \ 4369 $(VBOX_JAVA_HOME)/include/$(VBOX_MD_OS) 4363 4370 endif 4364 4371
Note:
See TracChangeset
for help on using the changeset viewer.