1 | # $Id: Makefile.kmk 69111 2017-10-17 14:26:02Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for VBoxCredProv.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2009-2017 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | # Do we want to use Windows SENS (System Event Notification Service)?
|
---|
22 | VBOX_WITH_WIN_SENS := 1
|
---|
23 |
|
---|
24 | DLLS += VBoxCredProv
|
---|
25 | VBoxCredProv_TEMPLATE = VBoxGuestR3Dll
|
---|
26 | VBoxCredProv_DEFS = VBGL_VBOXGUEST VBOX_WITH_HGCM UNICODE
|
---|
27 | ifdef VBOX_WITH_WIN_SENS
|
---|
28 | VBoxCredProv_DEFS += VBOX_WITH_WIN_SENS
|
---|
29 | endif
|
---|
30 | VBoxCredProv_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK_GST_WLH)
|
---|
31 | VBoxCredProv_SOURCES = \
|
---|
32 | VBoxCredentialProvider.cpp \
|
---|
33 | VBoxCredentialProvider.def \
|
---|
34 | VBoxCredentialProvider.rc \
|
---|
35 | VBoxCredProvFactory.cpp \
|
---|
36 | VBoxCredProvProvider.cpp \
|
---|
37 | VBoxCredProvCredential.cpp \
|
---|
38 | VBoxCredProvPoller.cpp \
|
---|
39 | VBoxCredProvUtils.cpp
|
---|
40 |
|
---|
41 | ifdef VBOX_WITH_WIN_SENS
|
---|
42 | # To use com::Bstr for BSTR handling.
|
---|
43 | VBoxCredProv_SOURCES += \
|
---|
44 | $(PATH_ROOT)/src/VBox/Main/glue/string.cpp
|
---|
45 | endif
|
---|
46 |
|
---|
47 | VBoxCredProv_LIBS = \
|
---|
48 | $(VBOX_LIB_IPRT_GUEST_R3) \
|
---|
49 | $(VBOX_LIB_VBGL_R3)
|
---|
50 | VBoxCredProv_LIBS += \
|
---|
51 | $(PATH_SDK_$(VBOX_WINPSDK_GST_WLH)_LIB)/credui.lib \
|
---|
52 | $(PATH_SDK_$(VBOX_WINPSDK_GST_WLH)_LIB)/Secur32.Lib \
|
---|
53 | $(PATH_SDK_$(VBOX_WINPSDK_GST_WLH)_LIB)/NetAPI32.Lib
|
---|
54 |
|
---|
55 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
56 |
|
---|