From kde-core-devel Wed Feb 28 17:55:10 2001 From: Michael Goffioul Date: Wed, 28 Feb 2001 17:55:10 +0000 To: kde-core-devel Subject: Re: kdeprint compile error X-MARC-Message: https://marc.info/?l=kde-core-devel&m=98338305320428 > Yes, I just discovered that there is a circular compile issue. The first > two subdirs require that make be run in "." first. However "." requires that > make had been run in the first two subdirs first. I think the ui files are > the only things that need to be run so perhaps there is some Makefile.am > modification which would fix this? Yes, that's the problem. The header files for ui should be created before entering subdirs, which then are required to compile main dir. I admit this is tricky. But this will change: I'm now using a plugin mechanism, so libraries from subdirs are dynamically loaded at run-time, there's no dependence anymore. So you can compile completely the main dir first, then compile the subdirs. Until then we have to deal with the current code. I tried to add a dependence for the "all-recursive" tag on "HFILES", but it doesn't seem to work for everybody (it used to work on my system). Michael. -- ------------------------------------------------------------------ Michael Goffioul IMEC-DESICS-MIRA e-mail: goffioul@imec.be (Mixed-Signal and RF Applications) Tel: +32/16/28-8510 Kapeldreef, 75 Fax: +32/16/28-1515 3001 HEVERLEE, BELGIUM ------------------------------------------------------------------