Changeset 29715 in vbox for trunk/src/libs/xpcom18a4/java/Makefile.kmk
- Timestamp:
- May 21, 2010 4:39:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/java/Makefile.kmk
r29673 r29715 27 27 28 28 ifeq ($(KBUILD_TARGET), darwin) 29 VBOX_JAVA_HOME = /System/Library/Frameworks/JavaVM.framework/Versions/1. 5.029 VBOX_JAVA_HOME = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0 30 30 VBOX_JAVAC = $(VBOX_JAVA_HOME)/Commands/javac 31 31 VBOX_JAVAH = $(VBOX_JAVA_HOME)/Commands/javah … … 34 34 else 35 35 ifeq ($(KBUILD_TARGET), linux) 36 VBOX_JAVA_HOME ?= /usr/lib/jvm/java-1. 5.0-sun36 VBOX_JAVA_HOME ?= /usr/lib/jvm/java-1.6.0-sun 37 37 endif 38 38 ifeq ($(KBUILD_TARGET), solaris) 39 # VBOX_JAVA_HOME ?= /usr/jdk/jdk1. 5.039 # VBOX_JAVA_HOME ?= /usr/jdk/jdk1.6.0 40 40 VBOX_JAVA_HOME ?= /usr/java 41 41 endif … … 48 48 $(VBOX_JAVA_HOME)/include/$(VBOX_MD_OS) 49 49 endif 50 JAVAC_OPTS = -source 1. 4 -target 1.450 JAVAC_OPTS = -source 1.5 -target 1.5 51 51 52 52 VBOX_JXPCOM_TARGET := $(PATH_TARGET)/vboxjxpcom-gen … … 66 66 EXPORT_XPT_API \ 67 67 VBOX_WITH_XPCOM 68 #VBoxJXpcom_DEFS.darwin = XP_MACOSX - already in TEMPLATE_XPCOM_DEFS.darwin ...69 68 VBoxJXpcom_NAME = libvboxjxpcom 70 69 VBoxJXpcom_DLLSUFF.darwin = .jnilib … … 181 180 $(VBOX_JXPCOM_JDEST)/*/*/*/*/*/*.class \ 182 181 ) 183 VBoxJXpcom-inst-jar_BLDDIRS += $(VBOX_JXPCOM_GEN)/java 182 VBoxJXpcom-inst-jar_BLDDIRS += $(VBOX_JXPCOM_GEN)/java $(VBOX_JXPCOM_GEN)/java/glue 184 183 185 184 … … 236 235 $(VBOX_JXPCOM_GEN)/jxpcomglue.list: \ 237 236 $(VBOX_XIDL_FILE) \ 238 $(VBOX_XSLT_DIR)/glue _java.xls\237 $(VBOX_XSLT_DIR)/glue-java.xsl \ 239 238 $$(TARGET_filesplitter) \ 240 239 | $(VBOX_JXPCOM_GEN)/java/glue/ … … 244 243 --stringparam G_vboxApiSuffix $(VBOX_API_SUFFIX) \ 245 244 --stringparam G_vboxGlueStyle xpcom \ 246 -o $(VBOX_JXPCOM_GEN)/java/glue/merged.file $(VBOX_XSLT_DIR)/glue _java.xls$<247 $(QUIET)$( TARGET_filesplitter) $(VBOX_JXPCOM_GEN)/java/glue/merged.file $(VBOX_JXPCOM_GEN)/java/glue/245 -o $(VBOX_JXPCOM_GEN)/java/glue/merged.file $(VBOX_XSLT_DIR)/glue-java.xsl $< 246 $(QUIET)$(VBOX_FILESPLIT) $(VBOX_JXPCOM_GEN)/java/glue/merged.file $(VBOX_JXPCOM_GEN)/java/glue/ 248 247 $(QUIET)echo $(VBOX_JXPCOM_GEN)/java/glue/*.java > $@ 249 248 … … 279 278 $(QUIET)$(RM) -Rf $(VBOX_JXPCOM_JDEST) 280 279 $(QUIET)$(MKDIR) -p $(VBOX_JXPCOM_JDEST) 281 $(VBOX_JAVAC) $(JAVAC_OPTS) @$ $(VBOX_JXPCOM_GEN)/jxpcomgen.list \280 $(VBOX_JAVAC) $(JAVAC_OPTS) @$(VBOX_JXPCOM_GEN)/jxpcomgen.list \ 282 281 -d $(VBOX_JXPCOM_JDEST) -classpath $(VBOX_JXPCOM_JDEST) 283 282 $(call MSG_TOOL,javac,$(notdir $@),...,) … … 286 285 $(VBOX_JXPCOM_NSERROR) \ 287 286 $(VBOX_JXPCOM_MGR) \ 288 $(VBOX_JXPCOM_GEN)/jxpcomglue.list \287 @$(VBOX_JXPCOM_GEN)/jxpcomglue.list \ 289 288 -d $(VBOX_JXPCOM_JDEST) -classpath $(VBOX_JXPCOM_JDEST) 290 289 $(call MSG_LINK,$(notdir $@),$@)
Note:
See TracChangeset
for help on using the changeset viewer.