Subject: Re: libkern/Makefile.inc
To: jason downs <downsj@CSOS.ORST.EDU>
From: Chris G. Demetriou <cgd@nobozo.cs.berkeley.edu>
List: current-users
Date: 12/21/1993 23:34:54
> In message <199312220716.XAA09533@eden.CS.Berkeley.EDU>,
> "Chris G. Demetriou" writes:
> >> how about ${CPP}, as well.
> >
> >(1) it doesn't use cpp.
>
> i dunno, i don't like how libkern uses the system rules to build itself.
> this broke on me. but i'm just odd that way.
if you're talking about the system make rules:
322 [sun-lamp] sed % grep -i cpp /usr/share/mk/*
/usr/share/mk/bsd.lib.mk: ${CPP} -E ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \
/usr/share/mk/bsd.lib.mk: ${CPP} -E -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \
/usr/share/mk/bsd.lib.mk: ${CPP} -E -DPIC ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \
/usr/share/mk/sys.mk:CPP= cpp
it already *does* use ${CPP}...
"setenv CPP whatever-is-appropriate" is prolly the best way to make
sure it uses it...
cgd
------------------------------------------------------------------------------