xref: /freebsd/lib/libpam/modules/pam_unix/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
19a10bb17SJohn Polstra# Copyright 1998 Juniper Networks, Inc.
29a10bb17SJohn Polstra# All rights reserved.
3f1d05925SDag-Erling Smørgrav# Copyright (c) 2002 Networks Associates Technology, Inc.
4f1d05925SDag-Erling Smørgrav# All rights reserved.
5f1d05925SDag-Erling Smørgrav#
6f1d05925SDag-Erling Smørgrav# Portions of this software was developed for the FreeBSD Project by
7f1d05925SDag-Erling Smørgrav# ThinkSec AS and NAI Labs, the Security Research Division of Network
8f1d05925SDag-Erling Smørgrav# Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
9f1d05925SDag-Erling Smørgrav# ("CBOSS"), as part of the DARPA CHATS research program.
109a10bb17SJohn Polstra#
119a10bb17SJohn Polstra# Redistribution and use in source and binary forms, with or without
129a10bb17SJohn Polstra# modification, are permitted provided that the following conditions
139a10bb17SJohn Polstra# are met:
149a10bb17SJohn Polstra# 1. Redistributions of source code must retain the above copyright
159a10bb17SJohn Polstra#    notice, this list of conditions and the following disclaimer.
169a10bb17SJohn Polstra# 2. Redistributions in binary form must reproduce the above copyright
179a10bb17SJohn Polstra#    notice, this list of conditions and the following disclaimer in the
189a10bb17SJohn Polstra#    documentation and/or other materials provided with the distribution.
19f1d05925SDag-Erling Smørgrav# 3. The name of the author may not be used to endorse or promote
20f1d05925SDag-Erling Smørgrav#    products derived from this software without specific prior written
21f1d05925SDag-Erling Smørgrav#    permission.
229a10bb17SJohn Polstra#
239a10bb17SJohn Polstra# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
249a10bb17SJohn Polstra# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
259a10bb17SJohn Polstra# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
269a10bb17SJohn Polstra# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
279a10bb17SJohn Polstra# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
289a10bb17SJohn Polstra# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
299a10bb17SJohn Polstra# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
309a10bb17SJohn Polstra# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
319a10bb17SJohn Polstra# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
329a10bb17SJohn Polstra# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
339a10bb17SJohn Polstra# SUCH DAMAGE.
349a10bb17SJohn Polstra#
359a10bb17SJohn Polstra
36c6063d0dSWarner Losh.include <src.opts.mk>
37106235a4SMax Khon.include <bsd.init.mk>
38e1fe3dbaSRuslan Ermilov
39*93c43690SEmmanuel VadotPACKAGE=	runtime
40*93c43690SEmmanuel Vadot
419294327dSJohn PolstraLIB=	pam_unix
42f1d05925SDag-Erling SmørgravSRCS=	pam_unix.c
437f03a257SDavid E. O'BrienMAN=	pam_unix.8
447f03a257SDavid E. O'Brien
456b129086SBaptiste DaroussinLIBADD+=	util crypt
467f03a257SDavid E. O'Brien
47e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no"
486c58990dSBjoern A. ZeebCFLAGS+= -DYP
496b129086SBaptiste DaroussinLIBADD+=	ypclnt
506c58990dSBjoern A. Zeeb.endif
519a10bb17SJohn Polstra
529294327dSJohn Polstra.include <bsd.lib.mk>
53