xref: /freebsd/usr.sbin/apmd/Makefile (revision 984485a02eb3e63b4170dd911b72de38b35b2289)
1# $FreeBSD$
2
3PROG=	apmd
4MAN=	apmd.8
5MANSUBDIR= /i386
6SRCS=	apmd.c apmdlex.l apmdparse.y y.tab.h
7
8WARNS?=	0
9
10DPADD=	${LIBL}
11LDADD=	-ll
12
13YFLAGS+=-v
14CFLAGS+=-I. -I${.CURDIR} #-DYY_STACK_USED
15# for debug:
16#CFLAGS+= -g -DDEBUG
17
18CLEANFILES= y.output
19
20test:
21	./apmd -d -f etc/apmd.conf -n
22
23.include <bsd.prog.mk>
24