Changeset 957 in vbox for trunk/src/VBox/Frontends/VirtualBox/Makefile
- Timestamp:
- Feb 17, 2007 4:43:22 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile
r954 r957 39 39 VirtualBox_SDKS.win = WINPSDK DXSDK 40 40 VirtualBox_SDKS.linux = LIBSDL 41 VirtualBox_SDKS.darwin = LIBSDL 41 42 42 43 … … 65 66 66 67 # Sources containing local definitions of classes that use the Q_OBJECT macro 67 if eq ($(BUILD_TARGET),linux)68 ifneq ($(BUILD_TARGET),win) 68 69 VirtualBox_QT_MOCSRCS = src/COMDefs.cpp 69 70 endif … … 85 86 86 87 87 VirtualBox_SOURCES 88 VirtualBox_SOURCES = \ 88 89 $(VirtualBox_GENSRCS) \ 89 90 src/main.cpp \ … … 120 121 endif 121 122 122 VirtualBox_CXXFLAGS.win = \ 123 -nologo -Zm200 -W3 -MD -EHsc -DUNICODE -DQT_DLL -DQT_THREAD_SUPPORT -DQT_NO_DEBUG 124 VirtualBox_CXXFLAGS.linux = \ 125 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT 126 123 VirtualBox_DEFS = VBOX_GUI_SEPARATE_VM_PROCESS 127 124 VirtualBox_DEFS.debug = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT 128 VirtualBox_DEFS += VBOX_GUI_SEPARATE_VM_PROCESS 129 125 VirtualBox_DEFS.win = UNICODE QT_DLL 130 126 ifeq ($(BUILD_TYPE),release) 131 VirtualBox_DEFS.win += VBOX_GUI_USE_QIMAGE 132 VirtualBox_DEFS.linux += VBOX_GUI_USE_SDL 127 VirtualBox_DEFS.win += VBOX_GUI_USE_QIMAGE 128 VirtualBox_DEFS.linux += VBOX_GUI_USE_SDL 129 VirtualBox_DEFS.darwin += VBOX_GUI_USE_SDL 133 130 else 134 VirtualBox_DEFS+= VBOX_WITH_DEBUGGER_GUI_MENU135 VirtualBox_DEFS.win+= \131 VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU 132 VirtualBox_DEFS.win += \ 136 133 VBOX_GUI_USE_REFRESH_TIMER \ 137 134 VBOX_GUI_USE_QIMAGE \ 138 135 VBOX_GUI_USE_DDRAW 139 VirtualBox_DEFS.linux+= \136 VirtualBox_DEFS.linux += \ 140 137 VBOX_GUI_USE_REFRESH_TIMER \ 141 138 VBOX_GUI_USE_QIMAGE \ 142 139 VBOX_GUI_USE_SDL 143 endif 144 140 VirtualBox_DEFS.darwin += \ 141 VBOX_GUI_USE_REFRESH_TIMER \ 142 VBOX_GUI_USE_QIMAGE \ 143 VBOX_GUI_USE_SDL 144 endif 145 ifdef VBOX_WITH_ALSA 146 VirtualBox_DEFS += VBOX_WITH_ALSA 147 endif 145 148 ifdef VBOX_OSE 146 VirtualBox_DEFS += VBOX_OSE 147 endif 148 ifdef VBOX_WITH_ALSA 149 VirtualBox_DEFS += VBOX_WITH_ALSA 149 VirtualBox_DEFS += VBOX_OSE 150 150 endif 151 151 … … 160 160 VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows 161 161 else 162 VirtualBox_LDFLAGS.linux 162 VirtualBox_LDFLAGS.linux+= -rdynamic # for backtrace_symbols() 163 163 ifeq ($(USERNAME),dmik) 164 164 VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows … … 167 167 endif 168 168 endif 169 VirtualBox_LIBS.win = \169 VirtualBox_LIBS.win = \ 170 170 $(PATH_SDK_WINPSDK_LIB)/Htmlhelp.Lib \ 171 171 $(PATH_SDK_DXSDK_LIB)/ddraw.lib \ 172 172 $(PATH_SDK_DXSDK_LIB)/dxguid.lib 173 173 174 VirtualBox_LIBS.linux = \175 $(LIB_QT) Xext X11 m $(LIB_PTHREAD) \176 $(PATH_LIB)/VBoxXPCOM$(VBOX_SUFF_LIB) \177 $(LIB_RUNTIME) \178 $(PATH_BIN)/VBoxXML.so \179 $(LIB_REM) \180 $(LIB_VMM) \181 $(PATH_BIN)/VBoxXPCOM.so \182 $(PATH_LIB)/VBoxXPCOMGlue$(VBOX_SUFF_LIB)183 184 174 ifdef VBOX_WITH_DEBUGGER_GUI 185 VirtualBox_LIBS.win += $(PATH_LIB)/VBoxDbg.lib 186 VirtualBox_LIBS.linux += $(PATH_DLL)/VBoxDbg.so 175 ifeq ($(BUILD_TARGET),win) 176 VirtualBox_LIBS += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB) 177 else 178 VirtualBox_LIBS += $(PATH_DLL)/VBoxDbg$(VBOX_SUFF_DLL) 179 endif 187 180 endif 188 181
Note:
See TracChangeset
for help on using the changeset viewer.