* Jef Driesen wrote on Thu, Oct 09, 2008 at 05:26:46PM CEST: > Ralf Wildenhues wrote: >> * Jef Driesen wrote on Wed, Oct 08, 2008 at 10:24:46AM CEST: >>> BTW, what is the reason that when I use mylib_la_CFLAGS = >>> -DMYLIB_BUILD, in Makefile.am, all my object files are named >>> "mylib_la-myfile.o" instead of the regular "myfile.o"? >> >> Addressed here: >> <http://www.gnu.org/software/automake/manual/html_node/renamed-objects.html> > > I was already thinking in that direction, but since there is only one > target that needs to be build in my case, there is no need to rename > object files and I assumed automake would not rename.
Problem is, it would be potentially costly for automake to find out whether there is only one such object. And maybe even impossible: there could be @substituted@ sources, where it's not known a priori whether they are built or not. > That's why I > curious whether there was another reason that could cause this. No, AFAIK. Cheers, Ralf