- Timestamp:
- Sep 17, 2007 9:15:41 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r4596 r4875 35 35 include $(PATH_KBUILD)/header.kmk 36 36 37 38 # 39 # The targets. 40 # 37 41 PROGRAMS = VirtualBox 38 DLLS.linux = VBoxKeyboard 39 42 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(BUILD_TARGET)),) # X11 43 DLLS = VBoxKeyboard 44 endif 40 45 INSTALLS = VirtualBox.nls 41 46 47 48 # 49 # VBoxKeyboard - keyboard library for X11. 50 # 42 51 VBoxKeyboard_TEMPLATE = VBOXR3 43 52 VBoxKeyboard_SOURCES = \ 44 53 src/linux/keyboard.c 45 54 55 56 # 57 # VirtualBox - The GUI program. 58 # 46 59 VirtualBox_TEMPLATE = VBOXQTGUIEXE 47 60 VirtualBox_SDKS.win = WINPSDK DXSDK 48 VirtualBox_SDKS.linux = LIBSDL 49 VirtualBox_SDKS.os2 = LIBSDL 61 #ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$(BUILD_TARGET)),) - later 62 ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(BUILD_TARGET)),) 63 VirtualBox_SDKS += LIBSDL 64 endif 50 65 51 66 ifeq ($(BUILD_TARGET),darwin) … … 90 105 # Sources containing local definitions of classes that use the Q_OBJECT macro 91 106 VirtualBox_QT_MOCSRCS = src/VBoxSelectorWnd.cpp 92 ifeq ($( BUILD_TARGET),linux)107 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11 93 108 VirtualBox_QT_MOCSRCS += src/VBoxGlobal.cpp 94 109 endif … … 152 167 src/HappyHttp.cpp 153 168 169 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11 170 VirtualBox_SOURCES += \ 171 src/linux/XKeyboard.cpp 172 endif 173 154 174 VirtualBox_SOURCES.win += \ 155 175 src/win32/VirtualBox.rc … … 157 177 VirtualBox_SOURCES.win += \ 158 178 src/VBoxFBDDRAW.cpp 159 160 VirtualBox_SOURCES.linux = \161 src/linux/XKeyboard.cpp162 179 163 180 VirtualBox_SOURCES.darwin = \ … … 167 184 src/darwin/VBoxUtils-darwin.cpp 168 185 169 src/HappyHttp.cpp_CXXFLAGS.linux += -fexceptions -O2 170 src/HappyHttp.cpp_CXXFLAGS.darwin += -fexceptions 171 src/HappyHttp.cpp_CXXFLAGS.os2 += -fexceptions 172 src/VBoxDownloaderWgt.cpp_CXXFLAGS.linux += -fexceptions 173 src/VBoxDownloaderWgt.cpp_CXXFLAGS.darwin += -fexceptions 174 src/VBoxDownloaderWgt.cpp_CXXFLAGS.os2 += -fexceptions 186 ifneq ($(BUILD_TARGET),win) 187 src/HappyHttp.cpp_CXXFLAGS += -fexceptions 188 src/VBoxDownloaderWgt.cpp_CXXFLAGS += -fexceptions 189 endif 190 src/HappyHttp.cpp_CXXFLAGS.linux += -O2 175 191 176 192 ## @todo how to detect what tool is used? … … 184 200 VirtualBox_DEFS.debug = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT 185 201 VirtualBox_DEFS.darwin = VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_QHTTP 202 VirtualBox_DEFS.freebsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL 186 203 VirtualBox_DEFS.linux = VBOX_GUI_USE_SDL 204 VirtualBox_DEFS.netbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL 205 VirtualBox_DEFS.openbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL 206 VirtualBox_DEFS.os2 = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL QT_DLL 207 VirtualBox_DEFS.solaris = VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_XCURSOR #VBOX_GUI_USE_SDL 187 208 VirtualBox_DEFS.win = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL 188 209 VirtualBox_DEFS.win.amd64 = VBOX_WITHOUT_QHTTP 189 VirtualBox_DEFS.os2 = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL QT_DLL190 210 #ifndef VBOX_OSE 191 211 VirtualBox_DEFS.darwin += VBOX_WITH_HACKED_QT … … 229 249 $(PATH_SDK_DXSDK_LIB)/ddraw.lib \ 230 250 $(PATH_SDK_DXSDK_LIB)/dxguid.lib 231 VirtualBox_LIBS.linux = $(PATH_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL) 232 233 234 ifdef VBOX_WITH_DEBUGGER_GUI 251 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11 252 VirtualBox_LIBS += $(PATH_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL) 253 endif 254 255 256 ifdef VBOX_WITH_DEBUGGER_GUI ## @todo make this dynamically loadable and ship with release builds too. 235 257 ifeq ($(BUILD_TARGET),win) 236 258 VirtualBox_LIBS += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB) … … 297 319 # Translation installation 298 320 # 299 300 321 VirtualBox.nls_INST = $(INST_BIN)nls/ 301 322 VirtualBox.nls_SOURCES = $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS))) -
trunk/src/VBox/Frontends/VirtualBox/include/XKeyboard.h
r4071 r4875 20 20 #define __XKeyboard_h__ 21 21 22 #ifndef RT_OS_LINUX23 #error This file is X11/Linux specific!24 #endif25 26 22 // our structure used to return keyboard event information 27 23 typedef struct _WINEKEYBOARDINFO -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r4514 r4875 71 71 #endif 72 72 #include "XKeyboard.h" 73 #include <X11/Xcursor/Xcursor.h> 74 #endif 73 #ifndef VBOX_WITHOUT_XCURSOR 74 # include <X11/Xcursor/Xcursor.h> 75 #endif 76 #endif // Q_WS_X11 75 77 76 78 #if defined (Q_WS_MAC) … … 2988 2990 DeleteObject (hBitmap); 2989 2991 2990 #elif defined (Q_WS_X11) 2992 #elif defined (Q_WS_X11) && !defined (VBOX_WITHOUT_XCURSOR) 2991 2993 2992 2994 XcursorImage *img = XcursorImageCreate (me->width(), me->height()); -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewHDWzd.ui.h
r4071 r4875 317 317 QString ext = QFileInfo (name).extension(); 318 318 /* compare against the proper case */ 319 #if defined (Q_OS_ LINUX)319 #if defined (Q_OS_FREEBSD) || defined (Q_OS_LINUX) || defined (Q_OS_NETBSD) || defined (Q_OS_OPENBSD) || defined (Q_OS_SOLARIS) 320 320 #elif defined (Q_OS_WIN) || defined (Q_OS_OS2) || defined (Q_OS_MACX) 321 321 ext = ext.lower();
Note:
See TracChangeset
for help on using the changeset viewer.