diff options
| author | mikel <mikel@NetBSD.org> | 1997-10-03 05:39:03 +0000 |
|---|---|---|
| committer | mikel <mikel@NetBSD.org> | 1997-10-03 05:39:03 +0000 |
| commit | 7e0384f892af9fc46331a996681d9925f38f8bc2 (patch) | |
| tree | f56017b852ab87799ae5a8366cb98849743489b9 | |
| parent | f06175c4c6acb89d640c286291409a737f91c9c6 (diff) | |
replace -W flags in CFLAGS with WARNS?=1, cleanup
| -rw-r--r-- | usr.sbin/apm/Makefile | 16 | ||||
| -rw-r--r-- | usr.sbin/apmd/Makefile | 10 |
2 files changed, 9 insertions, 17 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. diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile index baccb3c9479..b982790b2b0 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 <bsd.prog.mk> -# DO NOT DELETE THIS LINE -- make depend depends on it. |
