~ubuntu-branches/ubuntu/trusty/nginx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/http/modules/perl/Makefile.PL

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-04-25 12:51:45 UTC
  • mfrom: (1.3.28)
  • mto: (1.3.29) (15.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: package-import@ubuntu.com-20130425125145-ugl0wor6bq0u5eae
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
# Copyright (C) Igor Sysoev
 
3
# Copyright (C) Nginx, Inc.
3
4
 
4
5
use 5.006001;
5
6
use ExtUtils::MakeMaker;
15
16
    CCFLAGS           => "$ENV{NGX_PM_CFLAGS}",
16
17
    OPTIMIZE          => '-O',
17
18
 
18
 
    INC               => "-I ../../../../../src/core " .
19
 
                         "-I ../../../../../src/event " .
20
 
                         "-I ../../../../../src/os/unix " .
21
 
                         "-I ../../../../../src/http " .
22
 
                         "-I ../../../../../src/http/modules " .
23
 
                         "-I ../../../../../src/http/modules/perl " .
24
 
                         "-I ../../../../../$ENV{NGX_OBJS} " .
25
 
                         ($ENV{NGX_PCRE} =~ /^(YES|NO)/ ? "" :
26
 
                             ($ENV{NGX_PCRE} =~ m#^/# ? "-I $ENV{NGX_PCRE} " :
27
 
                                  "-I ../../../../../$ENV{NGX_PCRE} ")),
 
19
    INC               => join(" ", map {
 
20
                             m#^/# ? "-I $_" : "-I ../../../../../$_"
 
21
                         } (split /\s+/, $ENV{NGX_INCS})),
28
22
 
29
23
    depend => {
30
 
        'nginx.c'     =>
31
 
                  "../../../../../src/http/modules/perl/ngx_http_perl_module.h"
 
24
        'nginx.c'     => join(" ", map {
 
25
                             m#^/# ? $_ : "../../../../../$_"
 
26
                         } (split(/\s+/, $ENV{NGX_DEPS}),
 
27
                            "src/http/modules/perl/ngx_http_perl_module.h"))
32
28
    },
33
29
 
34
30
    PM => {