Re: compilation rules with dependencies don't work with subdir-objects

2006-11-13 Thread Bruno Haible
Hello Ralf, Thanks for pointing out this: Automake needs to know at 'automake' run time the set of dependency files it should later include in the Makefile.in's; those | @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@ ... The missing 'mkdir -p' for the

Re: adding libraries and header file directories

2006-11-13 Thread Stepan Kasal
Hello Ralf, On Fri, Nov 10, 2006 at 05:50:18PM +0100, Jim Rainville wrote: + aclocal-1.10 -I m4 ... configure.ac:80: warning: macro `AM_LIBTOOLFLAGS' not found in library On Sun, Nov 12, 2006 at 06:43:44PM +0100, Ralf Wildenhues wrote: The warning shouldn't be there. Please post the

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-13 Thread Stepan Kasal
Hello, On Fri, Nov 10, 2006 at 11:27:18AM -0700, David Everly wrote: I have been working to follow this. It seems however that I need dist_TESTS, but this seems to not work so perhaps I should do this instead: EXTRA_DIST = $(TESTS) yes, that is fine. One nit about style: I would rather

Using automake in conjunction with kbuild Makefile

2006-11-13 Thread Steve Kreyer
Hi, I have a source package where a kernel driver is included. I want to distribute this package with autotools. Now I have a problem that I don't really know how automake and the kbuild Makefile can work together... I have the following Makefile.am:

Re: Using automake in conjunction with kbuild Makefile

2006-11-13 Thread Stepan Kasal
Hello Steve, I do not have any experience with kbuilt, but I'll try to generate some hins anyway: On Mon, Nov 13, 2006 at 11:48:29AM +0100, Steve Kreyer wrote: DEFAULT_INCLUDES = [EMAIL PROTECTED]@ two nits about this line: No need to use @..@, use $(abs_top_srcdir) instead. Why do you

Overriding -g -O2

2006-11-13 Thread Paulo J. Matos
Hi all, I'm trying to override -g -O2 CXXFLAGS set up by default but I'm quite confused on how to do this. I have specific _CXXFLAGS setup, I have also tried to setup AM_CXXFLAGS to empty but still those god damn flags show up when compiling and linking. How can I make them go away? Regards,

Re: Overriding -g -O2

2006-11-13 Thread Paulo J. Matos
On 11/13/06, Paulo J. Matos [EMAIL PROTECTED] wrote: Hi all, I'm trying to override -g -O2 CXXFLAGS set up by default but I'm quite confused on how to do this. I have specific _CXXFLAGS setup, I have also tried to setup AM_CXXFLAGS to empty but still those god damn flags show up when compiling

Re: Using automake in conjunction with kbuild Makefile

2006-11-13 Thread Steve Kreyer
Hi Stepan, first of all thanks for the fast answer. Stepan Kasal wrote: Hello Steve, I do not have any experience with kbuilt, but I'll try to generate some hins anyway: On Mon, Nov 13, 2006 at 11:48:29AM +0100, Steve Kreyer wrote: DEFAULT_INCLUDES = [EMAIL PROTECTED]@ two nits

Sublibraries without libtool

2006-11-13 Thread Yevgen Muntyan
Hello, I am trying to figure out how to avoid using libtool when I don't need a shared library. The current, normal, setup is like this: I have a toplevel library which gets built into the executable, it gets built from libs from subdirs, and those subdirs in turn have subdirs with convenience

Re: Sublibraries without libtool

2006-11-13 Thread Yevgen Muntyan
Ralf Wildenhues wrote: Hello Yevgen, * Yevgen Muntyan wrote on Mon, Nov 13, 2006 at 09:32:11PM CET: I am trying to figure out how to avoid using libtool when I don't need a shared library. [...] subdir1/ libsubdir1.la subsubdir1/ libsubsubdir1.la subsubdir2/

Re: Sublibraries without libtool

2006-11-13 Thread Yevgen Muntyan
Ralf Wildenhues wrote: * Yevgen Muntyan wrote on Mon, Nov 13, 2006 at 10:13:55PM CET: Well, I didn't mention it, but non-recursive make is one of things I am trying to do here. Its speed indeed is just awesome, but it also leads to huge mess: things like foo_SOURCES +=

Re: Overriding -g -O2

2006-11-13 Thread Jian Wang
On 11/13/06, Paulo J. Matos [EMAIL PROTECTED] wrote: By passing CXXFLAGS='' to configure I was able to remove -g and -O2 but now with specific _CXXFLAGS during linking, no flags are showing up. What's the problem? And is passing an empty list of flags to configure the only way to achieve what I

Re: Sublibraries without libtool

2006-11-13 Thread Ralf Wildenhues
Hello Yevgen, * Yevgen Muntyan wrote on Mon, Nov 13, 2006 at 09:32:11PM CET: I am trying to figure out how to avoid using libtool when I don't need a shared library. [...] subdir1/ libsubdir1.la subsubdir1/ libsubsubdir1.la subsubdir2/ libsubsubdir2.la Try using a