Peter Memishian wrote:
> 
>  > >  > SRCDIR is not set in this level. We're talking about
>  > >  > usr/src/lib/lib*/Makefile, not usr/src/lib/lib*/$(TRANSMACH)/Makefile
>  > >
>  > > I'm confused why that is.  Why lib*/Makefile rather than 
> lib*/Makefile.com?
>  >
>  > The lib*/Makefile.com makefile fragement is included by
>  > lib*/$(TRANSMACH)/Makefile to run the MACH-specific stuff - but all the
>  > demo code is MACH/ISA-independent (e.g. /usr/demo/ksh/ only contains
>  > scripts and (later) sample data (e.g. MusicML)) and therefore handled by
>  > lib*/Makefile.
> 
> But why is it inconceivable to have demo files that are ISA-dependent?
> (The rules should consider the general case, not just ksh93's needs.)
> /usr/demo already seems to contain a number of ELF binaries.

Mhhh... in theory it should be possible to use the demo rules in
usr/src/lib/lib*/$(TRANSMACH)/Makefile or usr/src/lib/lib*/Makefile.com
, too (however the usage in Makefile.com would affect both 32bit and
64bit builds (which may require some additional machinery for building
only 32bit xor 64bit targets etc.)) ...
... should I move the "include Makefile.demo" to
usr/src/libshell/$(MACH32)/Makefile (AFAIK the rules in
usr/src/lib/Makefile.lib and usr/src/lib/Makefile.targ should work in
both cases) ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to