Re: creating specialized linking rules?

2009-08-11 Thread John Wohlbier
On Wed, Aug 5, 2009 at 8:04 PM, John Wohlbier wrote: > I'm using libtool in a project where I'm compiling code for the cell > processor. The cell requires different compilers to be used on sources > compiled for the PowerPC core (PPU) and the "synergistic processing unit" > (SPU). I'm building (tr

Nonrecursive Makefile.am: Ensuring directory creation?

2009-08-11 Thread Jack Kelly
Hello list, I am writing a nonrecursive Makefile.am, and cannot find the recommended way of requiring that directories in the source tree have had their equivalents created in the build tree. This has led me to write rules like this: 8<--- doc/fake437-primitive.texi: doc/$(am__dirstamp) include/f

simple 'install of png file' question

2009-08-11 Thread David Liebman
Hello, This is a newbie question. I have a simple project that I'm using automake and autoconf on. It involves a simple c program, but uses a png image. The png image is in a directory called 'pics' and I want it copied to a certain directory on the system when the user calls the 'install' target

Re: simple 'install of png file' question

2009-08-11 Thread John Calcote
Hi David, On 8/11/2009 7:28 AM, David Liebman wrote: Hello, This is a newbie question. I have a simple project that I'm using automake and autoconf on. It involves a simple c program, but uses a png image. The png image is in a directory called 'pics' and I want it copied to a certain director

Re: simple 'install of png file' question

2009-08-11 Thread John Calcote
Sorry - I forgot to give the relative path in the pic_DATA variable below - here's the corrected version: picdir = $(datadir)/pics # assuming you want png's installed in /usr/local/share/pics pic_DATA = pics/mypicture.png

Re: Nonrecursive Makefile.am: Ensuring directory creation?

2009-08-11 Thread Ralf Wildenhues
Hello Jack, * Jack Kelly wrote on Tue, Aug 11, 2009 at 02:37:22PM CEST: > I am writing a nonrecursive Makefile.am, and cannot find the > recommended way of requiring that directories in the source tree have > had their equivalents created in the build tree. This has led me to > write rules like th

Re: Tests fail due to argument list too long

2009-08-11 Thread Ralf Wildenhues
Hello Bob, this was about: * Bob Friesenhahn wrote on Sat, Aug 01, 2009 at 10:05:25PM CEST: > Something surprising about the AIX 4.3.3 argument list length > problem is that I am not seeing this problem reported anyw

Re: Nonrecursive Makefile.am: Ensuring directory creation?

2009-08-11 Thread Russ Allbery
Ralf Wildenhues writes: > Unfortunately, Automake doesn't yet provide a good API for directory > stamping yet. You can easily use your own though, that don't interfere > with automake's stamps and rules: > > subdir/generated-file: subdir/my-dirstamp > commands ... > subdir/my-dirstam

Re: aclocal.m4 location

2009-08-11 Thread Ralf Wildenhues
Hello Sam, * Sam Steingold wrote on Tue, Aug 04, 2009 at 06:06:03PM CEST: > automake requires aclocal.m4 to be present in the current directory. > this is not the case for me, I have one master aclocal.m4 and a few > subprojects, each with its own Makefile.am and configure.in. > this means that fo

Re: aclocal.m4 location

2009-08-11 Thread Sam Steingold
Hi Ralf, On Tue, Aug 11, 2009 at 4:40 PM, Ralf Wildenhues wrote: > * Sam Steingold wrote on Tue, Aug 04, 2009 at 06:06:03PM CEST: >> automake requires aclocal.m4 to be present in the current directory. >> this is not the case for me, I have one master aclocal.m4 and a few >> subprojects, each with

Re: Nonrecursive Makefile.am: Ensuring directory creation?

2009-08-11 Thread Jack Kelly
On Wed, Aug 12, 2009 at 6:10 AM, Russ Allbery wrote: > Ralf Wildenhues writes: > >> Unfortunately, Automake doesn't yet provide a good API for directory >> stamping yet.  You can easily use your own though, that don't interfere >> with automake's stamps and rules: >> >>   subdir/generated-file: su