From d6fd08cc3ba67ce31576afc4692aae68999d992f Mon Sep 17 00:00:00 2001 From: Maxime Henrion Date: Sat, 19 Oct 2002 16:47:13 +0000 Subject: [PATCH] - Remove ${NORMAL_C_NOWERROR}, it is not used anymore. To build without -Werror, we do "make WERROR=", which doesn't need this variable. - Use ${.IMPSRC} instead of $< in ${NORMAL_M} for consistency with the rest of the file. - Add ${WERROR} for the ${NORMAL_M} case. Tested on: i386, sparc64 --- sys/conf/kern.pre.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index 2a58b292bc8e..3d35150bcd3c 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -57,10 +57,9 @@ CFLAGS+= ${CONF_CFLAGS} NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} NORMAL_S= ${CC} -c ${ASM_CFLAGS} ${WERROR} ${.IMPSRC} PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} -NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} -NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk $< -c ; \ - ${CC} -c ${CFLAGS} ${PROF} ${.PREFIX}.c +NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \ + ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c GEN_CFILES= $S/$M/$M/genassym.c SYSTEM_CFILES= vnode_if.c hints.c env.c config.c