VirtualBox

Ignore:
Timestamp:
May 21, 2010 4:39:03 AM (15 years ago)
Author:
vboxsync
Message:

Java glue: intermediate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/java/Makefile.kmk

    r29673 r29715  
    2727
    2828ifeq ($(KBUILD_TARGET), darwin)
    29  VBOX_JAVA_HOME = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
     29 VBOX_JAVA_HOME = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0
    3030 VBOX_JAVAC = $(VBOX_JAVA_HOME)/Commands/javac
    3131 VBOX_JAVAH = $(VBOX_JAVA_HOME)/Commands/javah
     
    3434else
    3535 ifeq ($(KBUILD_TARGET), linux)
    36   VBOX_JAVA_HOME ?= /usr/lib/jvm/java-1.5.0-sun
     36  VBOX_JAVA_HOME ?= /usr/lib/jvm/java-1.6.0-sun
    3737 endif
    3838 ifeq ($(KBUILD_TARGET), solaris)
    39  # VBOX_JAVA_HOME ?= /usr/jdk/jdk1.5.0
     39 # VBOX_JAVA_HOME ?= /usr/jdk/jdk1.6.0
    4040   VBOX_JAVA_HOME ?= /usr/java
    4141 endif
     
    4848                $(VBOX_JAVA_HOME)/include/$(VBOX_MD_OS)
    4949endif
    50 JAVAC_OPTS = -source 1.4 -target 1.4
     50JAVAC_OPTS = -source 1.5 -target 1.5
    5151
    5252VBOX_JXPCOM_TARGET := $(PATH_TARGET)/vboxjxpcom-gen
     
    6666        EXPORT_XPT_API   \
    6767        VBOX_WITH_XPCOM
    68 #VBoxJXpcom_DEFS.darwin = XP_MACOSX - already in TEMPLATE_XPCOM_DEFS.darwin ...
    6968VBoxJXpcom_NAME     = libvboxjxpcom
    7069VBoxJXpcom_DLLSUFF.darwin = .jnilib
     
    181180                $(VBOX_JXPCOM_JDEST)/*/*/*/*/*/*.class \
    182181        )
    183 VBoxJXpcom-inst-jar_BLDDIRS += $(VBOX_JXPCOM_GEN)/java
     182VBoxJXpcom-inst-jar_BLDDIRS += $(VBOX_JXPCOM_GEN)/java $(VBOX_JXPCOM_GEN)/java/glue
    184183
    185184
     
    236235$(VBOX_JXPCOM_GEN)/jxpcomglue.list:  \
    237236                $(VBOX_XIDL_FILE)    \
    238                 $(VBOX_XSLT_DIR)/glue_java.xls \
     237                $(VBOX_XSLT_DIR)/glue-java.xsl \
    239238                $$(TARGET_filesplitter) \
    240239                | $(VBOX_JXPCOM_GEN)/java/glue/
     
    244243              --stringparam G_vboxApiSuffix $(VBOX_API_SUFFIX) \
    245244              --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/
    248247        $(QUIET)echo $(VBOX_JXPCOM_GEN)/java/glue/*.java > $@
    249248
     
    279278        $(QUIET)$(RM) -Rf $(VBOX_JXPCOM_JDEST)
    280279        $(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 \
    282281                -d $(VBOX_JXPCOM_JDEST) -classpath $(VBOX_JXPCOM_JDEST)
    283282        $(call MSG_TOOL,javac,$(notdir $@),...,)
     
    286285                $(VBOX_JXPCOM_NSERROR) \
    287286                $(VBOX_JXPCOM_MGR) \
    288                 $(VBOX_JXPCOM_GEN)/jxpcomglue.list \
     287                @$(VBOX_JXPCOM_GEN)/jxpcomglue.list \
    289288                -d $(VBOX_JXPCOM_JDEST) -classpath $(VBOX_JXPCOM_JDEST)
    290289        $(call MSG_LINK,$(notdir $@),$@)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette