VirtualBox

Changeset 12948 in vbox for trunk


Ignore:
Timestamp:
Oct 2, 2008 4:48:50 PM (16 years ago)
Author:
vboxsync
Message:

VirtualBox4: moving VirtualBox4-accessible too the root makefile (qt4-bin).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r12833 r12948  
    161161# Install our Qt DLLs / Shared Objects / Frameworks.
    162162#
    163 ## @todo move to the root Makefile.kmk, and remove qt4-bin from INSTALLS below.
    164163 INSTALLS += qt4-bin
    165  qt4-bin_MODE = 644
     164 qt4-bin_MODE = 755
    166165 ifeq ($(KBUILD_TARGET),darwin)
    167   qt4-bin_INST = $(INST_VIRTUALBOX)Contents/Frameworks/
     166  qt4-bin_INST = $(INST_VIRTUALBOX)Contents/
    168167  qt4-bin_SOURCES = \
    169         $(VBOX_PATH_QT4)/Frameworks/QtCore.framework/Versions/4/QtCore=>QtCore.framework/Versions/4/QtCore \
    170         $(VBOX_PATH_QT4)/Frameworks/QtGui.framework/Versions/4/QtGui=>QtGui.framework/Versions/4/QtGui
     168        $(VBOX_PATH_QT4)/Frameworks/QtCore.framework/Versions/4/QtCore=>Frameworks/QtCore.framework/Versions/4/QtCore \
     169        $(VBOX_PATH_QT4)/Frameworks/QtGui.framework/Versions/4/QtGui=>Frameworks/QtGui.framework/Versions/4/QtGui \
     170        $(PATH_qt4-bin)/libqtaccessiblewidgets.dylib=>MacOS/accessible/libqtaccessiblewidgets.dylib
     171  ## @todo r=bird: does this magic actually work for the hardended builds too? or is that handled in the installer???
     172  qt4-bin_CLEAN = $(PATH_qt4-bin)/libqtaccessiblewidgets.dylib
     173$$(PATH_qt4-bin)/libqtaccessiblewidgets.dylib: $$(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets.dylib | $$(dir $$@)
     174        $(call MSG_TOOL,install_name_tool,accessible,$<,$@)
     175        $(QUIET)$(INSTALL) $< $@
     176        $(QUIET)install_name_tool \
     177                -change                         QtCore.framework/Versions/4/QtCore \
     178                 @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore \
     179                -change                         QtGui.framework/Versions/4/QtGui \
     180                 @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui \
     181                $@
     182
    171183 else ifeq ($(KBUILD_TARGET),win)
    172184  qt4-bin_INST = $(INST_BIN)
    173185  qt4-bin_SOURCES = \
    174186        $(VBOX_PATH_QT4_LIB)/VBoxQtCore4.dll \
    175         $(VBOX_PATH_QT4_LIB)/VBoxQtGui4.dll
     187        $(VBOX_PATH_QT4_LIB)/VBoxQtGui4.dll \
     188        $(VBOX_PATH_QT4)/plugins/accessible/qtaccessiblewidgets4.dll=>accessible/qtaccessiblewidgets4.dll
     189
    176190 else
    177191  qt4-bin_INST = $(INST_BIN)
    178192  qt4-bin_SOURCES = \
    179193        $(VBOX_PATH_QT4_LIB)/libVBoxQtCore.so.4 \
    180         $(VBOX_PATH_QT4_LIB)/libVBoxQtGui.so.4
     194        $(VBOX_PATH_QT4_LIB)/libVBoxQtGui.so.4 \
     195        $(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets4$(SUFF_DLL)=>accessible/libqtaccessiblewidgets4$(SUFF_DLL)
    181196 endif
    182197endif # VBOX_WITH_QT4_SUN
  • trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk

    r12947 r12948  
    481481
    482482
    483 if1of ($(KBUILD_TARGET), darwin win)
    484  #
    485  # Install the Qt accessible plugin.
    486  #
    487  ## @todo solaris, all linux distros where we distribute Qt4 on our own
    488  ## @todo r=bird: Does this really have to be in <appdir>/accessible? Why can
    489  #                it be put together with the other Qt files? That way it will
    490  #                be more generic wrt to places where we don't install Qt. It also
    491  #                means this installing should be moved and doesn't belong in qt4.kmk.
    492  INSTALLS += VirtualBox4-accessible
    493  VirtualBox4-accessible_INST = $(INST_BIN)accessible/
    494  VirtualBox4-accessible_INST.darwin = $(INST_VIRTUALBOX)Contents/MacOS/accessible/
    495  VirtualBox4-accessible_MODE = 0755
    496  ifeq ($(KBUILD_TARGET),win)
    497   VirtualBox4-accessible_SOURCES = $(VBOX_PATH_QT4)/plugins/accessible/qtaccessiblewidgets4.dll
    498  else ifneq ($(KBUILD_TARGET,darwin))
    499   VirtualBox4-accessible_SOURCES = $(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets4$(SUFF_DLL)
    500   $(error fixme)
    501  else
    502   # We need to fix the dep lib paths here, so a bit extra work.
    503   ## @todo r=bird: does this magic actually work for the hardended builds too? or is that handled in the installer???
    504   VirtualBox4-accessible_SOURCES = $(VBOX_VIRTUALBOX4_OUT_DIR)/accessible/libqtaccessiblewidgets.dylib
    505   VirtualBox4-accessible_CLEAN   = $(VirtualBox4-accessible_SOURCES)
    506   VirtualBox4-accessible_BLDDIRS = $(dir $(VirtualBox4-accessible_SOURCES))
    507 $(VirtualBox4-accessible_SOURCES): $(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets.dylib | $$(dir $$@)
    508         $(call MSG_TOOL,install_name_tool,accessible,$<,$@)
    509         $(QUIET)$(INSTALL) $< $@
    510         $(QUIET)install_name_tool \
    511                 -change                         QtCore.framework/Versions/4/QtCore \
    512                  @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore \
    513                 -change                         QtGui.framework/Versions/4/QtGui \
    514                  @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui \
    515                 $@
    516  endif
    517 endif
    518 
    519483ifeq ($(KBUILD_TARGET),darwin)
    520484#
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