Allow for other info in opt_fpsp.h when trying to find out whether FPSP

is enabled.
Surely there are proper mechanisms that can be used to conditionally include
this file?
This commit is contained in:
dsl 2007-05-09 20:43:53 +00:00
parent 1769aced1d
commit 844e5f00de
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.13 2006/03/05 22:03:30 aymeric Exp $ # $NetBSD: Makefile.inc,v 1.14 2007/05/09 20:43:53 dsl Exp $
# #
# Configuration variables (default values are below): # Configuration variables (default values are below):
# #
@ -20,7 +20,7 @@ FPSPDOTDIR?= ../../.
FPSPDIR= ${S:S@^.@${FPSPDOTDIR}@:Q}/arch/m68k/fpsp FPSPDIR= ${S:S@^.@${FPSPDOTDIR}@:Q}/arch/m68k/fpsp
FPSPOBJ= ${FPSPDST}/fpsp.o FPSPOBJ= ${FPSPDST}/fpsp.o
FPSP!= printf "\#include \"opt_fpsp.h\"\n\#ifdef FPSP\n${FPSPOBJ}\n\#endif\n" | ${CPP} -traditional -P FPSP!= grep '^\#define FPSP 1$$' opt_fpsp.h >/dev/null && echo ${FPSPOBJ}
# CC=${CC:Q} CFLAGS=${CFLAGS:Q} \ # CC=${CC:Q} CFLAGS=${CFLAGS:Q} \