Makefile revision 58906
155505Sshin# Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
255505Sshin# All rights reserved.
355505Sshin#
455505Sshin# Redistribution and use in source and binary forms, with or without
555505Sshin# modification, are permitted provided that the following conditions
655505Sshin# are met:
755505Sshin# 1. Redistributions of source code must retain the above copyright
855505Sshin#    notice, this list of conditions and the following disclaimer.
955505Sshin# 2. Redistributions in binary form must reproduce the above copyright
1055505Sshin#    notice, this list of conditions and the following disclaimer in the
1155505Sshin#    documentation and/or other materials provided with the distribution.
1255505Sshin# 3. Neither the name of the project nor the names of its contributors
1355505Sshin#    may be used to endorse or promote products derived from this software
1455505Sshin#    without specific prior written permission.
1555505Sshin#
1655505Sshin# THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
1755505Sshin# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1855505Sshin# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1955505Sshin# ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
2055505Sshin# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2155505Sshin# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2255505Sshin# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2355505Sshin# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2455505Sshin# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2555505Sshin# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2655505Sshin# SUCH DAMAGE.
2755505Sshin# $FreeBSD: head/lib/libipsec/Makefile 58906 2000-04-01 22:28:36Z shin $
2855505Sshin
2955505SshinLIB=	ipsec
3056976SshinSHLIB_MAJOR= 0
3156976SshinSHLIB_MINOR= 0
3255505SshinCFLAGS+=-I${.OBJDIR}
3355505SshinCFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6
3455505Sshin
3555505Sshin.PATH:	${.CURDIR}/../../sys/netkey
3655505SshinSRCS=	pfkey.c pfkey_dump.c
3755505SshinSRCS+=	ipsec_strerror.c policy_parse.y policy_token.l
3855505SshinSRCS+=	ipsec_dump_policy.c ipsec_get_policylen.c
3955505SshinSRCS+=	key_debug.c
4055505SshinCLEANFILES+=	y.tab.c y.tab.h
4158906SshinYFLAGS+=-d -p __libipsecyy
4258906SshinLFLAGS+=-P__libipsecyy
4355505Sshin
4455505SshinMAN3=	ipsec_set_policy.3 ipsec_strerror.3
4555505SshinMLINKS+=ipsec_set_policy.3 ipsec_get_policylen.3 \
4655505Sshin	ipsec_set_policy.3 ipsec_dump_policy.3
4755505Sshin
4855505SshinSRCS+= y.tab.h
4955505Sshiny.tab.h:	policy_parse.y
5055505Sshin
5155505Sshin.include <bsd.lib.mk>
52