summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/perl/Makefile.PL
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-01-16 14:56:53 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-01-16 14:56:53 +0000
commit9bf11aa19366f45bcd10a0917034acb45f89b259 (patch)
treec7231ce937ab196c89608185e59ab544224e4da8 /src/http/modules/perl/Makefile.PL
parent243edbb727c49ac25355e109a097f1ca2d9e1e44 (diff)
downloadnginx-release-0.3.21.tar.gz
nginx-release-0.3.21.tar.bz2
nginx-0.3.21-RELEASE importrelease-0.3.21
*) Feature: the ngx_http_perl_module. *) Change: the "valid_referers" directive allows the referreres without URI part.
Diffstat (limited to '')
-rw-r--r--src/http/modules/perl/Makefile.PL35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/http/modules/perl/Makefile.PL b/src/http/modules/perl/Makefile.PL
new file mode 100644
index 000000000..6fa3df744
--- /dev/null
+++ b/src/http/modules/perl/Makefile.PL
@@ -0,0 +1,35 @@
+
+# Copyright (C) Igor Sysoev
+
+use 5.006001;
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+ NAME => 'nginx',
+ VERSION_FROM => 'nginx.pm', # finds $VERSION
+ PREREQ_PM => {}, # e.g., Module::Name => 1.1
+
+ ABSTRACT_FROM => 'nginx.pm', # retrieve abstract from module
+ AUTHOR => 'Igor Sysoev',
+
+ CCFLAGS => "$ENV{NGX_PERL_CFLAGS}",
+
+ INC => "-I ../../../../../src/core " .
+ "-I ../../../../../src/event " .
+ "-I ../../../../../src/os/unix " .
+ "-I ../../../../../src/http " .
+ "-I ../../../../../src/http/modules " .
+ "-I ../../../../../src/http/modules/perl " .
+ "-I ../../../../../$ENV{NGX_OBJS} " .
+ "-I ../../../../../$ENV{NGX_PCRE} " .
+ "-I ../../../../../$ENV{NGX_ZLIB} ",
+
+ depend => {
+ 'nginx.c' =>
+ "../../../../../src/http/modules/perl/ngx_http_perl_module.h"
+ },
+
+ PM => {
+ 'nginx.pm' => '$(INST_LIBDIR)/nginx.pm'
+ }
+);