From a370851f6e65f41287609adc39e39b4e42a4b4d9 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 6 Mar 2002 18:37:26 +0000 Subject: To quote BDE: "the k part of awk should understand the ctype macros and not need the -funsigned-char hack." Also add needed CLEANSFILE. --- usr.bin/awk/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'usr.bin/awk') diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile index 316ef59f30d2..f6be9313d6e4 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} -- cgit v1.3