| 1 use 5.006; |
1 use 5.006; |
| 2 use ExtUtils::MakeMaker; |
2 use ExtUtils::MakeMaker; |
| 3 |
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence the contents |
| |
4 # of the Makefile that is written. |
| 4 WriteMakefile( |
5 WriteMakefile( |
| 5 'NAME' => 'Purple::GtkUI', |
6 'NAME' => 'Pidgin', |
| 6 'VERSION_FROM' => '@srcdir@/GtkUI.pm', # finds $VERSION |
7 'VERSION_FROM' => '@srcdir@/Pidgin.pm', # finds $VERSION |
| 7 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
8 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
| 8 ('ABSTRACT_FROM' => '@srcdir@/GtkUI.pm', # finds $ABSTRACT |
9 ('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT |
| 9 'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()), |
10 'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()), |
| 10 'DEFINE' => '@DEBUG_CFLAGS@', |
11 'DEFINE' => '@DEBUG_CFLAGS@', |
| 11 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@', |
12 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@', |
| 12 # 'PREREQ_PM' => { 'Pidgin' => '@VERSION@'}, |
13 'OBJECT' => '$(O_FILES)', # link all the C files too |
| 13 # Do this because the MakeMaker Makefile is dumb, and on clean it moves |
|
| 14 # Makefile to the default setting for MAKEFILE_OLD which is Makefile.old |
|
| 15 # but this breaks running make clean more than once in a row. |
|
| 16 'MAKEFILE_OLD' => "Makefile", |
|
| 17 'OBJECT' => '$(O_FILES)', |
|
| 18 'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"], |
14 'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"], |
| 19 # 'OPTIMIZE' => '-g', # For debugging. |
15 # 'OPTIMIZE' => '-g', # For debugging. |
| 20 ); |
16 ); |