VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxCredProv/Makefile.kmk@ 105266

Last change on this file since 105266 was 98103, checked in by vboxsync, 22 months ago

Copyright year updates by scm.

  • 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 98103 2023-01-17 14:15:46Z vboxsync $
2## @file
3# Sub-Makefile for VBoxCredProv.
4#
5
6#
7# Copyright (C) 2009-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# Do we want to use Windows SENS (System Event Notification Service)?
32VBOX_WITH_WIN_SENS := 1
33
34DLLS += VBoxCredProv
35VBoxCredProv_TEMPLATE = VBoxGuestR3Dll
36VBoxCredProv_DEFS = VBGL_VBOXGUEST VBOX_WITH_HGCM UNICODE
37ifdef VBOX_WITH_WIN_SENS
38 VBoxCredProv_DEFS += VBOX_WITH_WIN_SENS
39endif
40VBoxCredProv_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK_GST_WLH)
41VBoxCredProv_SOURCES = \
42 VBoxCredentialProvider.cpp \
43 VBoxCredentialProvider.def \
44 VBoxCredentialProvider.rc \
45 VBoxCredProvFactory.cpp \
46 VBoxCredProvProvider.cpp \
47 VBoxCredProvCredential.cpp \
48 VBoxCredProvPoller.cpp \
49 VBoxCredProvUtils.cpp
50ifdef VBOX_WITH_WIN_SENS
51 # To use com::Bstr for BSTR handling.
52 VBoxCredProv_SOURCES += \
53 $(PATH_ROOT)/src/VBox/Main/glue/string.cpp
54endif
55VBoxCredProv_LIBS = \
56 $(VBOX_LIB_IPRT_GUEST_R3) \
57 $(VBOX_LIB_VBGL_R3)
58VBoxCredProv_LIBS += \
59 $(PATH_SDK_$(VBOX_WINPSDK_GST_WLH)_LIB)/credui.lib \
60 $(PATH_SDK_$(VBOX_WINPSDK_GST_WLH)_LIB)/Secur32.Lib \
61 $(PATH_SDK_$(VBOX_WINPSDK_GST_WLH)_LIB)/NetAPI32.Lib
62VBoxCredProv_VBOX_IMPORT_CHECKER.win.x86 := vista
63VBoxCredProv_VBOX_IMPORT_CHECKER.win.amd64 := vista
64
65include $(FILE_KBUILD_SUB_FOOTER)
66
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