xref: /freebsd/usr.sbin/rrenumd/Makefile (revision 3bdf775801b218aa5a89564839405b122f4b233e)
1# Copyright (c) 1996 WIDE Project. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modifications, are permitted provided that the above copyright notice
5# and this paragraph are duplicated in all such forms and that any
6# documentation, advertising materials, and other materials related to
7# such distribution and use acknowledge that the software was developed
8# by the WIDE Project, Japan. The name of the Project may not be used to
9# endorse or promote products derived from this software without
10# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
11# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13# A PARTICULAR PURPOSE.
14#
15# $FreeBSD$
16
17PROG=	rrenumd
18MAN=	rrenumd.conf.5 rrenumd.8
19SRCS=	rrenumd.c  parser.y lexer.l
20
21CFLAGS+= -DIPSEC -I. -I${.CURDIR}
22YFLAGS=	-d
23
24WARNS?=	2
25
26LDADD=	-lipsec -ll -ly
27DPADD=	${LIBIPSEC} ${LIBL} ${LIBY}
28
29CLEANFILES=	y.tab.h
30SRCS+=	y.tab.h
31y.tab.h: parser.y
32
33.if defined(YACCDEBUG)
34CFLAGS+= -DYYDEBUG
35YFLAGS+= -t -v
36.endif
37
38.include <bsd.prog.mk>
39