Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.15.11 ]​[ nginx-1.14.2 ]​

0001 
0002 # Copyright (C) Igor Sysoev
0003 # Copyright (C) Nginx, Inc.
0004 
0005 use 5.006001;
0006 use ExtUtils::MakeMaker;
0007 
0008 WriteMakefile(
0009     NAME              => 'nginx',
0010     VERSION_FROM      => 'nginx.pm',     # finds $VERSION
0011     PREREQ_PM         => {},             # e.g., Module::Name => 1.1
0012 
0013     ABSTRACT_FROM     => 'nginx.pm',     # retrieve abstract from module
0014     AUTHOR            => 'Igor Sysoev',
0015 
0016     CCFLAGS           => "$ENV{NGX_PM_CFLAGS}",
0017     OPTIMIZE          => '-O',
0018 
0019     LDDLFLAGS         => "$ENV{NGX_PM_LDFLAGS}",
0020 
0021     INC               => join(" ", map {
0022                              m#^/# ? "-I $_" : "-I ../../../../../$_"
0023                          } (split /\s+/, $ENV{NGX_INCS})),
0024 
0025     depend => {
0026         'nginx.c'     => join(" ", map {
0027                              m#^/# ? $_ : "../../../../../$_"
0028                          } (split(/\s+/, $ENV{NGX_DEPS}),
0029                             "src/http/modules/perl/ngx_http_perl_module.h"))
0030     },
0031 
0032     PM => {
0033         'nginx.pm'    => '$(INST_LIBDIR)/nginx.pm'
0034     }
0035 );