1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

Get this area compiling with the highest WARNS= that it works with.

Obsolete WFORMAT= junk also removed where possible.

OK'ed by:	obrien
Tested on:	sparc64, alpha, i386
This commit is contained in:
Mark Murray 2003-06-13 07:04:02 +00:00
parent b156281658
commit eac4bdcca4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116282
11 changed files with 7 additions and 18 deletions

View File

@ -3,5 +3,4 @@
BINDIR?= /bin
NOSHARED?= YES
WARNS?= 2
WFORMAT?= 1
WARNS?= 6

View File

@ -12,7 +12,7 @@ TCSHDIR= ${.CURDIR}/../../contrib/tcsh
PROG= csh
DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS}
WARNS= 1
WARNS= 2
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \

View File

@ -3,8 +3,6 @@
PROG= date
SRCS= date.c netdate.c vary.c
WARNS= 0
WFORMAT=0
DPADD= ${LIBUTIL}
LDADD= -lutil

View File

@ -3,7 +3,6 @@
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
WARNS?= 4
MAINTAINER= green@FreeBSD.org

View File

@ -1,16 +1,15 @@
# @(#)Makefile 8.3 (Berkeley) 5/8/95
# $FreeBSD$
MOUNT= ${.CURDIR}/../../sbin/mount
.PATH: ${MOUNT}
PROG= df
SRCS= df.c vfslist.c
MOUNT= ${.CURDIR}/../../sbin/mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}
DPADD= ${LIBM}
LDADD= -lm
WARNS?= 5
.include <bsd.prog.mk>

View File

@ -8,6 +8,7 @@ MLINKS= ed.1 red.1
.if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
DISTRIBUTION=crypto
CFLAGS+=-DDES
WARNS= 2
DPADD= ${LIBCRYPTO}
LDADD= -lcrypto
.endif

View File

@ -4,6 +4,4 @@ PROG= expr
SRCS= expr.y
YFLAGS=
NO_WERROR= "GCC can't handle C99 printf formats."
.include <bsd.prog.mk>

View File

@ -1,6 +1,5 @@
# $FreeBSD$
PROG= kenv
WARNS?= 4
.include <bsd.prog.mk>

View File

@ -3,8 +3,6 @@
PROG= ls
SRCS= cmp.c ls.c print.c util.c
NO_WERROR=1
WFORMAT=0
DPADD= ${LIBM}
LDADD= -lm

View File

@ -29,7 +29,6 @@ PROG= pax
SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \
gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \
tables.c tar.c tty_subs.c
WFORMAT=0
#XXX NOTYET
#MAN= pax.1 tar.1 cpio.1
#LINKS= ${BINDIR}/pax ${BINDIR}/tar ${BINDIR}/pax ${BINDIR}/cpio

View File

@ -3,14 +3,13 @@
PROG= ps
SRCS= fmt.c keyword.c nlist.c print.c ps.c
WARNS= 5
#
# To support "lazy" ps for non root/wheel users
# add -DLAZY_PS to the cflags. This helps
# keep ps from being an unnecessary load
# on large systems.
#
WARNS= 1
WFORMAT=0
CFLAGS+=-DLAZY_PS
DPADD= ${LIBM} ${LIBKVM}
LDADD= -lm -lkvm