xref: /freebsd/usr.sbin/apmd/Makefile (revision 4f29da19bd44f0e99f021510460a81bf754c21d2)
1# $FreeBSD$
2
3PROG=	apmd
4MAN=	apmd.8
5MANSUBDIR= /i386
6SRCS=	apmd.c apmdlex.l apmdparse.y y.tab.h
7
8DPADD=	${LIBL}
9LDADD=	-ll
10
11YFLAGS+=-v
12CFLAGS+=-I. -I${.CURDIR} #-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