summaryrefslogtreecommitdiff
path: root/usr.sbin/apm
diff options
context:
space:
mode:
authormikel <mikel@NetBSD.org>1997-10-03 05:39:03 +0000
committermikel <mikel@NetBSD.org>1997-10-03 05:39:03 +0000
commit7e0384f892af9fc46331a996681d9925f38f8bc2 (patch)
treef56017b852ab87799ae5a8366cb98849743489b9 /usr.sbin/apm
parentf06175c4c6acb89d640c286291409a737f91c9c6 (diff)
replace -W flags in CFLAGS with WARNS?=1, cleanup
Diffstat (limited to 'usr.sbin/apm')
-rw-r--r--usr.sbin/apm/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile
index d5aa6617fbb..1b99dac9099 100644
--- a/usr.sbin/apm/Makefile
+++ b/usr.sbin/apm/Makefile
@@ -1,20 +1,16 @@
-# $NetBSD: Makefile,v 1.5 1997/06/23 14:48:02 mrg Exp $
+# $NetBSD: Makefile,v 1.6 1997/10/03 05:39:03 mikel Exp $
.if ${MACHINE} == "i386"
+PROG= apm
SRCS= apm.c apmsubr.c
-#LDADD+= -lutil
-#DPADD+= ${LIBUTIL}
-
.PATH: ${.CURDIR}/../apmd
-
-CFLAGS+= -g -O2 -Wmissing-prototypes -Wall -I${.CURDIR}/../apmd
-PROG= apm
-LINKS= ${BINDIR}/apm ${BINDIR}/zzz
+CFLAGS+=-I${.CURDIR}/../apmd
+WARNS?= 1
+LINKS= ${BINDIR}/apm ${BINDIR}/zzz
.endif
MAN= apm.8
MANSUBDIR=/i386
-MLINKS= apm.8 zzz.8
+MLINKS= apm.8 zzz.8
.include <bsd.prog.mk>
-# DO NOT DELETE THIS LINE -- make depend depends on it.