* remove CFLAGS+=-w for powerpc (added in 1.26):

- it was in the wrong place
	- makefiles shouldn't override CFLAGS; only CPPFLAGS and COPTS
	- christos fixed unsigned char stuff in 1.33 which should
	  remove the need for -w anyway
* move .include <bsd.prog.mk> to EOF
This commit is contained in:
lukem 1998-04-13 12:06:48 +00:00
parent 2dbeb85dde
commit d6c354cb4b

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.41 1998/04/09 00:32:31 tv Exp $
# $NetBSD: Makefile,v 1.42 1998/04/13 12:06:48 lukem Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
PROG= sh
@ -17,11 +17,6 @@ YFLAGS= -d
CPPFLAGS+=-DSHELL -I. -I${.CURDIR}
# XXX
.if (${MACHINE_ARCH} == "powerpc")
CFLAGS+= -w
.endif
.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
CLEANFILES+= mkinit mknodes mksyntax
@ -43,6 +38,6 @@ nodes.c nodes.h: mknodes nodetypes nodes.c.pat
syntax.c syntax.h: mksyntax
./${.ALLSRC}
.include <bsd.prog.mk>
${OBJS}: builtins.h nodes.h syntax.h token.h
.include <bsd.prog.mk>