summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-05-15 14:45:28 +0000
committerbde <bde@FreeBSD.org>2000-05-15 14:45:28 +0000
commitbc5dbd0a34649ea083a61dab368dc5feeea44a66 (patch)
tree46ff100fb1884bcbe039b7804af59e4aa1cef62b /usr.sbin/apmd
parent28e3098b492a23289288f8b5c7403dee2b04cdf4 (diff)
downloadFreeBSD-src-bc5dbd0a34649ea083a61dab368dc5feeea44a66.zip
FreeBSD-src-bc5dbd0a34649ea083a61dab368dc5feeea44a66.tar.gz
Don't forget to clean y.output. Most files generated by yacc are cleaned
automatically, but not this one. Fixed some style bugs.
Diffstat (limited to 'usr.sbin/apmd')
-rw-r--r--usr.sbin/apmd/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile
index 92dc1a2..1d27dc0 100644
--- a/usr.sbin/apmd/Makefile
+++ b/usr.sbin/apmd/Makefile
@@ -1,14 +1,10 @@
-# Makefile for apmd
# $FreeBSD$
PROG= apmd
-SHSRCS= apmd.c apmdparse.y apmdlex.l
-GENSRCS=
-GENHDRS= y.tab.h
-SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS}
+SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h
-DPADD+= ${LIBL}
-LDADD+= -ll
+DPADD= ${LIBL}
+LDADD= -ll
MAN8= apmd.8
@@ -17,6 +13,8 @@ CFLAGS+=-I. -I${.CURDIR} -Wall #-DYY_STACK_USED
# for debug:
#CFLAGS+= -g -DDEBUG
+CLEANFILES= y.output
+
test:
./apmd -d -f etc/apmd.conf -n
OpenPOWER on IntegriCloud