ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/PLIB-PUI/Makefile.PL
Revision: 1.2
Committed: Sat Jul 18 05:58:51 2009 UTC (17 years, 2 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +23 -1 lines
Log Message:
riddify us of meta.yml garbage in manifest

File Contents

# User Rev Content
1 root 1.1 use ExtUtils::MakeMaker;
2    
3 root 1.2 print <<EOF;
4    
5     ***
6     *** IMPORTANT: PLIB::PUI requires a C++ compiler that is compatible
7     *** with your perl. You need to specify by overriding CC manually, as in:
8     ***
9     *** perl Makefile.PL CC=g++
10     ***
11    
12     EOF
13    
14     sub MY::postamble {
15     my $postamble =<<'END';
16    
17     clean::
18     -cd pui && $(MAKE) clean
19    
20     $(MYEXTLIB):
21     cd pui && $(MAKE) CC="$(CC)" CFLAGS="$(OPTIMIZE) $(CFLAGS) $(CCCDLFLAGS)" all
22    
23     END
24     }
25 root 1.1
26     WriteMakefile(
27     dist => {
28     PREOP => 'pod2text PUI.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
29     COMPRESS => 'gzip -9v',
30     SUFFIX => '.gz',
31     },
32     NAME => "PLIB::PUI",
33 root 1.2 MYEXTLIB => 'pui/libplibpu.a',
34 root 1.1 VERSION_FROM => "PUI.pm",
35     );
36