VirtualBox

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

Last change on this file since 37317 was 35507, checked in by vboxsync, 14 years ago

VBoxAuth for Linux / Solaris only if VBOX_WITH_PAM is enabled (default)

  • 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 35507 2011-01-12 14:52:23Z vboxsync $
2## @file
3# Sub-Makefile for the VBox RDP authentication plugins.
4#
5
6#
7# Copyright (C) 2006-2010 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
18SUB_DEPTH = ../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21# The plugin.
22ifndef VBOX_ONLY_SDK
23 if ("$(KBUILD_TARGET)" != "linux" && "$(KBUILD_TARGET)" != "solaris") || defined(VBOX_WITH_PAM)
24 DLLS += VBoxAuth
25 endif
26endif
27VBoxAuth_TEMPLATE = VBOXR3
28VBoxAuth_SOURCES.linux = pam/VBoxAuthPAM.c
29VBoxAuth_SOURCES.solaris = pam/VBoxAuthPAM.c
30VBoxAuth_SOURCES.freebsd = pam/VBoxAuthPAM.c
31VBoxAuth_SOURCES.win = winlogon/winlogon.cpp
32VBoxAuth_SOURCES.darwin = directoryservice/directoryservice.cpp
33VBoxAuth_LIBS.linux = $(LIB_RUNTIME) dl
34VBoxAuth_LIBS.solaris = $(LIB_RUNTIME) dl
35VBoxAuth_LIBS.freebsd = $(LIB_RUNTIME)
36VBoxAuth_LIBS.darwin = $(LIB_RUNTIME)
37VBoxAuth_LDFLAGS.darwin = -framework DirectoryService
38
39# The simple plugin.
40ifndef VBOX_ONLY_SDK
41 DLLS += VBoxAuthSimple
42endif
43VBoxAuthSimple_TEMPLATE = VBOXMAINCLIENTDLL
44VBoxAuthSimple_SOURCES = simple/VBoxAuthSimple.cpp
45
46# Install the SDK samples.
47INSTALLS += VBoxAuth-samples
48VBoxAuth-samples_INST = $(INST_SDK)/bindings/auth/
49VBoxAuth-samples_MODE = a+r,u+w
50VBoxAuth-samples_SOURCES = simple/VBoxAuthSimple.cpp
51VBoxAuth-samples_SOURCES.linux = pam/VBoxAuthPAM.c
52VBoxAuth-samples_SOURCES.win = winlogon/winlogon.cpp
53
54# Install the SDK header.
55INSTALLS += VBoxAuth-sdkhdr
56VBoxAuth-sdkhdr_INST = $(INST_SDK)/bindings/auth/include/
57VBoxAuth-sdkhdr_MODE = a+r,u+w
58VBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/VBoxAuth.h=>VBoxAuth.h
59
60
61include $(KBUILD_PATH)/subfooter.kmk
62
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