summaryrefslogtreecommitdiffstats
path: root/usr.bin/awk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-06 18:37:26 +0000
committerobrien <obrien@FreeBSD.org>2002-03-06 18:37:26 +0000
commit7a594117fc66a44ba461a0e00ae4a76964fc9ac4 (patch)
treed90767030b8e884d124f42a148ae64c3108e5d82 /usr.bin/awk
parent846b72e9683059a261d09c0812f4014c2e261cf9 (diff)
downloadFreeBSD-src-7a594117fc66a44ba461a0e00ae4a76964fc9ac4.zip
FreeBSD-src-7a594117fc66a44ba461a0e00ae4a76964fc9ac4.tar.gz
To quote BDE: "the k part of awk should understand the ctype macros and not
need the -funsigned-char hack." Also add needed CLEANSFILE.
Diffstat (limited to 'usr.bin/awk')
-rw-r--r--usr.bin/awk/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 316ef59..f6be931 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -6,12 +6,10 @@ AWKSRC= ${.CURDIR}/../../contrib/one-true-awk
PROG= nawk
SRCS= b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.c ytab.h
-# Important for ctype macros!
-CFLAGS+= -funsigned-char
CFLAGS+= -I. -I${AWKSRC}
-DPADD+= ${LIBM}
-LDADD+= -lm
+DPADD= ${LIBM}
+LDADD= -lm
.if ${MACHINE_ARCH} == "sparc64"
LINKS+= ${BINDIR}/nawk ${BINDIR}/awk
@@ -34,6 +32,7 @@ build-tools: maketab
maketab: ytab.h ${AWKSRC}/maketab.c
${CC} ${CFLAGS} ${AWKSRC}/maketab.c -o maketab
+CLEANFILES+= nawk.1
nawk.1: awk.1
ln -sf ${.ALLSRC} ${.TARGET}
OpenPOWER on IntegriCloud