1 | # $Id: Makefile.kmk 33185 2010-10-18 08:40:50Z 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 |
|
---|
18 | SUB_DEPTH = ../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | # The plugin.
|
---|
22 | ifndef VBOX_ONLY_SDK
|
---|
23 | DLLS += VBoxAuth
|
---|
24 | endif
|
---|
25 | VBoxAuth_TEMPLATE = VBOXR3
|
---|
26 | VBoxAuth_SOURCES.linux = pam/VBoxAuthPAM.c
|
---|
27 | VBoxAuth_SOURCES.solaris = pam/VBoxAuthPAM.c
|
---|
28 | VBoxAuth_SOURCES.freebsd = pam/VBoxAuthPAM.c
|
---|
29 | VBoxAuth_SOURCES.win = winlogon/winlogon.cpp
|
---|
30 | VBoxAuth_SOURCES.darwin = directoryservice/directoryservice.cpp
|
---|
31 | VBoxAuth_LIBS.linux = $(LIB_RUNTIME) dl
|
---|
32 | VBoxAuth_LIBS.solaris = $(LIB_RUNTIME) dl
|
---|
33 | VBoxAuth_LIBS.freebsd = $(LIB_RUNTIME)
|
---|
34 | VBoxAuth_LIBS.darwin = $(LIB_RUNTIME)
|
---|
35 | VBoxAuth_LDFLAGS.darwin = -framework DirectoryService
|
---|
36 |
|
---|
37 | # The simple plugin.
|
---|
38 | ifndef VBOX_ONLY_SDK
|
---|
39 | DLLS += VBoxAuthSimple
|
---|
40 | endif
|
---|
41 | VBoxAuthSimple_TEMPLATE = VBOXMAINCLIENTDLL
|
---|
42 | VBoxAuthSimple_SOURCES = simple/VBoxAuthSimple.cpp
|
---|
43 |
|
---|
44 | # Install the SDK samples.
|
---|
45 | INSTALLS += VBoxAuth-samples
|
---|
46 | VBoxAuth-samples_INST = $(INST_SDK)/bindings/vrdpauth/
|
---|
47 | VBoxAuth-samples_MODE = a+r,u+w
|
---|
48 | VBoxAuth-samples_SOURCES = simple/VBoxAuthSimple.cpp
|
---|
49 | VBoxAuth-samples_SOURCES.linux = pam/VBoxAuthPAM.c
|
---|
50 | VBoxAuth-samples_SOURCES.win = winlogon/winlogon.cpp
|
---|
51 |
|
---|
52 | # Install the SDK header.
|
---|
53 | INSTALLS += VBoxAuth-sdkhdr
|
---|
54 | VBoxAuth-sdkhdr_INST = $(INST_SDK)/bindings/vrdpauth/include/
|
---|
55 | VBoxAuth-sdkhdr_MODE = a+r,u+w
|
---|
56 | VBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/VRDPAuth.h=>VRDPAuth.h
|
---|
57 |
|
---|
58 |
|
---|
59 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
60 |
|
---|