VirtualBox

source: vbox/trunk/src/VBox/Frontends/VBoxHeadless/Makefile.kmk@ 99806

Last change on this file since 99806 was 98412, checked in by vboxsync, 23 months ago

Frontends/*.kmk: Automatic scm cleanups. bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 98412 2023-02-01 16:21:48Z vboxsync $
2## @file
3# Sub-Makefile for the headless frontend.
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
31include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
32
33#
34# Hardened VBoxHeadless.
35#
36ifdef VBOX_WITH_HARDENING
37 PROGRAMS += VBoxHeadlessHardened
38 VBoxHeadlessHardened_TEMPLATE = VBoxR3HardenedExe
39 VBoxHeadlessHardened_DEFS += $(if $(VBOX_WITH_DRIVERLESS_NEM_FALLBACK),VBOX_WITH_DRIVERLESS_NEM_FALLBACK,)
40 VBoxHeadlessHardened_SOURCES = VBoxHeadlessHardened.cpp
41 VBoxHeadlessHardened_NAME = VBoxHeadless
42 $(call VBOX_SET_VER_INFO_DLL,VBoxHeadlessHardened,VirtualBox Headless Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.
43endif
44
45
46#
47# VBoxHeadless
48#
49ifdef VBOX_WITH_HARDENING
50 DLLS += VBoxHeadless
51else
52 PROGRAMS += VBoxHeadless
53endif
54VBoxHeadless_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxMainClientDll,VBoxMainClientExe)
55VBoxHeadless_DEFS += $(if $(VBOX_WITH_RECORDING),VBOX_WITH_RECORDING,)
56VBoxHeadless_INCS = \
57 $(VBOX_GRAPHICS_INCS) \
58 ../Common
59VBoxHeadless_SOURCES = \
60 VBoxHeadless.cpp \
61 ../Common/PasswordInput.cpp
62ifdef VBOX_WITH_GUEST_PROPS
63 VBoxHeadless_DEFS += VBOX_WITH_GUEST_PROPS
64endif
65ifdef VBOX_WITH_HARDENING
66 VBoxHeadless_LDFLAGS.darwin += -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxHeadless.dylib
67endif
68ifdef VBOX_WITH_HARDENING
69 $(call VBOX_SET_VER_INFO_DLL,VBoxHeadless,VirtualBox Headless Frontend (dll),$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.
70else
71 $(call VBOX_SET_VER_INFO_EXE,VBoxHeadless,VirtualBox Headless Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.
72endif
73
74include $(FILE_KBUILD_SUB_FOOTER)
75
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