VirtualBox

source: vbox/trunk/src/VBox/GuestHost/installation/Makefile.kmk@ 106936

Last change on this file since 106936 was 106936, checked in by vboxsync, 3 months ago

Windows driver installation: Added new VBoxDrvInst tool for generic Windows driver installation, listing and uninstallation, to have a common tool as a host and a guest version. bugref:10762

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1# $Id: Makefile.kmk 106936 2024-11-11 17:42:05Z 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
28SUB_DEPTH = ../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31VBoxDrvInst_TEMPLATE = VBoxR3Exe
32VBoxDrvInst_DEFS = _WIN32_WINNT=0x0501 _UNICODE UNICODE VBOX_SVN_REV=$(VBOX_SVN_REV)
33VBoxDrvInst_SOURCES = \
34 VBoxWinDrvCommon.cpp \
35 VBoxWinDrvInst.cpp \
36 VBoxWinDrvStore.cpp \
37 VBoxDrvInst.cpp
38
39
40ifndef VBOX_ONLY_ADDITIONS
41 #
42 # The host variant of VBoxDrvInst.
43 #
44 PROGRAMS.win += VBoxDrvInstHost
45 VBoxDrvInstHost_TEMPLATE = VBoxR3Exe
46 VBoxDrvInstHost_EXTENDS := VBoxDrvInst
47 VBoxDrvInstHost_EXTENDS_BY = appending
48 VBoxDrvInstHost_INST := $(INST_BIN)
49 VBoxDrvInstHost_NAME := VBoxDrvInst
50 VBoxDrvInstHost_LIBS = \
51 $(LIB_RUNTIME)
52endif
53
54
55#
56# The Guest Additions variant of VBoxDrvInst.
57#
58PROGRAMS.win += VBoxDrvInstGuest
59VBoxDrvInstGuest_TEMPLATE = VBoxGuestR3Exe
60VBoxDrvInstGuest_EXTENDS = VBoxDrvInst
61VBoxDrvInstGuest_EXTENDS_BY = appending
62VBoxDrvInstGuest_NAME := VBoxDrvInst
63
64include $(FILE_KBUILD_SUB_FOOTER)
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