xref: /freebsd/lib/libpam/modules/pam_ksu/Makefile (revision bafe0e7edaee75f3fcfe6bf6c3e7b1e816361365)
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
26a30235a4SEmmanuel VadotPACKAGE=	kerberos
27a30235a4SEmmanuel Vadot
28*bafe0e7eSCy Schubert.include <src.opts.mk>
29*bafe0e7eSCy Schubert
303a271666SJacques VidrineLIB=	pam_ksu
313a271666SJacques VidrineSRCS=	pam_ksu.c
327f03a257SDavid E. O'BrienMAN=	pam_ksu.8
33*bafe0e7eSCy SchubertWARNS?=	3
347f03a257SDavid E. O'Brien
356b129086SBaptiste DaroussinLIBADD+=	krb5
363a271666SJacques Vidrine
37*bafe0e7eSCy Schubert.if ${MK_MITKRB5} != "no"
38*bafe0e7eSCy SchubertWARNS=	2
39*bafe0e7eSCy SchubertCFLAGS+=	-I${SRCTOP}/crypto/krb5/src/include
40*bafe0e7eSCy SchubertCFLAGS+=	-I${SRCTOP}/krb5/include
41*bafe0e7eSCy SchubertCFLAGS+=	-include ${SRCTOP}/crypto/krb5/src/include/k5-int.h
42*bafe0e7eSCy SchubertCFLAGS+=	-DMK_MITKRB5=yes
43*bafe0e7eSCy Schubert.endif
44*bafe0e7eSCy Schubert
453a271666SJacques Vidrine.include <bsd.lib.mk>
46