Re: Starting make in subdirectory rather than root
As long as the sub-project didn't have dependencies on the other parts, your sound developer should be able to configure, cd Z and make. You could even create a configure.ac for Z that would just configure that portion. If Z does have dependencies on other parts then make sure they're satisfiable via the generated makefile. Earnie. Stephen Torri wrote: I am helpin maintain the automake/autoconf scripts for a project. The structure we have right now works great when you run make at the root directory of the source tree. The developers want to know if there is a way to start with a clean tree that has had ./configure runned on it and start compiling in a subdirectory? The reason is that a sound developer would like to test their changes on a clean checkout from CVS but do want to compile the other directories the root. If we had a tree like: /project_Buzz/A /B /C /D ... /Z If the developer was only interested in lets say directory 'Z'. Then because our makefile.am is written with 'Z' as the last directory in the SUBDIRS the develop has a long time to wait until theirs is built. If it were possible to start building in 'Z' then it may take considerably less time to build than a full make job. Directory 'Z' might only depend on a few libraries in 'A', 'G' and 'R'. Four directories is nicer than 24 from a developers point of view. I hope this explains what I am looking at for a solution. Stephen
Re: Starting make in subdirectory rather than root
On Mon, 2002-11-18 at 08:23, Earnie Boyd wrote: As long as the sub-project didn't have dependencies on the other parts, your sound developer should be able to configure, cd Z and make. You could even create a configure.ac for Z that would just configure that portion. If Z does have dependencies on other parts then make sure they're satisfiable via the generated makefile. Earnie. How would you make sure that dependencies on other parts are satisified? Stephen -- Stephen Torri [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Starting make in subdirectory rather than root
On Mon, 2002-11-18 at 10:20, Bruce Korb wrote: Stephen Torri wrote: On Mon, 2002-11-18 at 08:23, Earnie Boyd wrote: As long as the sub-project didn't have dependencies on the other parts, your sound developer should be able to configure, cd Z and make. You could even create a configure.ac for Z that would just configure that portion. If Z does have dependencies on other parts then make sure they're satisfiable via the generated makefile. Earnie. How would you make sure that dependencies on other parts are satisified? ../XX/fumble : cd ../XX ; $(MAKE) fumble Thanks. This confirms what we are doing already. I was curious to see if there was an automake feature that we could use. Stephen -- Stephen Torri [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Starting make in subdirectory rather than root
Stephen Torri [EMAIL PROTECTED] writes: On Mon, 2002-11-18 at 08:23, Earnie Boyd wrote: As long as the sub-project didn't have dependencies on the other parts, your sound developer should be able to configure, cd Z and make. You could even create a configure.ac for Z that would just configure that portion. If Z does have dependencies on other parts then make sure they're satisfiable via the generated makefile. Earnie. How would you make sure that dependencies on other parts are satisified? Just add a dependency on a relative filename, and a rule to make that subdir: bin_PROGRAMS = foo foo_SOURCES = bar.c foo_LDADD = $(top_builddir)/mylib/mylib.la $(top_builddir)/mylib/mylib.la: cd $(top_builddir)/mylib; \ make mylib -- Roger Leigh Liberty and Livelihood - Support the Countryside Alliance Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848 available on public keyservers
Easily design, send and track your graphical newsletters
Title: GraphicMail GRAPHICMAIL is an easy-to-use, web-based e-mail tool for newsletters, e-brochures, promotions, invitations, press releases, product launches more. CREATE IMPACT Add photos, illustrations, logos, fonts colors with GraphicMail's online editor using your Internet browser! Use GraphicMail to design graphic newsletters, upload maintain e-mail address lists send group e-mail shots. SAVE TIME Invalid addresses are automatically deleted. Recipients can unsubscribe from your newsletter with one click. Link your website to a customised GraphicMail subscribe form. SEE RESULTS View statistics on opened e-mails and subscriber usage. More copy needs to be written for this section. More copy needs to be written for this section. More copy needs to be written for this section. More copy needs to be written for this section. QUICK LOGIN Access your personal Graphicmail account from any PC, from anywhere. You can send stored newsletters or create new ones in a few simple steps. No Obligation.2 week trial. If you like GraphicMail, send this page to a friend. SUBSCRIPTION Maximum e-mails per month US $ per month Monthly subscription plan 2,000 $ 9.95 5,000 $ 19.95 10,000 $ 29.95 20,000 $ 49.95 PAY AS YOU GO Maximum e-mails per year US $ per year Annual subscription plan- low usage 3,000 $ 24.95 Annual subscription plan- mendium