xref: /dragonfly/usr.sbin/rrenumd/Makefile (revision 984263bc)
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# $FreeBSD: src/usr.sbin/rrenumd/Makefile,v 1.1.2.3 2001/04/25 12:10:47 ru Exp $
15
16PROG=	rrenumd
17SRCS=	rrenumd.c  parser.y lexer.l
18YFLAGS+=	-d
19
20CFLAGS+= -DINET6 -DIPSEC -I. -I${.CURDIR}
21LDADD=	-lipsec -lcompat -ll -ly
22DPADD=	${LIBIPSEC} ${LIBCOMPAT} ${LIBL} ${LIBY}
23
24MAN=	rrenumd.conf.5 rrenumd.8
25
26SRCS+=y.tab.h
27y.tab.h: parser.y
28
29.if defined(YACCDEBUG)
30CFLAGS+= -DYYDEBUG
31YFLAGS+= -t -v
32.endif
33
34.include <bsd.prog.mk>
35
36CLEANFILES+=	y.tab.h
37