kernel: Fix buildkernel without INVARIANTS.
[dragonfly.git] / usr.sbin / apmd / Makefile
blob7af60d373de761b6c37dfdc8cd28e97a361557ae
1 # $FreeBSD: src/usr.sbin/apmd/Makefile,v 1.2.2.2 2001/04/25 12:09:18 ru Exp $
2 # $DragonFly: src/usr.sbin/apmd/Makefile,v 1.4 2008/10/29 18:18:04 swildner Exp $
4 PROG= apmd
5 SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h
6 WARNS?= 3
8 DPADD= ${LIBL} ${LIBUTIL}
9 LDADD= -ll -lutil
11 MAN= apmd.8
13 YFLAGS+=-v
14 CFLAGS+=-I. -I${.CURDIR} #-DYY_STACK_USED
15 # for debug:
16 #CFLAGS+= -g -DDEBUG
18 CLEANFILES= y.output
20 test:
21 ./apmd -d -f etc/apmd.conf -n
23 .include <bsd.prog.mk>