Makefile revision 156813
141118Sjdp# Copyright 1998 Juniper Networks, Inc.
241118Sjdp# All rights reserved.
341118Sjdp#
441118Sjdp# Redistribution and use in source and binary forms, with or without
541118Sjdp# modification, are permitted provided that the following conditions
641118Sjdp# are met:
741118Sjdp# 1. Redistributions of source code must retain the above copyright
841118Sjdp#    notice, this list of conditions and the following disclaimer.
941118Sjdp# 2. Redistributions in binary form must reproduce the above copyright
1041118Sjdp#    notice, this list of conditions and the following disclaimer in the
1141118Sjdp#    documentation and/or other materials provided with the distribution.
1241118Sjdp#
1341118Sjdp# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1441118Sjdp# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1541118Sjdp# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1641118Sjdp# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1741118Sjdp# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1841118Sjdp# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1941118Sjdp# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2041118Sjdp# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2141118Sjdp# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2241118Sjdp# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2341118Sjdp# SUCH DAMAGE.
2441118Sjdp#
25128684Sru# $FreeBSD: head/lib/libradius/Makefile 156813 2006-03-17 18:54:44Z ru $
2641118Sjdp
27156813Sru.include <bsd.own.mk>
28156813Sru
2941118SjdpLIB=		radius
3041118SjdpSRCS=		radlib.c
3196154SbrianINCS=		radlib.h radlib_vs.h
3241118SjdpCFLAGS+=	-Wall
33148297SkensmithSHLIB_MAJOR=	2
3474870SruMAN=		libradius.3 radius.conf.5
3541118Sjdp
36156813Sru.if ${MK_OPENSSL} == "no"
37128684SruDPADD=		${LIBMD}
38128684SruLDADD=		-lmd
39128684Sru.else
40152285SruDPADD=		${LIBCRYPTO}
41152285SruLDADD=		-lcrypto
42128684SruCFLAGS+=	-DWITH_SSL
43128684Sru.endif
44128684Sru
4541118Sjdp.include <bsd.lib.mk>
46