1 | # $Id: Makefile.kmk 107076 2024-11-21 09:59:02Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for common Windows installation code.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2024 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 |
|
---|
28 | SUB_DEPTH = ../../../..
|
---|
29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
30 |
|
---|
31 | ifdef VBOX_WITH_TESTCASES
|
---|
32 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
33 | endif
|
---|
34 |
|
---|
35 | ifndef VBOX_ONLY_ADDITIONS
|
---|
36 | #
|
---|
37 | # The host variant of VBoxDrvInst.
|
---|
38 | #
|
---|
39 | PROGRAMS.win += VBoxDrvInstHost
|
---|
40 | VBoxDrvInstHost_TEMPLATE = VBoxR3Exe
|
---|
41 | VBoxDrvInstHost_DEFS = _WIN32_WINNT=0x0400 _UNICODE UNICODE VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
42 | VBoxDrvInstHost_INST := $(INST_BIN)
|
---|
43 | VBoxDrvInstHost_NAME := VBoxDrvInst
|
---|
44 | VBoxDrvInstHost_SOURCES = \
|
---|
45 | VBoxWinDrvCommon.cpp \
|
---|
46 | VBoxWinDrvInst.cpp \
|
---|
47 | VBoxWinDrvStore.cpp \
|
---|
48 | VBoxDrvInst.cpp \
|
---|
49 | VBoxDrvInst.rc
|
---|
50 | VBoxDrvInstHost_LIBS = \
|
---|
51 | $(LIB_RUNTIME)
|
---|
52 | endif
|
---|
53 |
|
---|
54 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|