ipfw3: Fix kernel building without DEBUG in the config as well.
[dragonfly.git] / sbin / devd / Makefile
bloba79910d798f48defcbee48f679dbd6639bb9adaf
1 # $FreeBSD: head/sbin/devd/Makefile 203916 2010-02-15 14:07:40Z uqs $
3 PROG_CXX=devd
4 SRCS= devd.cc token.l parse.y y.tab.h
5 MAN= devd.8 devd.conf.5
7 WARNS?= 5
9 NO_SHARED?=YES
11 DPADD= ${LIBL} ${LIBUTIL}
12 LDADD= -ll -lutil
14 YFLAGS+=-v
15 CFLAGS+=-I. -I${.CURDIR}
17 # c++ headers are very noisy under -flto (-Wodr)
18 .if (${CCVER:Mgcc5*} && ${CFLAGS:M-flto})
19 CXXFLAGS+=-Wno-error=odr
20 .endif
23 CLEANFILES= y.output
25 .include <bsd.prog.mk>