xref: /freebsd/lib/libpam/modules/pam_ksu/Makefile (revision 3a271666926f233e78ddcf8075bae73bfc666c32)
13a271666SJacques Vidrine# Copyright 2002 FreeBSD, Inc.
23a271666SJacques Vidrine# All rights reserved.
33a271666SJacques Vidrine#
43a271666SJacques Vidrine# Redistribution and use in source and binary forms, with or without
53a271666SJacques Vidrine# modification, are permitted provided that the following conditions
63a271666SJacques Vidrine# are met:
73a271666SJacques Vidrine# 1. Redistributions of source code must retain the above copyright
83a271666SJacques Vidrine#    notice, this list of conditions and the following disclaimer.
93a271666SJacques Vidrine# 2. Redistributions in binary form must reproduce the above copyright
103a271666SJacques Vidrine#    notice, this list of conditions and the following disclaimer in the
113a271666SJacques Vidrine#    documentation and/or other materials provided with the distribution.
123a271666SJacques Vidrine#
133a271666SJacques Vidrine# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
143a271666SJacques Vidrine# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
153a271666SJacques Vidrine# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
163a271666SJacques Vidrine# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
173a271666SJacques Vidrine# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
183a271666SJacques Vidrine# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
193a271666SJacques Vidrine# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
203a271666SJacques Vidrine# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
213a271666SJacques Vidrine# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
223a271666SJacques Vidrine# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
233a271666SJacques Vidrine# SUCH DAMAGE.
243a271666SJacques Vidrine#
253a271666SJacques Vidrine#	$FreeBSD$
263a271666SJacques Vidrine
273a271666SJacques VidrinePAMDIR=		${.CURDIR}/../../../../contrib/libpam
283a271666SJacques Vidrine
293a271666SJacques VidrineLIB=		pam_ksu
303a271666SJacques VidrineSRCS=		pam_ksu.c
313a271666SJacques VidrineCFLAGS+=	-Wall
323a271666SJacques VidrineCFLAGS+=	-I${PAMDIR}/libpam/include
333a271666SJacques VidrineCFLAGS+=	-I${.CURDIR}/../../libpam
343a271666SJacques VidrineDPADD=		${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
353a271666SJacques Vidrine		${LIBCOM_ERR} ${LIBROKEN}
363a271666SJacques VidrineLDADD=		-lkrb5 -lasn1 -lcrypto -lcrypt -lcom_err \
373a271666SJacques Vidrine		-L${.OBJDIR}/../../../../kerberos5/lib/libroken -lroken
383a271666SJacques VidrineMAN=		pam_ksu.8
393a271666SJacques Vidrine#INTERNALLIB=	yes
403a271666SJacques Vidrine#INTERNALSTATICLIB=yes
413a271666SJacques Vidrine
423a271666SJacques Vidrine.include <bsd.lib.mk>
43