Changeset 10621 in vbox for trunk/src/VBox
- Timestamp:
- Jul 14, 2008 10:08:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10619 r10621 27 27 # 28 28 VBOX_VIRTUALBOX4_SRC := $(PATH_SUB_CURRENT) 29 30 USE_KBUILD_QT4_UNIT_PART_3 := 131 29 32 30 VBOX_WITH_REGISTRATION := 1 … … 81 79 # gentoo (64-bit) 82 80 VBOX_PATH_QT4 ?= /usr 83 VBOX_PATH_QT4_INCLUDE ?= /usr/include/qt484 81 VBOX_PATH_QT4_LIB ?= /usr/lib/qt4 85 VBOX_PATH_QT4_LIB64 ?= /usr/lib/qt486 VBOX_PATH_QT4_SHARE ?= /usr/share/qt487 82 endif 88 83 endif 89 84 VBOX_PATH_QT4 ?= /usr 90 VBOX_PATH_QT4_INCLUDE ?= $(VBOX_PATH_QT4)/include91 85 VBOX_PATH_QT4_LIB ?= $(VBOX_PATH_QT4)/lib 92 VBOX_PATH_QT4_LIB64 ?= $(VBOX_PATH_QT4)/lib6493 VBOX_PATH_QT4_FRAMEWORKS ?= $(VBOX_PATH_QT4)/Frameworks94 VBOX_PATH_QT4_SHARE ?= $(VBOX_PATH_QT4)95 96 ifneq ($(KBUILD_TARGET),darwin)97 ifndef USE_KBUILD_QT4_UNIT_PART_398 VBOX_INCS_QT4 += $(VBOX_PATH_QT4_INCLUDE) ## @todo add this to the qt4 unit.99 endif100 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-msvc2005105 VBOX_INCS_QT4 += $(VBOX_PATH_QT4_SHARE)/mkspecs/win32-msvc.net106 else107 VBOX_INCS_QT4 += $(VBOX_PATH_QT4_SHARE)/mkspecs/win32-msvc.net108 endif109 else ifeq ($(KBUILD_TARGET),linux)110 VBOX_INCS_QT4 += $(VBOX_PATH_QT4_SHARE)/mkspecs/linux-g++111 endif112 endif113 114 ifndef USE_KBUILD_QT4_UNIT_PART_3115 # Move down.116 ifeq ($(KBUILD_TARGET),win)117 VBOX_LIBS_QT4 := VBoxqtmain.lib118 endif119 endif120 121 endif122 86 123 87 # Hack LD_LIBRARY_PATH for stuff in tools. … … 128 92 endif 129 93 130 # Some default defs131 VBOX_DEFS_QT4 += QT_SHARED HAVE_CONFIG_H QT_NO_DEBUG132 94 133 95 ifdef VBOX_WITH_QT4_SUN … … 178 140 endif 179 141 endif 180 TEMPLATE_VBOXQT4GUIEXE_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT $(ARCH_BITS_DEFS) $(VBOX_DEFS_QT4)142 TEMPLATE_VBOXQT4GUIEXE_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT QT_SHARED HAVE_CONFIG_H $(ARCH_BITS_DEFS) 181 143 TEMPLATE_VBOXQT4GUIEXE_INCS = \ 182 $(VBOX_PATH_SDK)/include \ 183 $(VBOX_INCS_QT4) 144 $(VBOX_PATH_SDK)/include 184 145 185 146 ifeq ($(KBUILD_TARGET),win) … … 213 174 $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib \ 214 175 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib 215 TEMPLATE_VBOXQT4GUIEXE_LIBPATH = $(VBOX_PATH_QT4_LIB)216 176 TEMPLATE_VBOXQT4GUIEXE_POST_CMDS = $(VBOX_SIGN_IMAGE_CMDS) 217 177 … … 240 200 $(LIB_VMM) 241 201 242 ifeq (disabled,yes)243 ifeq ($(KBUILD_TARGET_ARCH),amd64)244 TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \245 $(VBOX_PATH_QT4_LIB64) $(VBOX_PATH_QT4_LIB)246 else247 TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \248 $(VBOX_PATH_QT4_LIB)249 endif250 endif251 252 202 ifeq ($(KBUILD_TARGET),linux) 253 203 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(VBOX_LD_as_needed) … … 257 207 $(VBOX_LIBPATH_X11) 258 208 else ifeq ($(KBUILD_TARGET),darwin) 259 ifndef USE_KBUILD_QT4_UNIT_PART_3260 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) ## @todo fix in the qt unit. Somehow this fixes the #include <QtCore/qstring.h> stuff.261 endif262 209 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -framework Carbon -framework QuickTime -bind_at_load 263 210 TEMPLATE_VBOXQT4GUIEXE_LIBS +=
Note:
See TracChangeset
for help on using the changeset viewer.