VirtualBox

source: vbox/trunk/src/VBox/Debugger/Makefile.kmk@ 98417

Last change on this file since 98417 was 98169, checked in by vboxsync, 22 months ago

*.kmk: s/VBOXR3TSTEXE/VBoxR3TstExe/ bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1# $Id: Makefile.kmk 98169 2023-01-20 20:34:03Z vboxsync $
2## @file
3# Makefile for the VBox debugger.
4#
5
6#
7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31#
32# The targets.
33#
34ifdef VBOX_WITH_DEBUGGER
35 LIBRARIES += Debugger
36 ifdef VBOX_WITH_TESTCASES
37 PROGRAMS += tstDBGCParser
38 endif
39endif # VBOX_WITH_DEBUGGER
40
41
42#
43# Debugger library - linked into VBoxVMM.
44#
45Debugger_TEMPLATE = VBoxR3Dll
46Debugger_DEFS = IN_VMM_R3 IN_DBG_R3 IN_DIS
47ifneq ($(KBUILD_TYPE),release)
48 Debugger_DEFS += VBOX_WITH_DEBUGGER_TCP_BY_DEFAULT
49endif
50Debugger_SOURCES = \
51 DBGConsole.cpp \
52 DBGCEval.cpp \
53 DBGCBuiltInSymbols.cpp \
54 DBGCCmdHlp.cpp \
55 DBGCCmdWorkers.cpp \
56 DBGCCommands.cpp \
57 DBGCDumpImage.cpp \
58 DBGCFunctions.cpp \
59 DBGCEmulateCodeView.cpp \
60 DBGCOps.cpp \
61 DBGCGdbRemoteStub.cpp \
62 DBGCRemoteKd.cpp \
63 DBGCIo.cpp \
64 DBGCIoProvTcp.cpp \
65 DBGCIoProvUdp.cpp \
66 DBGCIoProvIpc.cpp \
67 DBGCScreenAscii.cpp
68
69#
70# The diggers plug-in.
71#
72DLLS += DbgPlugInDiggers
73DbgPlugInDiggers_TEMPLATE = VBoxR3Dll
74DbgPlugInDiggers_DEFS = IN_DIS
75DbgPlugInDiggers_SOURCES = \
76 DBGPlugInDiggers.cpp \
77 DBGPlugInDarwin.cpp \
78 DBGPlugInLinux.cpp \
79 DBGPlugInSolaris.cpp \
80 DBGPlugInWinNt.cpp \
81 DBGPlugInOS2.cpp \
82 DBGPlugInFreeBsd.cpp \
83 DBGPlugInCommonELF.cpp
84DbgPlugInDiggers_LIBS = \
85 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) \
86 $(LIB_RUNTIME)
87$(call VBOX_SET_VER_INFO_DLL,DbgPlugInDiggers,VirtualBox Debugger Guest OS Digger Plug-in)
88
89
90#
91# The DBGC parser testcase.
92# This stubs all the VBoxVMM APIs.
93#
94tstDBGCParser_TEMPLATE = VBoxR3TstExe
95tstDBGCParser_DEFS = IN_VMM_R3
96tstDBGCParser_CXXFLAGS = $(VBOX_C_CXX_FLAGS_NO_UNUSED_PARAMETERS)
97tstDBGCParser_SOURCES = \
98 testcase/tstDBGCParser.cpp \
99 testcase/tstDBGCStubs.cpp
100tstDBGCParser_LIBS = \
101 $(Debugger_1_TARGET) \
102 $(LIB_RUNTIME)
103
104
105if defined(VBOX_WITH_QTGUI) && defined(VBOX_WITH_DEBUGGER_GUI)
106#
107# Debugger GUI component (Qt).
108#
109 ifndef VBOX_WITH_QT6
110USES += qt5
111 else
112USES += qt6
113 endif
114DLLS += VBoxDbg
115VBoxDbg_TEMPLATE = VBoxQtGuiDll
116VBoxDbg_DEFS = IN_DBG_R3
117VBoxDbg_INCS = .
118VBoxDbg_QT_MODULES = Core Gui Widgets
119VBoxDbg_QT_MOCHDRS = \
120 VBoxDbgGui.h \
121 VBoxDbgConsole.h \
122 VBoxDbgStatsQt.h
123VBoxDbg_SOURCES = \
124 VBoxDbg.cpp \
125 VBoxDbgGui.cpp \
126 VBoxDbgBase.cpp \
127 VBoxDbgConsole.cpp \
128 VBoxDbgStatsQt.cpp
129VBoxDbg_LDFLAGS.darwin = \
130 -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDbg.dylib
131$(call VBOX_SET_VER_INFO_DLL,VBoxDbg,VirtualBox Debugger GUI)
132endif # Qt
133
134
135include $(FILE_KBUILD_SUB_FOOTER)
136
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette