Ok, I thinks I didn't explain myself correctly then ... From what I saw there I can use either bindir, libdir or includedir for when I'm installing the completed targets. What I want to do is to locate them before that moment. I noticed that all my libs and binaries are ending up in a hidden .libs directory. What I would like to do is determine exactly where my targets end up in my project directory before I install them. All my binaries on a bin subdirectory for example, or my shared objects in a lib directory, my object files in a obj directory.
Thanks On Mon, Jun 23, 2008 at 12:13 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > * Roberto Alejandro Espí Muñoz wrote on Sun, Jun 22, 2008 at 06:33:07PM CEST: >> Hi , I read about the possibility of creating VPATHs so that my project >> can produce multiple configured outputs in different locations ( build >> tree != source tree ). I'm trying to accommodate that philosophy to >> what I want to do. When I construct all my targets I want them to end >> up in specific directories. For example I would want my binaries to end >> up in something like bin/, or my shared objects in lib/. >> >> Is there any way I can do this?? Is VPATH the way?? > > Yes. Most likely you won't have to do anything, you esp. don't have to > set VPATH yourself. But you should read up on the three different > trees: the source tree, the build tree, and the install tree. > > This chapter of the Automake manual walks you through several autotools > features, including those you're looking for: > <http://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html> > > Hope that helps. > > Cheers, > Ralf > -- teratux ------------ http://teratux.blogspot.com