VirtualBox

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

Last change on this file since 98188 was 98188, checked in by vboxsync, 20 months ago

*.kmk: s/VBOXMAINCLIENTDLL/VBoxMainClientDll/ bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
RevLine 
[5834]1# $Id: Makefile.kmk 98188 2023-01-21 22:52:35Z vboxsync $
2## @file
[6759]3# Sub-Makefile for the headless frontend.
[5834]4#
5
6#
[98103]7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
[5999]8#
[96407]9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
[5999]11#
[96407]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#
[5834]27
[10058]28SUB_DEPTH = ../../../..
[8760]29include $(KBUILD_PATH)/subheader.kmk
[5834]30
[6759]31include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
[5834]32
[11725]33#
[82760]34# Hardened VBoxHeadless.
[11725]35#
36ifdef VBOX_WITH_HARDENING
[82760]37PROGRAMS += VBoxHeadlessHardened
[98155]38VBoxHeadlessHardened_TEMPLATE = VBoxR3HardenedExe
[93067]39VBoxHeadlessHardened_DEFS += $(if $(VBOX_WITH_DRIVERLESS_NEM_FALLBACK),VBOX_WITH_DRIVERLESS_NEM_FALLBACK,)
[11725]40VBoxHeadlessHardened_SOURCES = VBoxHeadlessHardened.cpp
41VBoxHeadlessHardened_NAME = VBoxHeadless
[82742]42$(call VBOX_SET_VER_INFO_DLL,VBoxHeadlessHardened,VirtualBox Headless Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.
[82760]43endif
[11725]44
45
46#
47# VBoxHeadless
48#
[82760]49ifdef VBOX_WITH_HARDENING
50DLLS += VBoxHeadless
51else
52PROGRAMS += VBoxHeadless
53endif
[98188]54VBoxHeadless_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxMainClientDll,VBoxMainClientExe)
[93067]55VBoxHeadless_DEFS += $(if $(VBOX_WITH_RECORDING),VBOX_WITH_RECORDING,)
[80569]56VBoxHeadless_INCS = \
57 $(VBOX_GRAPHICS_INCS) \
58 ../Common
[82760]59VBoxHeadless_SOURCES = \
[80569]60 VBoxHeadless.cpp \
61 ../Common/PasswordInput.cpp
[25797]62ifdef VBOX_WITH_GUEST_PROPS
[82760]63 VBoxHeadless_DEFS += VBOX_WITH_GUEST_PROPS
[25797]64endif
[11725]65ifdef VBOX_WITH_HARDENING
66 VBoxHeadless_LDFLAGS.darwin += -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxHeadless.dylib
67endif
[82742]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
[5834]73
[41477]74include $(FILE_KBUILD_SUB_FOOTER)
[5834]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