summaryrefslogtreecommitdiff
path: root/pidgin/plugins/perl/common/Makefile.PL.in
diff options
context:
space:
mode:
Diffstat (limited to 'pidgin/plugins/perl/common/Makefile.PL.in')
-rw-r--r--pidgin/plugins/perl/common/Makefile.PL.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/pidgin/plugins/perl/common/Makefile.PL.in b/pidgin/plugins/perl/common/Makefile.PL.in
new file mode 100644
index 0000000000..f7fd86508f
--- /dev/null
+++ b/pidgin/plugins/perl/common/Makefile.PL.in
@@ -0,0 +1,20 @@
+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@/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.
+);