Changeset 10074 in vbox for trunk/src/VBox
- Timestamp:
- Jul 1, 2008 3:05:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10022 r10074 59 59 endif 60 60 endif 61 else if eq($(KBUILD_TARGET),win)61 else if1of ($(KBUILD_TARGET),win) 62 62 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 63 68 endif 64 69 endif … … 115 120 VBOX_LIBS_QT4 = $(patsubst %, VBox%, $(VBOX_MODULE_QT4)) 116 121 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) 117 124 else 118 125 VBOX_LIBS_QT4 = $(VBOX_MODULE_QT4) … … 148 155 VBOX_MOC4 += -DWIN32 149 156 endif 157 else ifeq ($(KBUILD_TARGET),darwin) 158 VBOX_MOC4 += -D__APPLE__ -D__GNUC__ 159 else ifeq ($(KBUILD_TARGET),solaris) 160 VBOX_MOC4 += -D__sun 150 161 else ifeq ($(KBUILD_TARGET),linux) 151 162 # 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__154 163 else 155 164 $(error Port me!) … … 291 300 /usr/X11R6/include \ 292 301 /usr/local/include 302 endif 303 ifeq ($(KBUILD_TARGET),solaris) 304 TEMPLATE_VBOXQT4GUIEXE_LIBS += \ 305 rt socket nsl 293 306 endif 294 307 endif
Note:
See TracChangeset
for help on using the changeset viewer.