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