enable WARNS=1 by default, but disable in unclean 3rd party code
This commit is contained in:
parent
7866707a39
commit
f5bf267d90
@ -1,4 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.4 1997/10/17 09:04:18 mrg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.5 1997/10/18 06:42:25 lukem Exp $
|
||||
# from: @(#)Makefile.inc 8.1 (Berkeley) 6/6/93
|
||||
|
||||
BINDIR?= /usr/sbin
|
||||
WARNS?= 1
|
||||
|
@ -1,8 +1,10 @@
|
||||
# $NetBSD: Makefile.inc,v 1.5 1997/09/26 16:59:42 christos Exp $
|
||||
WARNS ?= 1
|
||||
# $NetBSD: Makefile.inc,v 1.6 1997/10/18 06:42:28 lukem Exp $
|
||||
LIBAMU != cd ${.CURDIR}/../libamu;\
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||
CFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
|
||||
LDADD += -L${LIBAMU} -lamu -lrpcsvc -ll
|
||||
DPADD += ${LIBAMU}/libamu.a ${LIBRPCSVC} ${LIBL}
|
||||
BINDIR = /usr/sbin
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/local/bin/perl
|
||||
#
|
||||
# $NetBSD: amd2netbsd,v 1.8 1997/10/16 05:18:42 lukem Exp $
|
||||
# $NetBSD: amd2netbsd,v 1.9 1997/10/18 06:42:30 lukem Exp $
|
||||
#
|
||||
# Perl script to convert a standard distribution directory for am-utils into
|
||||
# a NetBSD source tree.
|
||||
@ -335,7 +335,10 @@ LIBAMU != cd ${.CURDIR}/../libamu;\
|
||||
CFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
|
||||
LDADD += -L${LIBAMU} -lamu -lrpcsvc -ll
|
||||
DPADD += ${LIBAMU}/libamu.a ${LIBRPCSVC} ${LIBL}
|
||||
BINDIR = /usr/sbin
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
%% file usr.sbin/amd/amd/Makefile
|
||||
%% NetBSD #
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
# $NetBSD: Makefile,v 1.6 1997/10/03 05:39:03 mikel Exp $
|
||||
# $NetBSD: Makefile,v 1.7 1997/10/18 06:42:33 lukem Exp $
|
||||
|
||||
.if ${MACHINE} == "i386"
|
||||
PROG= apm
|
||||
SRCS= apm.c apmsubr.c
|
||||
.PATH: ${.CURDIR}/../apmd
|
||||
CFLAGS+=-I${.CURDIR}/../apmd
|
||||
WARNS?= 1
|
||||
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
|
||||
.endif
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.4 1997/10/03 05:39:05 mikel Exp $
|
||||
# $NetBSD: Makefile,v 1.5 1997/10/18 06:42:35 lukem Exp $
|
||||
|
||||
.if ${MACHINE} == "i386"
|
||||
PROG= apmd
|
||||
SRCS= apmd.c apmsubr.c
|
||||
WARNS?= 1
|
||||
.endif
|
||||
|
||||
MAN= apmd.8
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.6 1997/03/13 06:19:07 mikel Exp $
|
||||
# $NetBSD: Makefile,v 1.7 1997/10/18 06:42:37 lukem Exp $
|
||||
|
||||
WARNS?= 0
|
||||
PROG= cron
|
||||
SRCS= cron.c database.c do_command.c entry.c env.c job.c \
|
||||
misc.c popen.c user.c
|
||||
|
@ -32,5 +32,6 @@
|
||||
|
||||
SUBDIR= common server client relay
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
all-server all-client all-relay: all-common
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -32,6 +32,8 @@
|
||||
|
||||
.include <bsd.obj.mk>
|
||||
|
||||
WARNS?= 0
|
||||
|
||||
COBJDIR!=cd $(.CURDIR)/../common; \
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||
|
||||
@ -39,4 +41,6 @@ CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../includes
|
||||
LDADD= ${COBJDIR}/libdhcp.a
|
||||
DPADD= ${COBJDIR}/libdhcp.a
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.7 1997/05/08 21:11:09 gwr Exp $
|
||||
# $NetBSD: Makefile,v 1.8 1997/10/18 06:42:41 lukem Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/18/93
|
||||
|
||||
WARNS?= 0
|
||||
PROG= dumplfs
|
||||
SRCS= dumplfs.c lfs_cksum.c misc.c
|
||||
.PATH: ${.CURDIR}/../../sys/ufs/lfs
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
||||
# $NetBSD: Makefile,v 1.4 1997/09/24 07:22:39 jeremy Exp $
|
||||
# $NetBSD: Makefile,v 1.5 1997/10/18 06:42:45 lukem Exp $
|
||||
|
||||
.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc"
|
||||
PROG= eeprom
|
||||
@ -22,6 +22,4 @@ CLEANFILES+=getdate.c y.tab.h
|
||||
|
||||
MAN= eeprom.8
|
||||
|
||||
WARNS=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1997/10/17 06:58:41 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1997/10/18 06:42:47 lukem Exp $
|
||||
# from: @(#)Makefile.inc 5.1 (Berkeley) 5/11/90
|
||||
|
||||
BINDIR?= /usr/sbin
|
||||
WARNS?= 1
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
|
@ -1,12 +1,11 @@
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $NetBSD: Makefile,v 1.12 1997/10/05 16:40:24 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.13 1997/10/18 06:42:49 lukem Exp $
|
||||
|
||||
PROG= inetd
|
||||
MAN= inetd.8
|
||||
MLINKS= inetd.8 inetd.conf.5
|
||||
|
||||
CFLAGS+=-DLIBWRAP
|
||||
WARNS?= 1
|
||||
# Use LIBWRAP_INTERNAL for libwrap checking of inetd's `internal' services.
|
||||
#CFLAGS+=-DLIBWRAP_INTERNAL
|
||||
LDADD+= -lwrap
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.3 1997/09/21 17:02:34 veego Exp $
|
||||
|
||||
WARNS?= 1
|
||||
# $NetBSD: Makefile.inc,v 1.4 1997/10/18 06:42:50 lukem Exp $
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1997/10/10 09:26:35 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1997/10/18 06:42:51 lukem Exp $
|
||||
|
||||
LIBCOMMON != cd ${.CURDIR}/../common_source;\
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||
@ -6,6 +6,6 @@ CFLAGS+=-I${.CURDIR}/../common_source
|
||||
DPADD+= ${LIBCOMMON}/libcommon.a
|
||||
LDADD+= -L${LIBCOMMON} -lcommon
|
||||
|
||||
WARNS?= 1
|
||||
|
||||
.include "../Makefile.inc"
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.6 1997/10/17 10:38:21 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.7 1997/10/18 06:42:52 lukem Exp $
|
||||
|
||||
LIBCOMMON != cd ${.CURDIR}/../common;\
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||
@ -6,4 +6,6 @@ CFLAGS+=-I${.CURDIR}/../common
|
||||
DPADD+= ${LIBKVM} ${LIBCOMMON}/libcommon.a
|
||||
LDADD+= -lkvm -L${LIBCOMMON} -lcommon
|
||||
|
||||
.include "../Makefile.inc"
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
|
@ -1,9 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.13 1997/08/28 08:09:53 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.14 1997/10/18 06:42:53 lukem Exp $
|
||||
# @(#)Makefile 8.3 (Berkeley) 1/25/94
|
||||
|
||||
PROG= mountd
|
||||
MAN= exports.5 mountd.8
|
||||
|
||||
WARNS?=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.11 1997/09/16 13:07:59 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.12 1997/10/18 06:42:54 lukem Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
WARNS?= 1
|
||||
PROG= quotacheck
|
||||
SRCS= quotacheck.c fsutil.c preen.c
|
||||
MAN= quotacheck.8
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.4 1997/03/24 22:02:57 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.5 1997/10/18 06:42:55 lukem Exp $
|
||||
|
||||
WARNS?= 0
|
||||
PROG= rpc.pcnfsd
|
||||
MAN= pcnfsd.8
|
||||
MLINKS= pcnfsd.8 rpc.pcnfsd.8
|
||||
@ -12,13 +13,13 @@ DPADD= ${LIBRPCSVC} ${LIBCRYPT}
|
||||
LDADD= -lrpcsvc -lcrypt
|
||||
|
||||
pcnfsd_svc.c: pcnfsd.x
|
||||
rpcgen -s udp -s tcp -I ${.CURDIR}/pcnfsd.x -o $@
|
||||
rpcgen -C -s udp -s tcp -I ${.CURDIR}/pcnfsd.x -o $@
|
||||
|
||||
pcnfsd_xdr.c: pcnfsd.x
|
||||
rpcgen -c ${.CURDIR}/pcnfsd.x -o $@
|
||||
rpcgen -C -c ${.CURDIR}/pcnfsd.x -o $@
|
||||
|
||||
pcnfsd.h: pcnfsd.x
|
||||
rpcgen -h ${.CURDIR}/pcnfsd.x -o $@
|
||||
rpcgen -C -h ${.CURDIR}/pcnfsd.x -o $@
|
||||
|
||||
CLEANFILES += pcnfsd_svc.c pcnfsd_xdr.c pcnfsd.h
|
||||
CLEANFILES += clnt.pcnfsd pcnfsd_test.o pcnfsd_test.ln pcnfsd_clnt.*
|
||||
|
@ -1,14 +1,14 @@
|
||||
# $NetBSD: Makefile,v 1.3 1997/07/18 07:47:26 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.4 1997/10/18 06:42:56 lukem Exp $
|
||||
|
||||
PROG= rpc.yppasswdd
|
||||
SRCS= rpc.yppasswdd.c yppasswdd_xdr.c yppasswdd_mkpw.c
|
||||
MAN= rpc.yppasswdd.8
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=555
|
||||
BINDIR=/usr/sbin
|
||||
MLINKS= rpc.yppasswdd.8 yppasswdd.8
|
||||
DPADD+= ${LIBCRYPT} ${LIBUTIL}
|
||||
LDADD+= -lcrypt -lutil
|
||||
WARNS=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 1997/09/24 07:22:40 jeremy Exp $
|
||||
# $NetBSD: Makefile,v 1.5 1997/10/18 06:42:57 lukem Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
|
||||
.if ${MACHINE} == "pmax" || ${MACHINE} == "sun3" || ${MACHINE} == "sun3x"\
|
||||
@ -11,6 +11,4 @@ LDADD= -lm
|
||||
|
||||
MAN= screenblank.1
|
||||
|
||||
WARNS=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.3 1995/09/30 07:12:43 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.4 1997/10/18 06:42:58 lukem Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
|
||||
WARNS?= 0
|
||||
PROG= sysctl
|
||||
MAN= sysctl.8
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $NetBSD: Makefile,v 1.10 1997/07/01 20:50:58 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.11 1997/10/18 06:42:59 lukem Exp $
|
||||
|
||||
WARNS= 1
|
||||
PROG= syslogd
|
||||
MAN= syslogd.8 syslog.conf.5
|
||||
DPADD+=${LIBUTIL}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $Netbsd$
|
||||
|
||||
WARNS?= 1
|
||||
WARNS?= 0
|
||||
PROG= tcpdchk
|
||||
SRCS= tcpdchk.c fakelog.c inetcf.c scaffold.c percent_m.c
|
||||
MAN= tcpdchk.8
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $Netbsd$
|
||||
|
||||
WARNS?= 1
|
||||
WARNS?= 0
|
||||
PROG= tcpdmatch
|
||||
SRCS= tcpdmatch.c fakelog.c inetcf.c scaffold.c percent_m.c
|
||||
MAN= tcpdmatch.8
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.8 1997/10/03 19:54:09 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.9 1997/10/18 06:43:03 lukem Exp $
|
||||
|
||||
WARNS?= 1
|
||||
PROG= tcpdump
|
||||
MAN= tcpdump.8
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.6 1997/10/04 16:31:24 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.7 1997/10/18 06:43:04 lukem Exp $
|
||||
|
||||
WARNS?= 1
|
||||
PROG= traceroute
|
||||
MAN= traceroute.8
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $NetBSD: Makefile,v 1.5 1997/07/23 08:19:59 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.6 1997/10/18 06:43:06 lukem Exp $
|
||||
|
||||
PROG= trpt
|
||||
MAN= trpt.8
|
||||
@ -10,6 +10,4 @@ BINMODE=2555
|
||||
DPADD= ${LIBKVM}
|
||||
LDADD= -lkvm
|
||||
|
||||
WARNS=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 1997/07/23 18:20:46 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.6 1997/10/18 06:43:08 lukem Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
|
||||
PROG= trsp
|
||||
@ -10,7 +10,5 @@ BINMODE=2555
|
||||
DPADD= ${LIBKVM}
|
||||
LDADD= -lkvm
|
||||
|
||||
WARNS=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.12 1997/10/06 00:52:51 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.13 1997/10/18 06:43:09 lukem Exp $
|
||||
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
||||
|
||||
PROG= ypbind
|
||||
MAN= ypbind.8
|
||||
CFLAGS+=-DHEURISTIC
|
||||
WARNS?=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,8 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.10 1997/10/06 00:57:08 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.11 1997/10/18 06:43:10 lukem Exp $
|
||||
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
||||
|
||||
PROG= yppoll
|
||||
MAN= yppoll.8
|
||||
WARNS?=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1997/10/02 14:16:14 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1997/10/18 06:43:11 lukem Exp $
|
||||
|
||||
LIBCOMMON != cd ${.CURDIR}/../common;\
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||
@ -6,5 +6,6 @@ CFLAGS+=-I${.CURDIR}/../common
|
||||
DPADD+= ${LIBCOMMON}/libcommon.a
|
||||
LDADD+= -L${LIBCOMMON} -lcommon
|
||||
|
||||
BINDIR?=/usr/sbin
|
||||
WARNS?= 1
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.9 1997/10/06 00:33:18 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.10 1997/10/18 06:43:14 lukem Exp $
|
||||
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
||||
|
||||
PROG= ypset
|
||||
MAN= ypset.8
|
||||
WARNS?=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user