Re: Generate Custom Compiler / Build Rules?

2009-09-14 Thread Ralf Wildenhues
* Xochitl Lunde wrote on Mon, Sep 14, 2009 at 05:12:11PM CEST: > > Do you require GNU make or do you target portable make? > > If the former, then you should be able to use pattern rules. > > Xochitl: Our current build structure has now 4 separate directory trees > with makefiles. A Linux set, a

Re: Dependency issues after adding new sources.

2009-09-14 Thread Ralf Wildenhues
* Dave Steenburgh wrote on Mon, Sep 14, 2009 at 04:40:50PM CEST: > My apologies for not replying sooner; I certainly appreciate everyone's > input. This weekend just got crazy. No problem at all, I sometimes take months to reply. > On Fri, Sep 11, 2009 at 1:59 PM, Ralf Wildenhues wrote: > > > -

Re: portable $(notdir) function

2009-09-14 Thread Ralf Wildenhues
Hello Lorenzo, * Lorenzo Bettini wrote on Mon, Sep 14, 2009 at 09:19:16AM CEST: > In a Makefile.am I'd like to use $(notdir $<) but that's a GNU make > extension... is there a way of achieving the same result in a > portable way? Does automake provide a special variable/function for > that? As l

Re: Support for gnu-pascal

2009-09-14 Thread Ralf Wildenhues
Hello Martin, * Martin Kalbfuß wrote on Tue, Sep 15, 2009 at 03:45:26AM CEST: > I try to build a simple hello world program written in pascal(gpc). > There's no AC_PROG_GPC or something. So I have to do it on my own. gpc > supports all gcc options + some pascal specific options. hat I have so > fa

Support for gnu-pascal

2009-09-14 Thread Martin Kalbfuß
Hi, I try to build a simple hello world program written in pascal(gpc). There's no AC_PROG_GPC or something. So I have to do it on my own. gpc supports all gcc options + some pascal specific options. hat I have so far: confgure.ac: # -*-

Re: setting src_foo_CPPFLAGS in non-recursive build

2009-09-14 Thread Peter Johansson
Hi Ralf, Ralf Wildenhues wrote: I've never seen --install put in ACLOCAL_AMFLAGS. Does this cause any issues? It could maybe have unwanted effects if triggered on a user system. You mean that aclocal possibly will upgrade M4 files (out of my control), which might cause problems downstream

Adapting existing directory structure to autotools

2009-09-14 Thread Kenneth Porter
I'm porting a proprietary Windows DLL and demo app to Linux and I'm trying to figure out the best way to structure the build system. I'm trying to figure out how to use autoconf, automake, and libtool and whether I need to restructure my project. My existing directory structure is like this: incl

Re: Generate Custom Compiler / Build Rules?

2009-09-14 Thread Xochitl Lunde
automake-bounces+xochitl_lunde=tripplite@gnu.org wrote on 09/13/2009 12:09:31 PM: > Hello Xochitl, > > * Xochitl Lunde wrote on Thu, Sep 10, 2009 at 09:27:31PM CEST: > > I have an embedded platform for which I override all the make rules by > > writing the make rules by hand in Makefile.am

Re: Dependency issues after adding new sources.

2009-09-14 Thread Dave Steenburgh
My apologies for not replying sooner; I certainly appreciate everyone's input. This weekend just got crazy. On Fri, Sep 11, 2009 at 1:59 PM, Ralf Wildenhues wrote: > - do you use AM_MAINTAINER_MODE? If yes, then please > ./configure --enable-maintainer-mode > I do not; should I? > - can yo

portable $(notdir) function

2009-09-14 Thread Lorenzo Bettini
Hi In a Makefile.am I'd like to use $(notdir $<) but that's a GNU make extension... is there a way of achieving the same result in a portable way? Does automake provide a special variable/function for that? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, U