root/perl/Makefile.PL.in

Revision 4398f417ba97c6a8915f204fa96d7489e9b6bfcc, 0.8 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 1 month ago)

more complete shared lib support

  • Property mode set to 100644
Line 
1 use 5.008005;
2 use ExtUtils::MakeMaker;
3 use Config;
4 use Cwd qw/abs_path/;
5
6 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
7 # the contents of the Makefile that is written.
8
9 my $extra_lddflags = ("@RLDFLAG@" ne "") ? "@RLDFLAG@@libdir@" : "";
10 WriteMakefile(
11     NAME              => 'JLog',
12     VERSION_FROM      => 'lib/JLog.pm',
13     CCFLAGS           => "$ENV{'CFLAGS'}",
14     PREREQ_PM         => {},
15     ($] >= 5.005 ?
16       (ABSTRACT_FROM  => 'lib/JLog.pm',
17        AUTHOR         => 'George Schlossnagle <george@omniti.com>') : ()),
18     LDDLFLAGS         => "$Config{lddlflags} $extra_lddflags",
19     LIBS              => ["-L@libdir@ -L.. -ljlog"],
20     INC               => '-I.. -I. -I../..',
21         # Un-comment this if you add C files to link with later:
22     # OBJECT            => '$(O_FILES)', # link all the C files too
23 );
Note: See TracBrowser for help on using the browser.