11.7Smrg# $NetBSD: Makefile,v 1.7 2008/10/27 07:57:42 mrg Exp $
21.1Schristos# Copyright 1998 Juniper Networks, Inc.
31.1Schristos# All rights reserved.
41.1Schristos# Copyright (c) 2002 Networks Associates Technology, Inc.
51.1Schristos# All rights reserved.
61.1Schristos#
71.1Schristos# Portions of this software was developed for the FreeBSD Project by
81.1Schristos# ThinkSec AS and NAI Labs, the Security Research Division of Network
91.1Schristos# Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
101.1Schristos# ("CBOSS"), as part of the DARPA CHATS research program.
111.1Schristos#
121.1Schristos# Redistribution and use in source and binary forms, with or without
131.1Schristos# modification, are permitted provided that the following conditions
141.1Schristos# are met:
151.1Schristos# 1. Redistributions of source code must retain the above copyright
161.1Schristos#    notice, this list of conditions and the following disclaimer.
171.1Schristos# 2. Redistributions in binary form must reproduce the above copyright
181.1Schristos#    notice, this list of conditions and the following disclaimer in the
191.1Schristos#    documentation and/or other materials provided with the distribution.
201.1Schristos# 3. The name of the author may not be used to endorse or promote
211.1Schristos#    products derived from this software without specific prior written
221.1Schristos#    permission.
231.1Schristos#
241.1Schristos# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
251.1Schristos# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
261.1Schristos# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
271.1Schristos# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
281.1Schristos# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
291.1Schristos# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
301.1Schristos# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
311.1Schristos# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
321.1Schristos# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
331.1Schristos# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
341.1Schristos# SUCH DAMAGE.
351.1Schristos#
361.1Schristos# $FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.19 2004/11/13 20:40:29 bz Exp $
371.1Schristos
381.5SlukemNOLINT=		# don't build a lint library
391.5SlukemNOPROFILE=	# don't build a profile library
401.5SlukemNOPICINSTALL=	# don't install _pic.a library
411.5Slukem
421.5Slukem.include <bsd.own.mk>
431.2Schristos
441.1SchristosLIB=	pam_unix
451.1SchristosSRCS=	pam_unix.c
461.1SchristosMAN=	pam_unix.8
471.1Schristos
481.7SmrgLIBDPLIBS+=	util	${.CURDIR}/../../../libutil \
491.6Smrg		crypt	${.CURDIR}/../../../libcrypt
501.1Schristos
511.2Schristos.if (${USE_YP} != "no")
521.2SchristosCPPFLAGS+= -DYP
531.6SmrgLIBDPLIBS+=	rpcsvc	${.CURDIR}/../../../librpcsvc
541.1Schristos.endif
551.1Schristos
561.2Schristos.include "${.CURDIR}/../mod.mk"
57