Actually since I emailed I changed my INCLUDES=, and it seems to work
Thanks -----Original Message----- From: Ralf Wildenhues [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 11:04 AM To: Jeff Safier Cc: automake@gnu.org Subject: Re: Way to generate header files automatically Hi Jeff, * Jeff Safier wrote on Mon, Mar 27, 2006 at 05:58:31PM CEST: > Thanks for your answers. It seems automake does handle this > automattically, however we have a situation where the header files are > in a didfferent directory tree then the shource code. For that > dependency tracking is not working. Unless my INCLUDES= macro in my > Makefile.am is incorrect, im not sure how to do this, if possibe The fact that headers are in a different directory should not matter at all to dependency generation. The INCLUDES line is only to ensure that all files you need will be distributed with `make dist'. Let's see some details about your setup: post some of Makefile.am. What does configure output look like in the lines that start with checking dependency style of ... and which compiler do you use on what system? Please don't top-post. Thanks! Cheers, Ralf