Merge branch 'vendor/TCSH'
[dragonfly.git] / usr.sbin / apmd / Makefile
1 # $FreeBSD: src/usr.sbin/apmd/Makefile,v 1.2.2.2 2001/04/25 12:09:18 ru Exp $
2 # $DragonFly: src/usr.sbin/apmd/Makefile,v 1.4 2008/10/29 18:18:04 swildner Exp $
3
4 PROG=   apmd
5 SRCS=   apmd.c apmdlex.l apmdparse.y y.tab.h
6 WARNS?= 0
7
8 DPADD=  ${LIBL} ${LIBUTIL}
9 LDADD=  -ll -lutil
10
11 MAN=    apmd.8
12
13 YFLAGS+=-v
14 CFLAGS+=-I. -I${.CURDIR} #-DYY_STACK_USED
15 # for debug:
16 #CFLAGS+= -g -DDEBUG
17
18 CLEANFILES= y.output
19
20 test:
21         ./apmd -d -f etc/apmd.conf -n
22
23 .include <bsd.prog.mk>