Mercurial > pidgin
annotate plugins/perl/common/Makefile.PL.in @ 6588:7f5f57dd5cac
[gaim-migrate @ 7110]
I'm breaking debug. I cannot for the life of me figure out the enum stuff
in perl XSUB. Everything is ending up 0 (in other words, it's probably
not finding them). So, people can use debug_info and such.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 24 Aug 2003 01:08:32 +0000 |
parents | cbd24b37350d |
children | d7dd3f4a7b21 |
rev | line source |
---|---|
6508 | 1 use 5.008; |
2 use ExtUtils::MakeMaker; | |
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence | |
4 # the contents of the Makefile that is written. | |
5 WriteMakefile( | |
6 'NAME' => 'Gaim', | |
7 'VERSION_FROM' => 'Gaim.pm', # finds $VERSION | |
8 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 | |
9 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 | |
10 (ABSTRACT_FROM => 'Gaim.pm', # retrieve abstract from module | |
11 AUTHOR => 'Christian Hammond <chipx86@gnupdate.org>') : ()), | |
12 'LIBS' => [''], # e.g., '-lm' | |
13 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' | |
14 'INC' => '-I. -I@top_srcdir@ -I@top_srcdir@/src @GLIB_CFLAGS@', # e.g., '-I. -I/usr/include/other' | |
15 'OBJECT' => '$(O_FILES)', # link all the C files too | |
16 ); | |
6588
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
17 |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
18 if (eval {require ExtUtils::Constant; 1}) { |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
19 foreach (qw(GAIM_DEBUG_ALL GAIM_DEBUG_MISC GAIM_DEBUG_INFO |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
20 GAIM_DEBUG_WARNING GAIM_DEBUG_ERROR GAIM_DEBUG_FATAL)) { |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
21 push @names, {name => $_, type => "IV", macro => 1}; |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
22 } |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
23 |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
24 ExtUtils::Constant::WriteConstants( |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
25 NAME => 'Gaim::DebugLevel', |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
26 NAMES => \@names |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
27 ); |
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
28 } |