From 7e0384f892af9fc46331a996681d9925f38f8bc2 Mon Sep 17 00:00:00 2001 From: mikel Date: Fri, 3 Oct 1997 05:39:03 +0000 Subject: [PATCH] replace -W flags in CFLAGS with WARNS?=1, cleanup --- usr.sbin/apm/Makefile | 18 +++++++----------- usr.sbin/apmd/Makefile | 10 +++------- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile index d5aa6617fbb4..1b99dac9099b 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" -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 +SRCS= apm.c apmsubr.c +.PATH: ${.CURDIR}/../apmd +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 -# DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile index baccb3c94790..b982790b2b08 100644 --- a/usr.sbin/apmd/Makefile +++ b/usr.sbin/apmd/Makefile @@ -1,16 +1,12 @@ -# $NetBSD: Makefile,v 1.3 1997/06/23 14:48:03 mrg Exp $ +# $NetBSD: Makefile,v 1.4 1997/10/03 05:39:05 mikel Exp $ .if ${MACHINE} == "i386" -SRCS= apmd.c apmsubr.c -#LDADD+= -lutil -#DPADD+= ${LIBUTIL} - -CFLAGS+= -g -O2 -Wmissing-prototypes -Wall PROG= apmd +SRCS= apmd.c apmsubr.c +WARNS?= 1 .endif MAN= apmd.8 MANSUBDIR=/i386 .include -# DO NOT DELETE THIS LINE -- make depend depends on it.