pidgin/plugins/perl/common/Makefile.PL.in

Fri, 27 Apr 2007 04:25:21 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Fri, 27 Apr 2007 04:25:21 +0000
changeset 16528
6cd4a90e0970
parent 15899
75f0041f72b8
child 16529
1d0da9270ff9
child 20478
46933dc62880
permissions
-rw-r--r--

Kill the libpurpleperl hack library and move the init stuff to perl.so itself.
This works fine for me and I'm hoping will work fine on Solaris as well. When
it gets tested we'll want to drop libpurpleperl.c but until I know it works I
don't want to drop it (because of mtn's die die dir merge stuff).

use 5.006;
use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'          => 'Purple::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'        => 'Pidgin <http://pidgin.im/>') :  ()),
    'DEFINE'        => '@DEBUG_CFLAGS@',
    'INC'           => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@',
#    'PREREQ_PM'     => { 'Pidgin' => '@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.
);

mercurial