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

branch
cpw.khc.msnp14
changeset 20478
46933dc62880
parent 14629
1a0cd727c121
parent 15899
75f0041f72b8
child 20481
65485e2ed8a3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pidgin/plugins/perl/common/Makefile.PL.in	Sun Apr 15 03:43:17 2007 +0000
@@ -0,0 +1,20 @@
+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