Makefile revision 58760
1121054Semax# Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
2121054Semax# All rights reserved.
3121054Semax#
4121054Semax# Redistribution and use in source and binary forms, with or without
5121054Semax# modification, are permitted provided that the following conditions
6121054Semax# are met:
7121054Semax# 1. Redistributions of source code must retain the above copyright
8124986Semax#    notice, this list of conditions and the following disclaimer.
9121054Semax# 2. Redistributions in binary form must reproduce the above copyright
10121054Semax#    notice, this list of conditions and the following disclaimer in the
11121054Semax#    documentation and/or other materials provided with the distribution.
12124758Semax# 3. Neither the name of the project nor the names of its contributors
13121054Semax#    may be used to endorse or promote products derived from this software
14121054Semax#    without specific prior written permission.
15121054Semax#
16121054Semax# THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
17121054Semax# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18121054Semax# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19121054Semax# ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
20121054Semax# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21121054Semax# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22121054Semax# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23121054Semax# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24121054Semax# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25121054Semax# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26121054Semax# SUCH DAMAGE.
27121054Semax# $FreeBSD: head/lib/libipsec/Makefile 58760 2000-03-29 00:54:06Z green $
28121054Semax
29121054SemaxLIB=	ipsec
30121054SemaxSHLIB_MAJOR= 0
31121054SemaxSHLIB_MINOR= 0
32124758SemaxCFLAGS+=-I${.OBJDIR}
33124758SemaxCFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6
34124758Semax
35121054Semax.PATH:	${.CURDIR}/../../sys/netkey
36121054SemaxSRCS=	pfkey.c pfkey_dump.c
37SRCS+=	ipsec_strerror.c policy_parse.y policy_token.l
38SRCS+=	ipsec_dump_policy.c ipsec_get_policylen.c
39SRCS+=	key_debug.c
40CLEANFILES+=	y.tab.c y.tab.h
41YFLAGS+=-d -p __libyy
42LFLAGS+=-P__libyy
43
44MAN3=	ipsec_set_policy.3 ipsec_strerror.3
45MLINKS+=ipsec_set_policy.3 ipsec_get_policylen.3 \
46	ipsec_set_policy.3 ipsec_dump_policy.3
47
48SRCS+= y.tab.h
49y.tab.h:	policy_parse.y
50
51.include <bsd.lib.mk>
52