[40271] | 1 | # $Id: Makefile.kmk 98103 2023-01-17 14:15:46Z vboxsync $
|
---|
| 2 | ## @file
|
---|
| 3 | # Sub-Makefile for VBoxCredProv.
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[98103] | 7 | # Copyright (C) 2009-2023 Oracle and/or its affiliates.
|
---|
[40271] | 8 | #
|
---|
[96407] | 9 | # This file is part of VirtualBox base platform packages, as
|
---|
| 10 | # available from https://www.virtualbox.org.
|
---|
[40271] | 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 | #
|
---|
[40271] | 27 |
|
---|
| 28 | SUB_DEPTH = ../../../../..
|
---|
[41477] | 29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
[40271] | 30 |
|
---|
[60255] | 31 | # Do we want to use Windows SENS (System Event Notification Service)?
|
---|
| 32 | VBOX_WITH_WIN_SENS := 1
|
---|
| 33 |
|
---|
[40271] | 34 | DLLS += VBoxCredProv
|
---|
[63107] | 35 | VBoxCredProv_TEMPLATE = VBoxGuestR3Dll
|
---|
[60255] | 36 | VBoxCredProv_DEFS = VBGL_VBOXGUEST VBOX_WITH_HGCM UNICODE
|
---|
| 37 | ifdef VBOX_WITH_WIN_SENS
|
---|
[60256] | 38 | VBoxCredProv_DEFS += VBOX_WITH_WIN_SENS
|
---|
[60255] | 39 | endif
|
---|
[42220] | 40 | VBoxCredProv_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK_GST_WLH)
|
---|
[40271] | 41 | VBoxCredProv_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
|
---|
[60255] | 50 | ifdef VBOX_WITH_WIN_SENS
|
---|
| 51 | # To use com::Bstr for BSTR handling.
|
---|
| 52 | VBoxCredProv_SOURCES += \
|
---|
[96684] | 53 | $(PATH_ROOT)/src/VBox/Main/glue/string.cpp
|
---|
[60255] | 54 | endif
|
---|
[42220] | 55 | VBoxCredProv_LIBS = \
|
---|
[40271] | 56 | $(VBOX_LIB_IPRT_GUEST_R3) \
|
---|
| 57 | $(VBOX_LIB_VBGL_R3)
|
---|
[42220] | 58 | VBoxCredProv_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
|
---|
[96684] | 62 | VBoxCredProv_VBOX_IMPORT_CHECKER.win.x86 := vista
|
---|
| 63 | VBoxCredProv_VBOX_IMPORT_CHECKER.win.amd64 := vista
|
---|
[40271] | 64 |
|
---|
[41477] | 65 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
[40435] | 66 |
|
---|