Re: A bit of a makefile.frag situation...
| From: | Jani Taskinen | Date: | Wed, 12 Oct 2005 17:38:47 +0000 |
| Subject: | Re: A bit of a makefile.frag situation... | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1784@lists.php.net to get a copy of this message | ||
On Wed, 12 Oct 2005, Steph wrote:
Is there a way to check for files during make and delay further processing until they're all generated?
Yes, you put such files as dependancy for the other file's build rule.
The *nix build system, on the other hand, generates the 8 base gen_* files from ext/gtk+/Makefile.frag, and then compiles them during ext/gtk+/config.m4. This approach caused a problem in the *nix build when gen_gtk.c included gen_gtk.h before it existed. Andrei addressed that problem by not including the gen_*.h files at all. This is fine for building PHP-GTK 2 itself, on either system, but of course the library produced in this way no longer contains PHP-GTK 2 exports. (The gen_*.h files consist solely of PHP_GTK_API extern PHP_GTK_EXPORT_CE() declarations). That means we can't build PHP-GTK 2 extensions any more, on either system.
Tell me how to reproduce the problem and I might be able to fix it too.
(this explanation does not make any sense to me)
--Jani