How flexible is automake/autoconf about what
the directory structure of a project looks like?
I have a package that I am attempting to rewrite
to support automake.  I would like to keep its
directory structure though.
The package consists of 40 or so C++ shared libraries,
each one has a "source" directory that is basically
empty, each library has about 20 other directories
that contain the source for the shared object.
I would like to make the distribution tree look
like this:

project-root:
drv/  src/  inc/  make/  @host@/

drv:
# contains some of the source for each part
drv/SharedObject
drv/subpart1
drv/...
drv/subpartN

src:
# contains the rest of the source for each part
src/SharedObject
src/subpart1
src/...
src/subpartN

inc:
# contains all header files

make:
# contains top-level configure scripts and makefiles

@host@:
@host@/lib
# contains all shared objects
@host@/obj:
# these directories contain all the object files and
# auto-generated makefiles
@host@/obj/subpart1
...
@host@/obj/subpartN

Is it possible to have my top-level scripts and makefiles
in the above "make" directory?  Or is it absolutely
necessary to have them in the "project-root" directory?
Can I use a Makefile.am in one of the src/subpart
directories to create a Makefile in @host@/obj/subpart ?

I won't even mention the headaches that I will encounter
when I go to link the C++ shared libraries...   ;)

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  [EMAIL PROTECTED]

Reply via email to