VirtualBox

Changeset 10621 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 14, 2008 10:08:59 PM (16 years ago)
Author:
vboxsync
Message:

commited qt4 unit part3, clean up unused / dead stuff.

File:
1 edited

Legend:

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

    r10619 r10621  
    2727#
    2828VBOX_VIRTUALBOX4_SRC := $(PATH_SUB_CURRENT)
    29 
    30 USE_KBUILD_QT4_UNIT_PART_3 := 1
    3129
    3230VBOX_WITH_REGISTRATION := 1
     
    8179  # gentoo (64-bit)
    8280  VBOX_PATH_QT4          ?= /usr
    83   VBOX_PATH_QT4_INCLUDE  ?= /usr/include/qt4
    8481  VBOX_PATH_QT4_LIB      ?= /usr/lib/qt4
    85   VBOX_PATH_QT4_LIB64    ?= /usr/lib/qt4
    86   VBOX_PATH_QT4_SHARE    ?= /usr/share/qt4
    8782 endif
    8883endif
    8984VBOX_PATH_QT4            ?= /usr
    90 VBOX_PATH_QT4_INCLUDE    ?= $(VBOX_PATH_QT4)/include
    9185VBOX_PATH_QT4_LIB        ?= $(VBOX_PATH_QT4)/lib
    92 VBOX_PATH_QT4_LIB64      ?= $(VBOX_PATH_QT4)/lib64
    93 VBOX_PATH_QT4_FRAMEWORKS ?= $(VBOX_PATH_QT4)/Frameworks
    94 VBOX_PATH_QT4_SHARE      ?= $(VBOX_PATH_QT4)
    95 
    96 ifneq ($(KBUILD_TARGET),darwin)
    97 ifndef USE_KBUILD_QT4_UNIT_PART_3
    98  VBOX_INCS_QT4      += $(VBOX_PATH_QT4_INCLUDE) ## @todo add this to the qt4 unit.
    99 endif
    100 
    101  ifeq (disabled,yes) # Adding mkspecs to the INCS is hopefully not really necessary... Will try disable it later.
    102   ifeq ($(KBUILD_TARGET),win)
    103    ifeq ($(KBUILD_TARGET_ARCH),amd64)
    104     ## @todo This is the correct one here: VBOX_INCS_QT4    += $(VBOX_PATH_QT4_SHARE)/mkspecs/win32-msvc2005
    105     VBOX_INCS_QT4    += $(VBOX_PATH_QT4_SHARE)/mkspecs/win32-msvc.net
    106    else
    107     VBOX_INCS_QT4    += $(VBOX_PATH_QT4_SHARE)/mkspecs/win32-msvc.net
    108    endif
    109   else ifeq ($(KBUILD_TARGET),linux)
    110    VBOX_INCS_QT4     += $(VBOX_PATH_QT4_SHARE)/mkspecs/linux-g++
    111   endif
    112  endif
    113 
    114  ifndef USE_KBUILD_QT4_UNIT_PART_3
    115   # Move down.
    116   ifeq ($(KBUILD_TARGET),win)
    117    VBOX_LIBS_QT4 := VBoxqtmain.lib
    118   endif
    119  endif
    120 
    121 endif
    12286
    12387# Hack LD_LIBRARY_PATH for stuff in tools.
     
    12892endif
    12993
    130 # Some default defs
    131 VBOX_DEFS_QT4 += QT_SHARED HAVE_CONFIG_H QT_NO_DEBUG
    13294
    13395ifdef VBOX_WITH_QT4_SUN
     
    178140 endif
    179141endif
    180 TEMPLATE_VBOXQT4GUIEXE_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT $(ARCH_BITS_DEFS) $(VBOX_DEFS_QT4)
     142TEMPLATE_VBOXQT4GUIEXE_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT QT_SHARED HAVE_CONFIG_H $(ARCH_BITS_DEFS)
    181143TEMPLATE_VBOXQT4GUIEXE_INCS = \
    182         $(VBOX_PATH_SDK)/include \
    183         $(VBOX_INCS_QT4)
     144        $(VBOX_PATH_SDK)/include
    184145
    185146ifeq ($(KBUILD_TARGET),win)
     
    213174        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib \
    214175        $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib
    215  TEMPLATE_VBOXQT4GUIEXE_LIBPATH = $(VBOX_PATH_QT4_LIB)
    216176 TEMPLATE_VBOXQT4GUIEXE_POST_CMDS = $(VBOX_SIGN_IMAGE_CMDS)
    217177
     
    240200        $(LIB_VMM)
    241201
    242 ifeq (disabled,yes)
    243  ifeq ($(KBUILD_TARGET_ARCH),amd64)
    244   TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \
    245         $(VBOX_PATH_QT4_LIB64) $(VBOX_PATH_QT4_LIB)
    246  else
    247   TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \
    248         $(VBOX_PATH_QT4_LIB)
    249  endif
    250 endif
    251 
    252202 ifeq ($(KBUILD_TARGET),linux)
    253203  TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(VBOX_LD_as_needed)
     
    257207    $(VBOX_LIBPATH_X11)
    258208 else ifeq ($(KBUILD_TARGET),darwin)
    259 ifndef USE_KBUILD_QT4_UNIT_PART_3
    260   TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) ## @todo fix in the qt unit. Somehow this fixes the #include <QtCore/qstring.h> stuff.
    261 endif
    262209  TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -framework Carbon -framework QuickTime -bind_at_load
    263210  TEMPLATE_VBOXQT4GUIEXE_LIBS +=
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