view gtk/plugins/perl/common/Makefile.PL.in @ 14489:de8aea7e9f07

[gaim-migrate @ 17208] I copied parts of libgaim/plugins/perl/Makefile.am I have no idea if these changes are going to screw up the gtk perl stuff, but at least it doesn't break "make dist" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 09 Sep 2006 21:02:31 +0000
parents eeca8be382a5
children d6eae5115b31
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'        => 'Gaim <http://gaim.sourceforge.net/>') :  ()),
    '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.
);