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