Re: Problems with headers and subdirectories

2008-02-28 Thread Brian Dessent
Stefan Bienert wrote: > and after this, noinst_HEADERS is not used anymore. Should'nt > noinst_HEADERS be set before line 49? Variable assignments with '=' (as opposed to ':=') in Makefiles use deferred expansion, meaning that values are recursively substituted at the point at which the variable

Re: [solved] Problems with headers and subdirectories

2008-02-28 Thread Stefan Bienert
Hi again, I just wanted to note that I fixed my problem. It seems as if I messed up the noinst_ prefixes throughout my project. If everything is set properly, it works. greetings, Stefan -- Stefan Bienert Zentrum fuer Bioinformatik Universitaet Hamburg Bundesstrasse 43 20146 Hamburg German

Re: Problems with headers and subdirectories

2008-02-28 Thread Stefan Bienert
Hi, I found a queer thing with those noinst_HEADERS. I just had a look at the Makefile produced: line 49: DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am... line 83: HEADERS = $(noinst_HEADERS) line 184: noinst_HEADERS = header1.h header2.h and after this, noinst_HEADERS is not u

Re: Problems with headers and subdirectories

2008-02-27 Thread Stefan Bienert
Hello again, my sourcetree looks like this projectdir/ src/ source1.c source2.c header1.h liba/ source3.c header2.h libb/ ... The Makefile.am for the src/ dir looks like noinst_HEADERS = header1.h SUBDIRS = liba libb LDADD = \

Re: Problems with headers and subdirectories

2008-02-27 Thread Ralf Wildenhues
Hello Stefan, * Stefan Bienert wrote on Wed, Feb 27, 2008 at 03:59:13PM CET: > > I have a simple task: Which unfortunately hasn't been completely specified yet. How does the source tree look like? How would you like the installed tree to look like? Which files do you want to appear in the distrib

Problems with headers and subdirectories

2008-02-27 Thread Stefan Bienert
Hello there, I have a simple task: Srcdirectory with several subdirectories. Some of the subdirs are including headers from directories one level up. Therefore I just wrote several Makefile.am's, one for each directory. How do I treat the headers which in the higher directory levels? I tried