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