141227Sjdp# Copyright 1998 Juniper Networks, Inc.
241227Sjdp# All rights reserved.
396201Sdes# Copyright (c) 2002 Networks Associates Technology, Inc.
496201Sdes# All rights reserved.
541227Sjdp#
696201Sdes# Portions of this software was developed for the FreeBSD Project by
796201Sdes# ThinkSec AS and NAI Labs, the Security Research Division of Network
896201Sdes# Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
996201Sdes# ("CBOSS"), as part of the DARPA CHATS research program.
1096201Sdes#
1141227Sjdp# Redistribution and use in source and binary forms, with or without
1241227Sjdp# modification, are permitted provided that the following conditions
1341227Sjdp# are met:
1441227Sjdp# 1. Redistributions of source code must retain the above copyright
1541227Sjdp#    notice, this list of conditions and the following disclaimer.
1641227Sjdp# 2. Redistributions in binary form must reproduce the above copyright
1741227Sjdp#    notice, this list of conditions and the following disclaimer in the
1841227Sjdp#    documentation and/or other materials provided with the distribution.
1996201Sdes# 3. The name of the author may not be used to endorse or promote
2096201Sdes#    products derived from this software without specific prior written
2196201Sdes#    permission.
2241227Sjdp#
2341227Sjdp# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2441227Sjdp# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2541227Sjdp# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2641227Sjdp# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2741227Sjdp# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2841227Sjdp# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2941227Sjdp# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3041227Sjdp# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3141227Sjdp# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3241227Sjdp# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3341227Sjdp# SUCH DAMAGE.
3441227Sjdp#
3594372Sru# $FreeBSD: releng/10.2/lib/libpam/modules/pam_unix/Makefile 230311 2012-01-18 18:26:56Z peter $
3641227Sjdp
37228065Sfjoe.include <bsd.init.mk>
38156813Sru
39112044SobrienLIB=	pam_unix
40112044SobrienSRCS=	pam_unix.c
41112044SobrienMAN=	pam_unix.8
4241227Sjdp
43230311SpeterDPADD+= ${LIBUTIL} ${LIBCRYPT}
44230311SpeterLDADD+= -lutil -lcrypt
45137675Sbz
46156813Sru.if ${MK_NIS} != "no"
47112044SobrienCFLAGS+= -DYP
48137675SbzDPADD+= ${LIBYPCLNT}
49137675SbzLDADD+= -lypclnt
50137675Sbz.endif
51112044Sobrien
5242917Sjdp.include <bsd.lib.mk>
53