1 | # $Id: Makefile.kmk 106061 2024-09-16 14:03:52Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for VBoxBugReport
|
---|
4 | #
|
---|
5 | # VBoxBugReport is a tool for collecting useful information on the host.
|
---|
6 | #
|
---|
7 |
|
---|
8 | #
|
---|
9 | # Copyright (C) 2006-2024 Oracle and/or its affiliates.
|
---|
10 | #
|
---|
11 | # This file is part of VirtualBox base platform packages, as
|
---|
12 | # available from https://www.virtualbox.org.
|
---|
13 | #
|
---|
14 | # This program is free software; you can redistribute it and/or
|
---|
15 | # modify it under the terms of the GNU General Public License
|
---|
16 | # as published by the Free Software Foundation, in version 3 of the
|
---|
17 | # License.
|
---|
18 | #
|
---|
19 | # This program is distributed in the hope that it will be useful, but
|
---|
20 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
21 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
22 | # General Public License for more details.
|
---|
23 | #
|
---|
24 | # You should have received a copy of the GNU General Public License
|
---|
25 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
26 | #
|
---|
27 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
28 | #
|
---|
29 |
|
---|
30 | SUB_DEPTH = ../../../..
|
---|
31 | include $(KBUILD_PATH)/subheader.kmk
|
---|
32 |
|
---|
33 | PROGRAMS += VBoxBugReport
|
---|
34 | VBoxBugReport_TEMPLATE = VBoxMainClientExe
|
---|
35 | ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
|
---|
36 | # VBoxBugReport_DEFS = VBOX_WATCHDOG_GLOBAL_PERFCOL VBOX_BUILD_TARGET="$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)"
|
---|
37 | else
|
---|
38 | # VBoxBugReport_DEFS = VBOX_WATCHDOG_GLOBAL_PERFCOL VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"
|
---|
39 | endif
|
---|
40 | VBoxBugReport_DEFS.win = _WIN32_WINNT=0x0501 PSAPI_VERSION=1
|
---|
41 | VBoxBugReport_LIBS.win = psapi.lib
|
---|
42 | VBoxBugReport_SOURCES = \
|
---|
43 | VBoxBugReport.cpp
|
---|
44 | VBoxBugReport_SOURCES.win = \
|
---|
45 | VBoxBugReportWin.cpp
|
---|
46 |
|
---|
47 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
48 |
|
---|