VirtualBox

source: vbox/trunk/src/VBox/HostServices/auth/Makefile.kmk

Last change on this file was 106061, checked in by vboxsync, 2 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.4 KB
Line 
1# $Id: Makefile.kmk 106061 2024-09-16 14:03:52Z vboxsync $
2## @file
3# Sub-Makefile for the VBox RDP authentication plugins.
4#
5
6#
7# Copyright (C) 2006-2024 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# The plugin.
32ifndef VBOX_ONLY_SDK
33 if ("$(KBUILD_TARGET)" != "linux" && "$(KBUILD_TARGET)" != "solaris") || defined(VBOX_WITH_PAM)
34 DLLS += VBoxAuth
35 endif
36endif
37VBoxAuth_TEMPLATE = VBoxR3Dll
38VBoxAuth_SOURCES.linux = pam/VBoxAuthPAM.c
39VBoxAuth_SOURCES.solaris = pam/VBoxAuthPAM.c
40VBoxAuth_SOURCES.freebsd = pam/VBoxAuthPAM.c
41VBoxAuth_SOURCES.win = winlogon/winlogon.cpp winlogon/VBoxAuth.rc
42VBoxAuth_SOURCES.darwin = directoryservice/directoryservice.cpp
43VBoxAuth_CXXFLAGS.darwin = -Wno-deprecated-declarations
44VBoxAuth_LIBS.linux = $(LIB_RUNTIME) dl
45VBoxAuth_LIBS.solaris = $(LIB_RUNTIME) dl
46VBoxAuth_LIBS.freebsd = $(LIB_RUNTIME)
47VBoxAuth_LIBS.darwin = $(LIB_RUNTIME)
48VBoxAuth_LDFLAGS.darwin = -framework DirectoryService
49
50# The simple plugin.
51ifndef VBOX_ONLY_SDK
52 if defined(VBOX_WITH_MAIN)
53 DLLS += VBoxAuthSimple
54 endif
55endif
56VBoxAuthSimple_TEMPLATE = VBoxMainClientDll
57VBoxAuthSimple_SOURCES = simple/VBoxAuthSimple.cpp
58VBoxAuthSimple_SOURCES.win = simple/VBoxAuthSimple.rc
59
60# Install the SDK samples.
61INSTALLS += VBoxAuth-samples
62VBoxAuth-samples_INST = $(INST_SDK)bindings/auth/
63VBoxAuth-samples_MODE = a+r,u+w
64VBoxAuth-samples_SOURCES = simple/VBoxAuthSimple.cpp
65VBoxAuth-samples_SOURCES.linux = pam/VBoxAuthPAM.c
66VBoxAuth-samples_SOURCES.win = winlogon/winlogon.cpp
67
68# Install the SDK header.
69INSTALLS += VBoxAuth-sdkhdr
70VBoxAuth-sdkhdr_INST = $(INST_SDK)bindings/auth/include/
71VBoxAuth-sdkhdr_MODE = a+r,u+w
72VBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/VBoxAuth.h=>VBoxAuth.h
73
74
75include $(FILE_KBUILD_SUB_FOOTER)
76
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