Re: Problems getting dependencies compiled before executable....

2003-06-18 Thread Assar Westerlund
[EMAIL PROTECTED] writes: Thanks for the info. I really appreciate it. What is the easiest way then to tell system to go to a different directory to build a dependency if it is not built yet?? Either by having the SUBDIRS done in the right order as Alexandre already mentioned, or adding

Re: Problems getting dependencies compiled before executable....

2003-06-18 Thread Alexandre Duret-Lutz
Assar == Assar Westerlund [EMAIL PROTECTED] writes: [...] Assar bar/libbar.la: Assar cd bar $(MAKE) libbar.la Unless you declare this rule as PHONY (or list all the dependencies of bar/libbar.la and the dependencies thereof) this introduces a bug in the case the library already

RE: Problems getting dependencies compiled before executable....

2003-06-17 Thread cs
and Autotools will update dependency list automatically from that??? Chris Original Message Subject: Re: Problems getting dependencies compiled before executable From: Alexandre Duret-Lutz [EMAIL PROTECTED] Date: Sat, June 14, 2003 12:19 pm To: [EMAIL PROTECTED] Cc

Re: Problems getting dependencies compiled before executable....

2003-06-17 Thread Raja R Harinath
Hi, [EMAIL PROTECTED] writes: By the way, if you don't mind me asking, what is the point of _DEPENDENCIES when you can just add library to _LDADD and Autotools will update dependency list automatically from that??? Usually, there's no point. However, there can be cases where automake cannot

Re: Problems getting dependencies compiled before executable....

2003-06-14 Thread Alexandre Duret-Lutz
Chris == Chris Seberino [EMAIL PROTECTED] writes: [...] Chris If a dependency of a target is not built, then Makefile Chris should build the dependency first. That is not what Chris is happening here. Why can't Makefile go to right Chris directory to build the dependency??? [...]

Re: Problems getting dependencies compiled before executable....

2003-06-12 Thread Santosh
Message Subject: Re: Problems getting dependencies compiled before executable From: Santosh [EMAIL PROTECTED] Date: Wed, June 11, 2003 10:12 pm To: [EMAIL PROTECTED] Why not have the executable outside and the library in a subdirectory. That is how I put my

Re: Problems getting dependencies compiled before executable....

2003-06-11 Thread Santosh
Jun 10 10:51 main.c -rw-rw-r--1 seberino seberino 202 Jun 10 11:07 Makefile.am Thanks! Chris Original Message Subject: Re: Problems getting dependencies compiled before executable From: Assar Westerlund [EMAIL PROTECTED] Date: Fri, June 6

Re: Problems getting dependencies compiled before executable....

2003-06-10 Thread cs
:51 main.c -rw-rw-r--1 seberino seberino 202 Jun 10 11:07 Makefile.am Thanks! Chris Original Message Subject: Re: Problems getting dependencies compiled before executable From: Assar Westerlund [EMAIL PROTECTED] Date: Fri, June 6, 2003 10:38 pm

Re: Problems getting dependencies compiled before executable....

2003-06-06 Thread Assar Westerlund
[EMAIL PROTECTED] writes: I would have preferred that build system would see myprogram_DEPENDENCIES = libmylibrary.a and automatically known to build library FIRST. Why don't you use myprogram_LDADD = libmylibrary.a ? I'm not able to reproduce your problem. Can you tell us what

Problems getting dependencies compiled before executable....

2003-06-04 Thread cs
I have multiple executables built from my source tree. Some files in 1 directory are needed by many executables so I made a library to link everwhere needed. This one directory now must build this library and ALSO the executable in that directory. It was a real struggle to get library built