Re: preprocessor output target

2008-06-05 Thread Jason Roscoe
Brian Dessent wrote: If you are using gcc then you can add -save-temps to CFLAGS, e.g. rm init.o && make CFLAGS="-save-temps -g -O2" Assuming that everything else in the build dir was up-to-date at that point, this will rebuild just init.o but it will leave init.i and init.s as a side effect.

Re: preprocessor output target

2008-06-05 Thread Jason Roscoe
Ralf Wildenhues wrote: Hi Jason, * Jason Roscoe wrote on Thu, Jun 05, 2008 at 04:13:31PM CEST: I apologize if this is not the correct list It's dead on. In addition to Stepan's answer: The main reason is that I want to be able to see the headers that are being in

preprocessor output target

2008-06-05 Thread Jason Roscoe
Hi, I apologize if this is not the correct list but maybe someone here can answer ... I have a project that uses autoconf/automake and libtool. I was wondering if there is already a macro that will create Makefile targets for getting the preprocessor output. For example, if I have a source

expansion in AC_CONFIG_COMMANDS

2008-04-14 Thread Jason Roscoe
Hi, I'm trying to call awk from within the AC_CONFIG_COMMANDS macro in order to create a file called version.h. But, I'm not sure if what I am trying to do is possible or whether I am just not quoting it correctly. No matter how I quote it, I can never get the appropriate command in the resu

Re: linking source files from a different directory macro

2008-01-22 Thread Jason Roscoe
Ralf Wildenhues wrote: You can use AC_CONFIG_LINKS from Autoconf: or there is AC_PROG_LN_S, which allows you to use $(LN_S) in rules in Makefile.

Re: linking source files from a different directory macro

2008-01-21 Thread Jason Roscoe
Bob Friesenhahn wrote: That sounds like a nice feature. For GraphicsMagick (which needs this capability) I distribute a slightly modified version of the old X11 'lndir' shell script and invoke it via an automake 'hook'. This approach seems to work fine. Bob =

linking source files from a different directory macro

2008-01-21 Thread Jason Roscoe
Hi, I'm new to the mailing list and only have a few days experience working with Automake. I am wondering if a macro already exists that will link source files from a different directory into the current one. For example, given the following directory trees: common/ common/tester.c common/t