| Date Of Receipt: 28-APR-1995 14:24:39.09
From: SMURF::QUARRY::"[email protected]" "28-Apr-1995 1423"
To: Mike Daniele <[email protected]>
CC: [email protected]
Subj: Re: Makefile question
There are several implications of what you're suggesting here;
1) that <backing-tree>/obj/alpha/usr/sbin/foo/foo exists in the build
BEFORE you try and build .../usr/sbin/bar - this is not a guarantee and is a
dangerous dependency to introduce unless absolutely unavoidable.
2) If it must depend on it, then .../usr/sbin/foo/foo must be build 1st using
the host systems libs/includes/compiler to ensure that it will actually
run on whatever OS the build machine may be running (ie ptos shared
objects may not run on a 2.0/3.0/3.2 machine). Then you'd have to go back
and rebuild foo as a shared exe against the backingtree, since that is what
must ship.
3) The paths in a workon will always refer to your sandbox first then the
backingtree - your main concern would be to ensure that this can build
correctly in the nightly build and not break the build or ship an object
linked against the wrong libs.
-Grant
| Hi,
|
| Given that /usr/sbin/foo is executed when building
| /usr/sbin/bar...
|
| How do I reference foo in bar's Makefile so that
| it will use
|
| <sandbox>/obj/alpha/usr/sbin/foo/foo if that exists,
| else
| <backing-tree>/obj/alpha/usr/sbin/foo/foo
|
| ?
|
| Thanks,
| Mike
|