From 59e427135b8564d7ac1df1ecdc8f6f79cc6968af Mon Sep 17 00:00:00 2001 From: niklas Date: Fri, 21 Feb 1997 11:17:38 +0000 Subject: [PATCH] Drop ${PARAM} from CPPFLAGS, add it to the HOSTED_C rule. Use the NORMAL_C_C rule for building parma.o. Put -nostdinc upfront in INCLUDES. --- sys/arch/amiga/conf/Makefile.amiga | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/arch/amiga/conf/Makefile.amiga b/sys/arch/amiga/conf/Makefile.amiga index 7f3194d98e3..ec07dca7034 100644 --- a/sys/arch/amiga/conf/Makefile.amiga +++ b/sys/arch/amiga/conf/Makefile.amiga @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amiga,v 1.17 1997/01/16 09:23:38 niklas Exp $ +# $OpenBSD: Makefile.amiga,v 1.18 1997/02/21 11:17:38 niklas Exp $ # $NetBSD: Makefile.amiga,v 1.52 1996/12/01 12:10:07 veego Exp $ # Makefile for OpenBSD @@ -35,8 +35,8 @@ S!= cd ../../../..; pwd .endif AMIGA= $S/arch/amiga -INCLUDES= -I. -I$S/arch -I$S -nostdinc -CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmc68020 -Damiga +INCLUDES= -nostdinc -I. -I$S/arch -I$S +CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Damiga CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \ -Wno-format @@ -85,7 +85,7 @@ LIBCOMPAT= ${COMPATLIB_PROF} NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< -HOSTED_C= ${HOSTCC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $< +HOSTED_C= ${HOSTCC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} ${PARAM} -c $< DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< @@ -144,7 +144,7 @@ param.c: $S/conf/param.c cp $S/conf/param.c . param.o: param.c Makefile - ${NORMAL_C} + ${NORMAL_C_C} ioconf.o: ioconf.c ${NORMAL_C} -- 2.20.1