libkvm - Add ability to access userspace from kgdb on cores
[dragonfly.git] / usr.sbin / rrenumd / Makefile
bloba280019b9f6abee0de4b0a17c6a9e8a07c7c68d5
1 # Copyright (c) 1996 WIDE Project. All rights reserved.
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 # $DragonFly: src/usr.sbin/rrenumd/Makefile,v 1.3 2004/03/31 20:22:14 cpressey Exp $
17 PROG= rrenumd
18 SRCS= rrenumd.c parser.y lexer.l
19 YFLAGS+= -d
20 WARNS?= 2
22 CFLAGS+= -DINET6 -DIPSEC -I. -I${.CURDIR}
23 LDADD= -lipsec -lcompat -ll
24 DPADD= ${LIBIPSEC} ${LIBCOMPAT} ${LIBL}
26 MAN= rrenumd.conf.5 rrenumd.8
28 SRCS+=y.tab.h
29 y.tab.h: parser.y
31 .if defined(YACCDEBUG)
32 CFLAGS+= -DYYDEBUG
33 YFLAGS+= -t -v
34 .endif
36 .include <bsd.prog.mk>
38 CLEANFILES+= y.tab.h