xref: /freebsd/usr.sbin/apmd/Makefile (revision 2be1a816b9ff69588e55be0a84cbe2a31efc0f2f)
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