autoconf
[Top][All Lists]
Advanced

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

Re: project structure question


From: John Calcote
Subject: Re: project structure question
Date: Mon, 09 Jun 2008 12:10:53 -0600
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Wildenhues wrote:

>> 3. I've considered creating a configure.ac at the "projects" level, and
>> making all three components sub-projects.
> 
> That's the way to go.
> 
>> This would alleviate the
>> problem mentioned with point 2 above, but I don't think there's a way to
>> specify the order that such sub-projects are built.
> 
> Not sure what you mean.  You projects directory would contain little
> more than
> 
> --- configure.ac
> AC_INIT([projects], [0.1], [bug-address])
> AC_CONFIG_FILES([Makefile])
> AC_CONFIG_SUBDIRS([ftk flaim xflaim])
> AC_OUTPUT
> 
> --- Makefile.am
> SUBDIRS = ftk flaim xflaim
> 
> and that SUBDIRS ordering determines the order in which things are
> built.
> 
>> Additionally, the
>> flaim and xflaim sub-projects would still have to somehow refer to the
>> ftk directory, which is outside of their individual source trees. They'd
>> still have to treat is as a dependency.
> 
> What do they need from ftk?  An include path and a library dependency?
> Like this?
> 
>   FTK_INCLUDE='-I$(top_srcdir)/../ftk -I$(top_builddir)/../ftk'
>   FTK_LIBS='-L$(top_builddir)/../ftk -lftk'
>   FTK_LTLIBS='$(top_builddir)/../ftk/libftk.la'

Thanks again Ralf.

John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFITXItdcgqmRY/OH8RAq/QAJ9l/z/POffVbWAb3qU6cWATWH+S5wCcCm9H
kb8K7mcHEiWsJV3wA67iCuU=
=CFLO
-----END PGP SIGNATURE-----




reply via email to

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