Makefile.kmk revision 0c8e4b8ac0c9bdf3ff61ec2dcce674f8d06a7bd0
# $Id$
## @file
# Makefile for VBox PAM module for automated logons.
#
#
# Copyright (C) 2010 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 USA or visit http://www.sun.com if you need
# additional information or have any questions.
#
SUB_DEPTH = ../../../../..
include $(KBUILD_PATH)/subheader.kmk
# The PAM module.
DLLS += pam_vbox
pam_vbox_TEMPLATE = VBOXGUESTR3DLL
pam_vbox_DEFS = LOG_TO_BACKDOOR VBOX_WITH_HGCM
# Set symbol visibility to default; otherwise the PAM module wouldn't work.
# Only required on GCC >= 4.
ifdef VBOX_GCC_fvisibility-hidden
pam_vbox_CXXFLAGS = -fvisibility=default
endif
pam_vbox_SOURCES = pam_vbox.cpp
pam_vbox_LIBS = \
pam \
$(VBOX_LIB_IPRT_GUEST_R3_SHARED) \
$(VBOX_LIB_VBGL_R3_SHARED) \
$(VBOX_LIB_IPRT_GUEST_R3_SHARED)
include $(KBUILD_PATH)/subfooter.kmk