Changeset 8758 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- May 11, 2008 6:27:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r8740 r8758 70 70 VBOX_DEFS_QT4 = QT_CORE_LIB QT_GUI_LIB QT_NETWORK_LIB QT_QT3SUPPORT_LIB 71 71 72 ifeq ($( BUILD_TARGET),darwin)72 ifeq ($(KBUILD_TARGET),darwin) 73 73 VBOX_MODULE_QT4 += QtSql QtXml 74 74 VBOX_DEFS_QT4 = QT_SQL_LIB QT_XML_LIB … … 109 109 $(VBOX_INCS_QT4) 110 110 111 ifeq ($( BUILD_TARGET),win)111 ifeq ($(KBUILD_TARGET),win) 112 112 # drag in library configuration (we need QMAKE_PRL_DEFINES) 113 113 ifneq ($(LIB_QT_PRL),) … … 170 170 $(LIB_VMM) 171 171 172 ifeq ($( BUILD_TARGET_ARCH),amd64)172 ifeq ($(KBUILD_TARGET_ARCH),amd64) 173 173 TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \ 174 174 $(VBOX_PATH_QT4_LIB64) $(VBOX_PATH_QT4_LIB) … … 178 178 endif 179 179 180 ifeq ($( BUILD_TARGET),linux)180 ifeq ($(KBUILD_TARGET),linux) 181 181 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(VBOX_LD_as_needed) 182 182 TEMPLATE_VBOXQT4GUIEXE_LIBS += \ 183 183 $(VBOX_XCURSOR_LIBS) 184 else ifeq ($( BUILD_TARGET),darwin)184 else ifeq ($(KBUILD_TARGET),darwin) 185 185 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(foreach mod, $(VBOX_MODULE_QT4), -framework $(mod)) \ 186 186 -framework Carbon -framework QuickTime -bind_at_load 187 187 TEMPLATE_VBOXQT4GUIEXE_LIBS += 188 188 TEMPLATE_VBOXQT4GUIEXE_LIBPATH += 189 else ifeq ($( BUILD_TARGET),os2)189 else ifeq ($(KBUILD_TARGET),os2) 190 190 # drag in library configuration (we need QMAKE_PRL_DEFINES) 191 191 ifneq ($(LIB_QT_PRL),) … … 206 206 TEMPLATE_VBOXQT4GUIEXE_LIBPATH += \ 207 207 $(VBOX_LIBPATH_X11) 208 ifeq ($( BUILD_TARGET),freebsd)208 ifeq ($(KBUILD_TARGET),freebsd) 209 209 TEMPLATE_VBOXQT4GUIEXE_INCS += \ 210 210 /usr/include \ … … 234 234 TEMPLATE_VBOXQT4GUI_EXTENDS = VBOXQTGUIEXE 235 235 TEMPLATE_VBOXQT4GUI_LIBS = $(filter-out $(QTMAIN),$(TEMPLATE_VBOXQT4GUIEXE_LIBS)) 236 ifeq ($( BUILD_TARGET),darwin)236 ifeq ($(KBUILD_TARGET),darwin) 237 237 TEMPLATE_VBOXQT4GUI_LDFLAGS = $(filter-out -framework Carbon -framework QuickTime -bind_at_load,$(TEMPLATE_VBOXQT4GUIEXE_LDFLAGS)) 238 238 endif 239 ifeq ($(filter-out solaris.x86 %.amd64,$( BUILD_TARGET).$(BUILD_TARGET_ARCH)),)240 ifneq ($( BUILD_TARGET),win)239 ifeq ($(filter-out solaris.x86 %.amd64,$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)),) 240 ifneq ($(KBUILD_TARGET),win) 241 241 TEMPLATE_VBOXQT4GUI_DEFS = PIC $(TEMPLATE_VBOXQT4GUIEXE_DEFS) 242 242 TEMPLATE_VBOXQT4GUI_CFLAGS = -fPIC $(TEMPLATE_VBOXQT4GUIEXE_CFLAGS) … … 296 296 # 297 297 PROGRAMS = VirtualBox 298 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$( BUILD_TARGET)),) # X11298 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11 299 299 DLLS = VBoxKeyboard4 300 300 OTHERS = $(PATH_BIN)/vboxkeyboard4.tar.gz … … 302 302 INSTALLS = VirtualBox.nls 303 303 304 ifeq ($( BUILD_TARGET),os2)304 ifeq ($(KBUILD_TARGET),os2) 305 305 DLLS += VBoxHlp 306 306 ifneq ($(strip $(VBOX_DLL_QT)),) … … 367 367 VirtualBox_NAME = VirtualBox4 368 368 VirtualBox_SDKS.win = WINPSDK DXSDK 369 #ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$( BUILD_TARGET)),) - later370 ifeq ($(filter-out freebsd linux netbsd openbsd os2,$( BUILD_TARGET)),) # X11 + os2369 #ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$(KBUILD_TARGET)),) - later 370 ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(KBUILD_TARGET)),) # X11 + os2 371 371 VirtualBox_SDKS += LIBSDL 372 372 endif 373 373 374 ifeq ($( BUILD_TARGET),darwin)374 ifeq ($(KBUILD_TARGET),darwin) 375 375 # For the launch trick we need different inode numbers. 376 376 VirtualBox_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4 … … 385 385 386 386 ifndef VBOX_OSE 387 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$( BUILD_TARGET)),) # linux only, yea, right.387 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # linux only, yea, right. 388 388 # Note: I'm doing this right here because the GUI will _not_ run 389 389 # without that file which might be annoying for developers! … … 440 440 # Sources containing local definitions of classes that use the Q_OBJECT macro 441 441 VirtualBox_QT_MOCSRCS = src/VBoxSelectorWnd.cpp 442 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$( BUILD_TARGET)),) # X11442 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11 443 443 VirtualBox_QT_MOCSRCS += src/VBoxGlobal.cpp 444 444 endif … … 520 520 src/VBoxVMLogViewer.cpp 521 521 522 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$( BUILD_TARGET)),) # X11522 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11 523 523 VirtualBox_SOURCES += \ 524 524 src/linux/XKeyboard-new.cpp … … 543 543 endif 544 544 545 ifneq ($( BUILD_TARGET),win)545 ifneq ($(KBUILD_TARGET),win) 546 546 src/HappyHttp.cpp_CXXFLAGS += -fexceptions 547 547 src/VBoxDownloaderWgt.cpp_CXXFLAGS += -fexceptions … … 628 628 $(PATH_SDK_DXSDK_LIB)/dxguid.lib 629 629 VirtualBox_LIBS.os2 += $(PATH_DLL)/VBoxHlp$(VBOX_SUFF_DLL) 630 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$( BUILD_TARGET)),) # X11630 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11 631 631 VirtualBox_LIBS += $(PATH_DLL)/VBoxKeyboard4$(VBOX_SUFF_DLL) 632 632 endif … … 634 634 635 635 ifdef VBOX_WITH_DEBUGGER_GUI ## @todo make this dynamically loadable and ship with release builds too. 636 ifeq ($( BUILD_TARGET),win)636 ifeq ($(KBUILD_TARGET),win) 637 637 VirtualBox_LIBS += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB) 638 638 else
Note:
See TracChangeset
for help on using the changeset viewer.