VirtualBox

Changeset 10074 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 1, 2008 3:05:31 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Preparation for building on Solaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk

    r10022 r10074  
    5959   endif
    6060  endif
    61  else ifeq ($(KBUILD_TARGET),win)
     61 else if1of ($(KBUILD_TARGET),win)
    6262  VBOX_PATH_QT4 ?= $(lastword $(sort $(wildcard $(PATH_DEVTOOLS_TRG)/qt/v4*)))
     63 else if1of ($(KBUILD_TARGET),solaris)
     64  VBOX_PATH_QT4 ?= $(lastword $(sort $(wildcard $(PATH_DEVTOOLS_TRG)/qt/v4*)))
     65  ifneq ($(VBOX_PATH_QT4),)
     66   VBOX_WITH_QT4_SUN = 1
     67  endif
    6368 endif
    6469endif
     
    115120  VBOX_LIBS_QT4      = $(patsubst %, VBox%, $(VBOX_MODULE_QT4))
    116121  VBOX_QT4_RUNTIME   = $(patsubst %, $(VBOX_PATH_QT4_LIB)/libVBox%.so.4, $(VBOX_MODULE_QT4))
     122  # Export the ld library path
     123  export LD_LIBRARY_PATH := $(VBOX_PATH_QT4_LIB):$(LD_LIBRARY_PATH)
    117124 else
    118125  VBOX_LIBS_QT4      = $(VBOX_MODULE_QT4)
     
    148155  VBOX_MOC4    += -DWIN32
    149156 endif
     157else ifeq ($(KBUILD_TARGET),darwin)
     158  VBOX_MOC4    += -D__APPLE__ -D__GNUC__
     159else ifeq ($(KBUILD_TARGET),solaris)
     160  VBOX_MOC4    += -D__sun
    150161else ifeq ($(KBUILD_TARGET),linux)
    151162 # when nothing special is defined, Q_OS_UNIX/Q_WS_X11 will be set
    152 else ifeq ($(KBUILD_TARGET),darwin)
    153   VBOX_MOC4    += -D__APPLE__ -D__GNUC__
    154163else
    155164 $(error Port me!)
     
    291300        /usr/X11R6/include \
    292301        /usr/local/include
     302  endif
     303  ifeq ($(KBUILD_TARGET),solaris)
     304   TEMPLATE_VBOXQT4GUIEXE_LIBS += \
     305        rt socket nsl
    293306  endif
    294307 endif
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