VirtualBox

Ignore:
Timestamp:
May 11, 2008 6:27:49 PM (17 years ago)
Author:
vboxsync
Message:

BUILD_TARGET* -> KBUILD_TARGET*.

File:
1 edited

Legend:

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

    r8740 r8758  
    7070VBOX_DEFS_QT4       = QT_CORE_LIB QT_GUI_LIB QT_NETWORK_LIB QT_QT3SUPPORT_LIB
    7171
    72 ifeq ($(BUILD_TARGET),darwin)
     72ifeq ($(KBUILD_TARGET),darwin)
    7373 VBOX_MODULE_QT4    += QtSql QtXml
    7474 VBOX_DEFS_QT4       = QT_SQL_LIB QT_XML_LIB
     
    109109    $(VBOX_INCS_QT4)
    110110
    111 ifeq ($(BUILD_TARGET),win)
     111ifeq ($(KBUILD_TARGET),win)
    112112 # drag in library configuration (we need QMAKE_PRL_DEFINES)
    113113 ifneq ($(LIB_QT_PRL),)
     
    170170        $(LIB_VMM)
    171171
    172  ifeq ($(BUILD_TARGET_ARCH),amd64)
     172 ifeq ($(KBUILD_TARGET_ARCH),amd64)
    173173  TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \
    174174        $(VBOX_PATH_QT4_LIB64) $(VBOX_PATH_QT4_LIB)
     
    178178 endif
    179179
    180  ifeq ($(BUILD_TARGET),linux)
     180 ifeq ($(KBUILD_TARGET),linux)
    181181  TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(VBOX_LD_as_needed)
    182182  TEMPLATE_VBOXQT4GUIEXE_LIBS += \
    183183    $(VBOX_XCURSOR_LIBS)
    184  else ifeq ($(BUILD_TARGET),darwin)
     184 else ifeq ($(KBUILD_TARGET),darwin)
    185185  TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(foreach mod, $(VBOX_MODULE_QT4), -framework $(mod)) \
    186186        -framework Carbon -framework QuickTime -bind_at_load
    187187  TEMPLATE_VBOXQT4GUIEXE_LIBS +=
    188188  TEMPLATE_VBOXQT4GUIEXE_LIBPATH +=
    189  else ifeq ($(BUILD_TARGET),os2)
     189 else ifeq ($(KBUILD_TARGET),os2)
    190190  # drag in library configuration (we need QMAKE_PRL_DEFINES)
    191191  ifneq ($(LIB_QT_PRL),)
     
    206206  TEMPLATE_VBOXQT4GUIEXE_LIBPATH += \
    207207        $(VBOX_LIBPATH_X11)
    208   ifeq ($(BUILD_TARGET),freebsd)
     208  ifeq ($(KBUILD_TARGET),freebsd)
    209209   TEMPLATE_VBOXQT4GUIEXE_INCS += \
    210210        /usr/include \
     
    234234TEMPLATE_VBOXQT4GUI_EXTENDS = VBOXQTGUIEXE
    235235TEMPLATE_VBOXQT4GUI_LIBS = $(filter-out $(QTMAIN),$(TEMPLATE_VBOXQT4GUIEXE_LIBS))
    236 ifeq ($(BUILD_TARGET),darwin)
     236ifeq ($(KBUILD_TARGET),darwin)
    237237 TEMPLATE_VBOXQT4GUI_LDFLAGS = $(filter-out -framework Carbon -framework QuickTime -bind_at_load,$(TEMPLATE_VBOXQT4GUIEXE_LDFLAGS))
    238238endif
    239 ifeq ($(filter-out solaris.x86 %.amd64,$(BUILD_TARGET).$(BUILD_TARGET_ARCH)),)
    240  ifneq ($(BUILD_TARGET),win)
     239ifeq ($(filter-out solaris.x86 %.amd64,$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)),)
     240 ifneq ($(KBUILD_TARGET),win)
    241241  TEMPLATE_VBOXQT4GUI_DEFS     = PIC $(TEMPLATE_VBOXQT4GUIEXE_DEFS)
    242242  TEMPLATE_VBOXQT4GUI_CFLAGS   = -fPIC $(TEMPLATE_VBOXQT4GUIEXE_CFLAGS)
     
    296296#
    297297PROGRAMS = VirtualBox
    298 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(BUILD_TARGET)),) # X11
     298ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11
    299299DLLS = VBoxKeyboard4
    300300OTHERS = $(PATH_BIN)/vboxkeyboard4.tar.gz
     
    302302INSTALLS = VirtualBox.nls
    303303
    304 ifeq ($(BUILD_TARGET),os2)
     304ifeq ($(KBUILD_TARGET),os2)
    305305 DLLS += VBoxHlp
    306306 ifneq ($(strip $(VBOX_DLL_QT)),)
     
    367367VirtualBox_NAME     = VirtualBox4
    368368VirtualBox_SDKS.win = WINPSDK DXSDK
    369 #ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$(BUILD_TARGET)),) - later
    370 ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(BUILD_TARGET)),) # X11 + os2
     369#ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$(KBUILD_TARGET)),) - later
     370ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(KBUILD_TARGET)),) # X11 + os2
    371371VirtualBox_SDKS += LIBSDL
    372372endif
    373373
    374 ifeq ($(BUILD_TARGET),darwin)
     374ifeq ($(KBUILD_TARGET),darwin)
    375375# For the launch trick we need different inode numbers.
    376376VirtualBox_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4
     
    385385
    386386ifndef VBOX_OSE
    387 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # linux only, yea, right.
     387ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # linux only, yea, right.
    388388# Note: I'm doing this right here because the GUI will _not_ run
    389389#       without that file which might be annoying for developers!
     
    440440# Sources containing local definitions of classes that use the Q_OBJECT macro
    441441VirtualBox_QT_MOCSRCS = src/VBoxSelectorWnd.cpp
    442 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11
     442ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
    443443VirtualBox_QT_MOCSRCS += src/VBoxGlobal.cpp
    444444endif
     
    520520        src/VBoxVMLogViewer.cpp
    521521
    522 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11
     522ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
    523523VirtualBox_SOURCES += \
    524524        src/linux/XKeyboard-new.cpp
     
    543543endif
    544544
    545 ifneq ($(BUILD_TARGET),win)
     545ifneq ($(KBUILD_TARGET),win)
    546546src/HappyHttp.cpp_CXXFLAGS += -fexceptions
    547547src/VBoxDownloaderWgt.cpp_CXXFLAGS += -fexceptions
     
    628628        $(PATH_SDK_DXSDK_LIB)/dxguid.lib
    629629VirtualBox_LIBS.os2      += $(PATH_DLL)/VBoxHlp$(VBOX_SUFF_DLL)
    630 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11
     630ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
    631631VirtualBox_LIBS          += $(PATH_DLL)/VBoxKeyboard4$(VBOX_SUFF_DLL)
    632632endif
     
    634634
    635635ifdef 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)
    637637  VirtualBox_LIBS        += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB)
    638638 else
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