summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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