view gtk/plugins/perl/common/Makefile.PL.in @ 14416:eeca8be382a5

[gaim-migrate @ 17124] This is a Gaim::Gtk perl module for use by gaim plugins to get access to the gtkgaim interface functions. It isn't complete because anything dealing with Gtk widgets themselves doesn't work yet (I need to figure out the best way to do that). To use this a perl plugin just needs to include 'use Gaim::Gtk;' either on top of 'use Gaim;' or instead of it. I'm not done with this yet. At the moment you have to 'use Gaim;' or 'use Gaim::Gtk;' which loads all the parts, I'm planning to let you actually say 'use Gaim::Gtk::Debug;' to just get the gtkdebug.h functions. Though 'use Gaim' would work the same way as always. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 02 Sep 2006 05:31:10 +0000
parents
children de8aea7e9f07
line wrap: on
line source

use 5.006;
use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'          => 'Gaim::Gtk',
    'VERSION_FROM'  => '@srcdir@/Gtk.pm', # finds $VERSION
    ($] >= 5.005 ? ## Add these new keywords supported since 5.005
	('ABSTRACT_FROM' => '@srcdir@/Gtk.pm', # finds $ABSTRACT
	'AUTHOR'        => 'Etan Reisner <deryni@gmail.com>') :  ()),
    'DEFINE'        => '@DEBUG_CFLAGS@',
    'INC'           => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libgaim -I@top_srcdir@/gtk @GTK_CFLAGS@',
#    'PREREQ_PM'     => { 'Gaim' => '@VERSION@'},
    # Do this because the MakeMaker Makefile is dumb, and on clean it moves
    # Makefile to the default setting for MAKEFILE_OLD which is Makefile.old
    # but this breaks running make clean more than once in a row.
    'MAKEFILE_OLD'  => "Makefile",
    'OBJECT'        => '$(O_FILES)',
    'TYPEMAPS'      => ["@top_srcdir@/libgaim/plugins/perl/common/typemap"],
#    'OPTIMIZE'      => '-g', # For debugging.
);