summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd/Makefile
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-05-19 08:52:51 +0000
committeruqs <uqs@FreeBSD.org>2010-05-19 08:52:51 +0000
commita04b2a20be978a06afae263bda8e096122045f41 (patch)
treec79bbbd514a324efb22591212b0eaf67cd7e50db /usr.sbin/apmd/Makefile
parentebb7d74daeb7d8d95e5f195222ca706cfe992819 (diff)
downloadFreeBSD-src-a04b2a20be978a06afae263bda8e096122045f41.zip
FreeBSD-src-a04b2a20be978a06afae263bda8e096122045f41.tar.gz
- Fix terminating argument to execl(3), sizeof(NULL) != sizeof(char *)
might be true on some systems [1] - Rewrite gotos to use return directly - Some spelling fixes - Reduce unneeded/non-standard Makefile settings Requested by: bde, imp [1] Explanation provided by: bde [1] Reviewed by: imp
Diffstat (limited to 'usr.sbin/apmd/Makefile')
-rw-r--r--usr.sbin/apmd/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile
index 6f7e066..9a0dc0d 100644
--- a/usr.sbin/apmd/Makefile
+++ b/usr.sbin/apmd/Makefile
@@ -10,12 +10,7 @@ WARNS?= 3
DPADD= ${LIBL}
LDADD= -ll
-YFLAGS+=-v
-CFLAGS+=-I. -I${.CURDIR} #-DYY_STACK_USED
-# for debug:
-#CFLAGS+= -g -DDEBUG
-
-CLEANFILES= y.output
+CFLAGS+= -I${.CURDIR}
test:
./apmd -d -f etc/apmd.conf -n
OpenPOWER on IntegriCloud