view pidgin/plugins/perl/common/Makefile.PL.in @ 15471:015ad1283216

Some more changes to the win32 build to support cross-compiling.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 31 Jan 2007 04:31:12 +0000
parents 5c329a52367b
children e622745f6f42
line wrap: on
line source

use 5.006;
use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'          => 'Gaim::GtkUI',
    'VERSION_FROM'  => '@srcdir@/GtkUI.pm', # finds $VERSION
    ($] >= 5.005 ? ## Add these new keywords supported since 5.005
	('ABSTRACT_FROM' => '@srcdir@/GtkUI.pm', # finds $ABSTRACT
	'AUTHOR'        => 'Gaim <http://gaim.sourceforge.net/>') :  ()),
    'DEFINE'        => '@DEBUG_CFLAGS@',
    'INC'           => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @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@/libpurple/plugins/perl/common/typemap"],
#    'OPTIMIZE'      => '-g', # For debugging.
);