Re: [Mesa-dev] [PATCH 3/9] Rename sparc/clip.S - sparc/sparc_clip.S
On Tue, Jul 10, 2012 at 10:08 AM, Jon TURNEY jon.tur...@dronecode.org.uk 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' Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- Yeah, ran into this too at some point. Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH 3/9] Rename sparc/clip.S - sparc/sparc_clip.S
Jan Engelhardt jeng...@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. pgp1ELvSGPaF3.pgp Description: PGP signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev