Re: Re: A bit of a makefile.frag situation...

From: Date: Wed, 12 Oct 2005 18:54:07 +0000
Subject: Re: Re: A bit of a makefile.frag situation...
References: 1 2 3 4 5  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1802@lists.php.net to get a copy of this message
Sure it is. gen_libglade.c includes php_gtk_api.h which in turn includes gen_gtk.h. -Andrei On Oct 12, 2005, at 11:33 AM, Steph wrote:
gen_gtk.h is no longer included from _anywhere_ in PHP-GTK source. That's why we're able to build PHP-GTK 2 but no extensions. ----- Original Message ----- From: "Andrei Zmievski" <andrei@gravitonic.com> To: "Steph" <steph@zend.com> Cc: "Jani Taskinen" <sniper@iki.fi>; "PHP-GTK dev" <php-gtk-dev@lists.php.net> Sent: Wednesday, October 12, 2005 7:05 PM Subject: Re: [PHP-GTK-DEV] Re: A bit of a makefile.frag situation...
On Oct 12, 2005, at 10:56 AM, Steph wrote:
You'd need to be able to build a php-gtk extension, and I don't know if that's even possible on *nix at present. ext/libglade's in public CVS if you want to try.
Bah, of course it's possible. I just did it.
Basically we need to be able to add the line #include "php_gtk_api.h" to gtk.overrides without breaking the *nix build of PHP-GTK itself (which might even be OK on your system in the first place, but isn't for everyone).
Why do we need that line there? gtk.overrides already includes these: #include "gen_atk.h" #include "gen_gdk.h" #include "gen_pango.h" And they are generated in that exact order, so no problems there. -Andrei


« previous php.gtk.dev (#1802) next »