Makefile.PL
上传用户:qdrechuli
上传日期:2022-08-01
资源大小:917k
文件大小:1k
- use ExtUtils::MakeMaker;
- # See lib/ExtUtils/MakeMaker.pm for details of how to influence
- # the contents of the Makefile that is written.
- WriteMakefile(
- 'NAME' => 'GD',
- 'VERSION_FROM' => 'GD.pm',
- 'MYEXTLIB' => 'libgd/libgd$(LIB_EXT)',
- 'dist' => {'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
- 'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'},
- # Uncomment the line below if you're getting link errors
- # having to do with missing math functions (like floor)
- 'LIBS' => ["-lm"],
- # Uncomment the line below if you're using a perl compiled
- # for fastCGI (http://www.fastcgi.com/).
- # 'DEFINE' => '-DFCGI'
- );
- sub MY::postamble{
- '
- $(MYEXTLIB): libgd/Makefile
- DEFINE='$(DEFINE)'; export DEFINE INC;
- cd libgd && $(MAKE) -e
- html: GD.pm
- pod2html GD.pm
- mv GD.pm.html GD.html
- ';
- }