annotate pidgin/plugins/perl/common/Makefile.PL.in @ 31555:4f89666c8d81

Make perl bindings respect LDFLAGS. Fixes #12638. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author pva@gentoo.org
date Sat, 08 Jan 2011 02:34:47 +0000
parents 77177e6000e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 use 5.006;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 use ExtUtils::MakeMaker;
16365
ca09f5b57672 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <pidgin@unreliablesource.net>
parents: 15838
diff changeset
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence the contents
ca09f5b57672 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <pidgin@unreliablesource.net>
parents: 15838
diff changeset
4 # of the Makefile that is written.
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5 WriteMakefile(
16365
ca09f5b57672 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <pidgin@unreliablesource.net>
parents: 15838
diff changeset
6 'NAME' => 'Pidgin',
ca09f5b57672 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <pidgin@unreliablesource.net>
parents: 15838
diff changeset
7 'VERSION_FROM' => '@srcdir@/Pidgin.pm', # finds $VERSION
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
16365
ca09f5b57672 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <pidgin@unreliablesource.net>
parents: 15838
diff changeset
9 ('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT
ca09f5b57672 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <pidgin@unreliablesource.net>
parents: 15838
diff changeset
10 'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()),
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 'DEFINE' => '@DEBUG_CFLAGS@',
31555
4f89666c8d81 Make perl bindings respect LDFLAGS. Fixes #12638.
pva@gentoo.org
parents: 27175
diff changeset
12 'dynamic_lib' => { 'OTHERLDFLAGS' => '@LDFLAGS@' },
15407
439a013d91bb Fix up perl to build against libpurple/pidgin instead of libgaim/gtk.
Ethan Blanton <elb@pidgin.im>
parents: 15374
diff changeset
13 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@',
16365
ca09f5b57672 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <pidgin@unreliablesource.net>
parents: 15838
diff changeset
14 'OBJECT' => '$(O_FILES)', # link all the C files too
15411
5c329a52367b More build fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15407
diff changeset
15 'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"],
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 # 'OPTIMIZE' => '-g', # For debugging.
27175
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
17 'INSTALLDIRS' => 'vendor',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
18 'INSTALL_BASE' => '$(prefix)',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
19 'INSTALLVENDORARCH' => '$(libdir)/pidgin/perl',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
20 'INSTALLVENDORMAN3DIR' => '$(mandir)/man3',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
21 'macro' => {
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
22 'prefix' => '@prefix@',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
23 'exec_prefix' => '@exec_prefix@',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
24 'libdir' => '@libdir@',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
25 'mandir' => '@mandir@',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
26 'datarootdir' => '@datarootdir@',
77177e6000e4 Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <pidgin@unreliablesource.net>
parents: 16365
diff changeset
27 },
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28 );