[Mesa-dev] [PATCH 3/9] Rename sparc/clip.S -> sparc/sparc_clip.S

Eric Anholt eric at anholt.net
Mon Jul 9 09:48:09 PDT 2012


Jan Engelhardt <jengelh at inai.de> writes:

> On Monday 2012-07-09 13:41, Jon TURNEY wrote:
>
>>Automake can't handle having both clip.S and clip.c, even though they 
>>have different paths
>>"src/mesa/Makefile.am: object `clip.lo' created by `$(SRCDIR)/sparc/clip.S' and `$(SRCDIR)/main/clip.c'"
>
> It should - have you tried AM_INIT_AUTOMAKE([subdir-objects]) ?

My experiments with that option showed it to be ridiculously broken.

The approach I took in libdricore for the same problem was to build a
libtool lib for the asm, then link that in to libmesa.  It's really sad
how lame automake is in dealing with this (It's detected the problem!
Just build into a different .o file instead of punishing the user!)

I'm not opposed to just moving the file, though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120709/32f96d26/attachment.pgp>


More information about the mesa-dev mailing list