Changeset 10617 in vbox
- Timestamp:
- Jul 14, 2008 9:33:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10597 r10617 79 79 # gentoo (64-bit) 80 80 VBOX_PATH_QT4 ?= /usr 81 VBOX_PATH_QT4_BIN ?= /usr/bin82 81 VBOX_PATH_QT4_INCLUDE ?= /usr/include/qt4 83 82 VBOX_PATH_QT4_LIB ?= /usr/lib/qt4 … … 87 86 endif 88 87 VBOX_PATH_QT4 ?= /usr 89 VBOX_PATH_QT4_BIN ?= $(VBOX_PATH_QT4)/bin90 88 VBOX_PATH_QT4_INCLUDE ?= $(VBOX_PATH_QT4)/include 91 89 VBOX_PATH_QT4_LIB ?= $(VBOX_PATH_QT4)/lib … … 95 93 96 94 ifneq ($(KBUILD_TARGET),darwin) 95 ifndef USE_KBUILD_QT4_UNIT_PART_3 97 96 VBOX_INCS_QT4 += $(VBOX_PATH_QT4_INCLUDE) ## @todo add this to the qt4 unit. 98 99 ifeq (enabled,enabled) # Adding mkspecs to the INCS is hopefully not really necessary... Will try disable it later. 97 endif 98 99 ifeq (disabled,yes) # Adding mkspecs to the INCS is hopefully not really necessary... Will try disable it later. 100 100 ifeq ($(KBUILD_TARGET),win) 101 101 ifeq ($(KBUILD_TARGET_ARCH),amd64) … … 110 110 endif 111 111 112 # Move down. 113 ifeq ($(KBUILD_TARGET),win) 114 VBOX_LIBS_QT4 := VBoxqtmain.lib 112 ifndef USE_KBUILD_QT4_UNIT_PART_3 113 # Move down. 114 ifeq ($(KBUILD_TARGET),win) 115 VBOX_LIBS_QT4 := VBoxqtmain.lib 116 endif 115 117 endif 116 118 … … 126 128 # Some default defs 127 129 VBOX_DEFS_QT4 += QT_SHARED HAVE_CONFIG_H QT_NO_DEBUG 128 129 VBOX_UIC4 ?= $(VBOX_PATH_QT4_BIN)/uic130 VBOX_MOC4 ?= $(VBOX_PATH_QT4_BIN)/moc131 VBOX_RCC4 ?= $(VBOX_PATH_QT4_BIN)/rcc132 VBOX_LUPDATE4 ?= $(VBOX_PATH_QT4_BIN)/lupdate133 VBOX_LRELEASE4 ?= $(VBOX_PATH_QT4_BIN)/lrelease134 135 # tell moc what platform we are on to let it properly define136 # Q_OS_* and Q_WS_* macros when including qglobal.h137 # (is there a better way?)138 ifeq ($(KBUILD_TARGET),win)139 ifeq ($(KBUILD_TARGET_ARCH),amd64)140 VBOX_MOC4 += -DWIN64141 else142 VBOX_MOC4 += -DWIN32143 endif144 else ifeq ($(KBUILD_TARGET),darwin)145 VBOX_MOC4 += -D__APPLE__ -D__GNUC__146 else ifeq ($(KBUILD_TARGET),solaris)147 VBOX_MOC4 += -D__sun148 else ifeq ($(KBUILD_TARGET),linux)149 # when nothing special is defined, Q_OS_UNIX/Q_WS_X11 will be set150 else151 $(error Port me!)152 endif153 130 154 131 ifdef VBOX_WITH_QT4_SUN … … 261 238 $(LIB_VMM) 262 239 240 ifeq (disabled,yes) 263 241 ifeq ($(KBUILD_TARGET_ARCH),amd64) 264 242 TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \ … … 268 246 $(VBOX_PATH_QT4_LIB) 269 247 endif 248 endif 270 249 271 250 ifeq ($(KBUILD_TARGET),linux) … … 276 255 $(VBOX_LIBPATH_X11) 277 256 else ifeq ($(KBUILD_TARGET),darwin) 257 ifndef USE_KBUILD_QT4_UNIT_PART_3 278 258 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) ## @todo fix in the qt unit. Somehow this fixes the #include <QtCore/qstring.h> stuff. 259 endif 279 260 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -framework Carbon -framework QuickTime -bind_at_load 280 261 TEMPLATE_VBOXQT4GUIEXE_LIBS += … … 313 294 $(PATH_LIB)/VBoxCOM$(VBOX_SUFF_LIB) 314 295 ifdef VBOX_WITH_XPCOM 315 ## @todo may be worth creating the VBOX_XPCOM SDK def 296 ## @todo may be worth creating the VBOX_XPCOM SDK def, or just a SDK_VBOXXPCOM. 316 297 TEMPLATE_VBOXQT4GUIEXE_DEFS += VBOX_WITH_XPCOM 317 298 TEMPLATE_VBOXQT4GUIEXE_INCS += \
Note:
See TracChangeset
for help on using the changeset viewer.