VirtualBox

Changeset 12182

Show
Ignore:
Timestamp:
09/06/08 20:50:12 (3 months ago)
Author:
vboxsync
Message:

Debugger GUI: check for VBOX_WITH_QT[4]GUI.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Debugger/Makefile.kmk

    r12181 r12182  
    3535 ifdef VBOX_WITH_TESTCASES 
    3636  PROGRAMS += tstDBGCParser 
    37  endif 
    38  ifdef VBOX_WITH_DEBUGGER_GUI 
    39   DLLS += VBoxDbg3 
    40   ifdef VBOX_WITH_TESTCASES 
    41    PROGRAMS += tstVBoxDbg3 
    42   endif 
    4337 endif 
    4438endif # VBOX_WITH_DEBUGGER 
     
    8074 
    8175 
     76if defined(VBOX_WITH_QTGUI) && defined(VBOX_WITH_DEBUGGER_GUI) 
    8277# 
    8378# Debugger GUI component (Qt3). 
    8479# 
     80DLLS += VBoxDbg3 
    8581VBoxDbg3_TEMPLATE = VBOXQTGUI 
    8682USES += qt3 
     
    105101        -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDbg3.dylib 
    106102 
     103 ifdef VBOX_WITH_TESTCASES 
     104# 
     105# The VBoxDbg testcase (Qt3). 
     106# 
     107PROGRAMS += tstVBoxDbg3 
     108tstVBoxDbg3_TEMPLATE     = VBOXQTGUIEXE 
     109tstVBoxDbg3_USES         = qt3 
     110tstVBoxDbg3_QTTOOL       = QT3 
     111tstVBoxDbg3_SOURCES      = testcase/tstVBoxDbg.cpp 
     112tstVBoxDbg3_LIBS         = \ 
     113        $(LIB_VMM) \ 
     114        $(LIB_RUNTIME) 
     115  ifeq ($(KBUILD_TARGET),win) 
     116tstVBoxDbg3_LIBS        += \ 
     117        $(PATH_LIB)/VBoxDbg.lib 
     118  else 
     119tstVBoxDbg3_LIBS        += \ 
     120        $(PATH_BIN)/VBoxDbg$(VBOX_SUFF_DLL) 
     121  endif 
     122 endif 
     123endif # QTGUI 
    107124 
     125 
     126if defined(VBOX_WITH_QT4GUI) && defined(VBOX_WITH_DEBUGGER_GUI) && $(USER) == bird 
    108127# 
    109128# Debugger GUI component (Qt4). 
    110129# 
    111 #DLLS += VBoxDbg 
     130DLLS += VBoxDbg 
    112131VBoxDbg_TEMPLATE = VBOXQT4GUI 
    113132VBoxDbg_DEFS = IN_DBG_R3 VBOXDBG_USE_QT4 
     
    129148        -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDbg.dylib 
    130149 
    131  
    132 
    133 # The VBoxDbg testcase (Qt3). 
    134 
    135 tstVBoxDbg3_TEMPLATE     = VBOXQTGUIEXE 
    136 tstVBoxDbg3_USES         = qt3 
    137 tstVBoxDbg3_QTTOOL       = QT3 
    138 tstVBoxDbg3_SOURCES      = testcase/tstVBoxDbg.cpp 
    139 tstVBoxDbg3_LIBS         = \ 
    140         $(LIB_VMM) \ 
    141         $(LIB_RUNTIME) 
    142 ifeq ($(KBUILD_TARGET),win) 
    143 tstVBoxDbg3_LIBS        += \ 
    144         $(PATH_LIB)/VBoxDbg.lib 
    145 else 
    146 tstVBoxDbg3_LIBS        += \ 
    147         $(PATH_BIN)/VBoxDbg$(VBOX_SUFF_DLL) 
    148 endif 
    149  
     150 ifdef VBOX_WITH_TESTCASES 
    150151# 
    151152# The VBoxDbg testcase (Qt4). 
    152153# 
    153 #PROGRAMS += tstVBoxDbg 
    154 tstVBoxDbg_TEMPLATE     = VBOXQTGUI4EXE 
     154PROGRAMS += tstVBoxDbg 
     155tstVBoxDbg_TEMPLATE     = VBOXQT4GUIEXE 
    155156tstVBoxDbg_USES         = qt4 
    156157tstVBoxDbg_QTTOOL       = QT4 
     
    160161        $(LIB_VMM) \ 
    161162        $(LIB_RUNTIME) 
    162 ifeq ($(KBUILD_TARGET),win) 
     163  ifeq ($(KBUILD_TARGET),win) 
    163164tstVBoxDbg_LIBS        += \ 
    164165        $(PATH_LIB)/VBoxDbg.lib 
    165 else 
     166  else 
    166167tstVBoxDbg_LIBS        += \ 
    167168        $(PATH_BIN)/VBoxDbg$(VBOX_SUFF_DLL) 
    168 endif 
     169  endif 
     170 endif # TESTCASES 
     171endif # Qt4 
    169172 
    170173 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy