automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Differents trees for objects and sources


From: Payn, xavier
Subject: Differents trees for objects and sources
Date: Thu, 11 Mar 2004 12:35:41 +0100

Hi,

 

I’m trying to make a separated tree for my object files, in order not to mess with the source files.

This object tree should be unique regarding to the compilation platform and the current version (debug or release).

And it should keep the organization of the source tree. (I’m working under SUN and Pc/Linux platforms with a NFS)

For Example:

 

/

|-SRC

|           |-subSRC1

|           |           |-foo1.c

|           |           |-foo2.c

|           |           |-…

|           |-subSRC2

|           |-…

|           |_

|-OBJS

|           |-Platforme1

|           |           |-Debug

|           |           |           |-subSRC1

|           |           |           |           |-foo1.o

|           |           |           |           |-foo2.o

|           |           |           |           |-…

|           |           |           |-subSRC2

|           |           |           |_         |-…

|           |           |-Release

|           |           |           |-subSRC1

|           |           |           |           |-foo1.o

|           |           |           |_         |-…

|           |           |_

|           |-Platforme2

|           |           |-Debug

|           |           |           |- subSRC1

|           |           |           |           |-…

|           |           |           |-…

|           |           |-Release

|           |           |           |-…

|           |           |_

|           |_

|_

 

I use autoconf to determine the platform and configure the version, and a shell script to generate object trees similar to the source tree.

How can I use automake to build my project in those trees and assume the dependencies?

I’m not sure it is directly possible, but maybe which a little trick like moving Makefile.in files during the ./configure…

So if you have any idea, answer me.

Thx,

 

Xavier

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]