Re: using target-specific variables?

2005-05-13 Thread Harald Dunkel
Ralf Wildenhues wrote: I believe we are misunderstanding each other completely. Do you need more than one compiler simultaneously within one build tree? If not: forget my answer. If so: please explain why you would need this. Then we can discuss further. Yes, I have to build libraries

Re: using target-specific variables?

2005-05-13 Thread Harald Dunkel
Stepan Kasal wrote: well, this behaviour is documented in the Automake manual, in node ``Extending'': :Note that Automake does not make any difference between rules with : commands and rules that only specify dependencies. So it is not : possible to append new dependencies to an

Re: using target-specific variables?

2005-05-13 Thread Tim Van Holder
Harald Dunkel wrote: Ralf Wildenhues wrote: I believe we are misunderstanding each other completely. Do you need more than one compiler simultaneously within one build tree? If not: forget my answer. If so: please explain why you would need this. Then we can discuss further. Yes, I have to

using target-specific variables?

2005-05-12 Thread Harald Dunkel
Hi folks, How can I use target-specific variables in Makefiles generated by Automake? My Makefile.am says something like lib_LIBRARIES = libmylib.a libmylib_gcc3.a libmylib_a_SOURCES = foo.c bar.c libmylib_gcc3_a_SOURCES = $(libmylib_a_SOURCES)

Re: using target-specific variables?

2005-05-12 Thread Ralf Wildenhues
Hi Harald, * Harald Dunkel wrote on Thu, May 12, 2005 at 10:45:40AM CEST: How can I use target-specific variables in Makefiles generated by Automake? In general, that is not possible. For specific variables, like CFLAGS, CPPFLAGS, you may do this by using target_CFLAGS = ... My

Re: using target-specific variables?

2005-05-12 Thread Harald Dunkel
Ralf Wildenhues wrote: Hi Harald, * Harald Dunkel wrote on Thu, May 12, 2005 at 10:45:40AM CEST: How can I use target-specific variables in Makefiles generated by Automake? In general, that is not possible. For specific variables, like CFLAGS, CPPFLAGS, you may do this by using

Re: using target-specific variables?

2005-05-12 Thread Ralf Wildenhues
Hi Harald, * Harald Dunkel wrote on Thu, May 12, 2005 at 01:43:51PM CEST: Ralf Wildenhues wrote: * Harald Dunkel wrote on Thu, May 12, 2005 at 10:45:40AM CEST: How can I use target-specific variables in Makefiles generated by Automake? In general, that is not possible. For specific

Re: using target-specific variables?

2005-05-12 Thread Stepan Kasal
Hello, On Thu, May 12, 2005 at 02:02:54PM +0200, Ralf Wildenhues wrote: * Harald Dunkel wrote on Thu, May 12, 2005 at 01:43:51PM CEST: Anyway, if I introduce a line myexe: some_internal_tool_used_at_build_time then Automake shows the same misbehaviour: It assumes that I would

Re: using target-specific variables?

2005-05-12 Thread Ralf Wildenhues
* Stepan Kasal wrote on Thu, May 12, 2005 at 02:57:46PM CEST: On Thu, May 12, 2005 at 02:02:54PM +0200, Ralf Wildenhues wrote: * Harald Dunkel wrote on Thu, May 12, 2005 at 01:43:51PM CEST: Anyway, if I introduce a line myexe: some_internal_tool_used_at_build_time then