VirtualBox

source: vbox/trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk@ 99050

Last change on this file since 99050 was 99050, checked in by vboxsync, 21 months ago

FE/VBoxBFE: Revive as a very limited version, will mainly serve as a playground for the ARM bringup in order to avoid messing with Main/COM at this point, bugref:10397

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 99050 2023-03-19 16:31:43Z vboxsync $
2## @file
3# Sub-Makefile for the basic frontend.
4#
5
6#
7# Copyright (C) 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# Hardened VBoxBFE.
33#
34ifdef VBOX_WITH_HARDENING
35 PROGRAMS += VBoxBFEHardened
36 VBoxBFEHardened_TEMPLATE = VBoxR3HardenedExe
37 VBoxBFEHardened_DEFS += $(if $(VBOX_WITH_DRIVERLESS_NEM_FALLBACK),VBOX_WITH_DRIVERLESS_NEM_FALLBACK,)
38 VBoxBFEHardened_SOURCES = VBoxBFEHardened.cpp
39 VBoxBFEHardened_NAME = VBoxBFE
40 $(call VBOX_SET_VER_INFO_DLL,VBoxBFEHardened,VirtualBox Basic Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.
41endif
42
43
44#
45# VBoxBFE
46#
47ifdef VBOX_WITH_HARDENING
48 DLLS += VBoxBFE
49else
50 PROGRAMS += VBoxBFE
51endif
52VBoxBFE_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxMainClientDll,VBoxMainClientExe)
53VBoxHeadless_INCS = \
54 $(VBOX_GRAPHICS_INCS) \
55 ../Common
56VBoxBFE_SOURCES = \
57 VBoxBFE.cpp
58ifdef VBOX_WITH_HARDENING
59 VBoxBFE_LDFLAGS.darwin += -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxBFE.dylib
60endif
61ifdef VBOX_WITH_HARDENING
62 $(call VBOX_SET_VER_INFO_DLL,VBoxBFE,VirtualBox Basic Frontend (dll),$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.
63else
64 $(call VBOX_SET_VER_INFO_EXE,VBoxBFE,VirtualBox Basic Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.
65endif
66
67include $(FILE_KBUILD_SUB_FOOTER)
68
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