xref: /freebsd/lib/libpam/modules/pam_nologin/Makefile (revision 84d6cd8ea17dbc3601862fb4eb83019199a608c0)
184d6cd8eSMark Murray# Copyright 2001 Mark R V Murray
284d6cd8eSMark Murray# All rights reserved.
384d6cd8eSMark Murray#
484d6cd8eSMark Murray# Redistribution and use in source and binary forms, with or without
584d6cd8eSMark Murray# modification, are permitted provided that the following conditions
684d6cd8eSMark Murray# are met:
784d6cd8eSMark Murray# 1. Redistributions of source code must retain the above copyright
884d6cd8eSMark Murray#    notice, this list of conditions and the following disclaimer.
984d6cd8eSMark Murray# 2. Redistributions in binary form must reproduce the above copyright
1084d6cd8eSMark Murray#    notice, this list of conditions and the following disclaimer in the
1184d6cd8eSMark Murray#    documentation and/or other materials provided with the distribution.
1284d6cd8eSMark Murray#
1384d6cd8eSMark Murray# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1484d6cd8eSMark Murray# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1584d6cd8eSMark Murray# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1684d6cd8eSMark Murray# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1784d6cd8eSMark Murray# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1884d6cd8eSMark Murray# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1984d6cd8eSMark Murray# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2084d6cd8eSMark Murray# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2184d6cd8eSMark Murray# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2284d6cd8eSMark Murray# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2384d6cd8eSMark Murray# SUCH DAMAGE.
2484d6cd8eSMark Murray#
2584d6cd8eSMark Murray# $FreeBSD$
2684d6cd8eSMark Murray
2784d6cd8eSMark MurrayPAMDIR=		${.CURDIR}/../../../../contrib/libpam
2884d6cd8eSMark Murray
2984d6cd8eSMark Murray.PATH:		${PAMDIR}/modules/pam_nologin
3084d6cd8eSMark Murray
3184d6cd8eSMark MurrayLIB=		pam_nologin
3284d6cd8eSMark MurraySHLIB_NAME=	pam_nologin.so
3384d6cd8eSMark MurraySRCS=		pam_nologin.c
3484d6cd8eSMark MurrayCFLAGS+=	-Wall
3584d6cd8eSMark MurrayCFLAGS+=	-I${PAMDIR}/libpam/include
3684d6cd8eSMark MurrayINTERNALLIB=	yes
3784d6cd8eSMark MurrayINTERNALSTATICLIB=yes
3884d6cd8eSMark Murray
3984d6cd8eSMark Murray.include <bsd.lib.mk>
40