Makefile.kmk revision 85fc7dbf8f928aea2a6fddde85a77950f69284dd
6ae232055d4d8a97267517c5e50074c2c819941and# $Id$
6ae232055d4d8a97267517c5e50074c2c819941and## @file
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd# Sub-Makefile for the VBox RDP authentication plugins.
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd#
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# Copyright (C) 2006-2012 Oracle Corporation
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# This file is part of VirtualBox Open Source Edition (OSE), as
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc# available from http://www.virtualbox.org. This file is free software;
6ae232055d4d8a97267517c5e50074c2c819941and# you can redistribute it and/or modify it under the terms of the GNU
6ae232055d4d8a97267517c5e50074c2c819941and# General Public License (GPL) as published by the Free Software
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# Foundation, in version 2 as it comes in the "COPYING" file of the
2e545ce2450a9953665f701bb05350f0d3f26275nd# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andSUB_DEPTH = ../../../..
6ae232055d4d8a97267517c5e50074c2c819941andinclude $(KBUILD_PATH)/subheader.kmk
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# The plugin.
6ae232055d4d8a97267517c5e50074c2c819941andifndef VBOX_ONLY_SDK
6ae232055d4d8a97267517c5e50074c2c819941and if ("$(KBUILD_TARGET)" != "linux" && "$(KBUILD_TARGET)" != "solaris") || defined(VBOX_WITH_PAM)
6ae232055d4d8a97267517c5e50074c2c819941and DLLS += VBoxAuth
b43f840409794ed298e8634f6284741f193b6c4ftakashi endif
6ae232055d4d8a97267517c5e50074c2c819941andendif
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth_TEMPLATE = VBOXR3
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth_SOURCES.linux = pam/VBoxAuthPAM.c
b43f840409794ed298e8634f6284741f193b6c4ftakashiVBoxAuth_SOURCES.solaris = pam/VBoxAuthPAM.c
11495c9f0bd33e51a25b4d532beadfbcf9b944a3nilgunVBoxAuth_SOURCES.freebsd = pam/VBoxAuthPAM.c
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth_SOURCES.win = winlogon/winlogon.cpp winlogon/VBoxAuth.rc
f3ec420152ca921e4c1ce77782f51b53f659018dndVBoxAuth_SOURCES.darwin = directoryservice/directoryservice.cpp
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjungVBoxAuth_LIBS.linux = $(LIB_RUNTIME) dl
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth_LIBS.solaris = $(LIB_RUNTIME) dl
b43f840409794ed298e8634f6284741f193b6c4ftakashiVBoxAuth_LIBS.freebsd = $(LIB_RUNTIME)
b43f840409794ed298e8634f6284741f193b6c4ftakashiVBoxAuth_LIBS.darwin = $(LIB_RUNTIME)
b43f840409794ed298e8634f6284741f193b6c4ftakashiVBoxAuth_LDFLAGS.darwin = -framework DirectoryService
b43f840409794ed298e8634f6284741f193b6c4ftakashi
6ae232055d4d8a97267517c5e50074c2c819941and# The simple plugin.
6ae232055d4d8a97267517c5e50074c2c819941andifndef VBOX_ONLY_SDK
6ae232055d4d8a97267517c5e50074c2c819941and if defined(VBOX_WITH_MAIN)
6ae232055d4d8a97267517c5e50074c2c819941and DLLS += VBoxAuthSimple
6ae232055d4d8a97267517c5e50074c2c819941and endif
6ae232055d4d8a97267517c5e50074c2c819941andendif
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuthSimple_TEMPLATE = VBOXMAINCLIENTDLL
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuthSimple_SOURCES = simple/VBoxAuthSimple.cpp
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuthSimple_SOURCES.win = simple/VBoxAuthSimple.rc
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and# Install the SDK samples.
6ae232055d4d8a97267517c5e50074c2c819941andINSTALLS += VBoxAuth-samples
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth-samples_INST = $(INST_SDK)bindings/auth/
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth-samples_MODE = a+r,u+w
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth-samples_SOURCES = simple/VBoxAuthSimple.cpp
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth-samples_SOURCES.linux = pam/VBoxAuthPAM.c
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth-samples_SOURCES.win = winlogon/winlogon.cpp
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and# Install the SDK header.
6ae232055d4d8a97267517c5e50074c2c819941andINSTALLS += VBoxAuth-sdkhdr
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth-sdkhdr_INST = $(INST_SDK)bindings/auth/include/
6ae232055d4d8a97267517c5e50074c2c819941andVBoxAuth-sdkhdr_MODE = a+r,u+w
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohVBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/VBoxAuth.h=>VBoxAuth.h
1f1b6bf13313fdd14a45e52e553d3ff28689b717coar
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andinclude $(FILE_KBUILD_SUB_FOOTER)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and