On Fri, Jun 09, 2006 at 08:59:44AM -0700, Haris wrote:
> I want to add a new file in the libc hierarchy. I am working
> with SPARC, but this file is ISA independent, i.e there is no
> any difference in the source code between the sparc version and
> the sparcv9 version. I have placed this source code file in
> the libc/sparc/gen directory and changed also the Makefile in
> libc/sparc. I am wondering wheather I need to have it also in
> sparcv9.

We already do this for some files;  see THREADSMACHOBJS, UNWINDMACHOBJS,
and their usage in sparc/Makefile and sparcv9/Makefile.

> If I choose not to have it there will the top level libc
> Makefile take the sparc version for building the sparcv9 version?

For libc, most of these things are handled by the architecture subdirectory
Makefiles.

Cheers,
- jonathan

-- 
Jonathan Adams, Solaris Kernel Development
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to