Makefile revision 41227
1164408Sceri# Copyright 1998 Juniper Networks, Inc.
2164408Sceri# All rights reserved.
3164408Sceri#
4164408Sceri# Redistribution and use in source and binary forms, with or without
5164408Sceri# modification, are permitted provided that the following conditions
6164408Sceri# are met:
7164408Sceri# 1. Redistributions of source code must retain the above copyright
8164408Sceri#    notice, this list of conditions and the following disclaimer.
9164408Sceri# 2. Redistributions in binary form must reproduce the above copyright
10164408Sceri#    notice, this list of conditions and the following disclaimer in the
11164408Sceri#    documentation and/or other materials provided with the distribution.
12164408Sceri#
13164408Sceri# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14164408Sceri# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15164408Sceri# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16164408Sceri# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17164408Sceri# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18164408Sceri# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19164408Sceri# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20164408Sceri# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21164408Sceri# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22164408Sceri# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23164408Sceri# SUCH DAMAGE.
24164408Sceri#
25164408Sceri#	$FreeBSD: cvs2svn/branches/JUNIPER/lib/libpam/modules/pam_radius/Makefile 41227 1998-11-18 01:44:37Z jdp $
26164408Sceri
27164408SceriPAMDIR=		${.CURDIR}/../../../../contrib/libpam
28164408Sceri
29206622SuqsPROG=		pam_radius.so
30164408SceriSRCS=		pam_radius.c
31164408SceriCFLAGS+=	-fpic
32164408SceriCFLAGS+=	-Wall
33164408SceriCFLAGS+=	-I${PAMDIR}/libpam/include
34164408SceriCFLAGS+=	-I${.CURDIR}/../../libpam
35164408SceriLDFLAGS+=	-shared
36164408SceriLDFLAGS+=	-L../../libpam
37164408SceriDPADD+=		${LIBRADIUS} ${LIBGCC_PIC}
38164408SceriLDADD+=		-lpam -lradius -lgcc_pic
39164408SceriNOMAN=		true
40164408Sceri
41164408Sceri.include <bsd.prog.mk>
42164408Sceri