148
|
1
|
|
2 # Copyright (C) Igor Sysoev
|
660
|
3 # Copyright (C) Nginx, Inc.
|
148
|
4
|
|
5
|
|
6 cat << END >> $NGX_MAKEFILE
|
|
7
|
|
8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \
|
|
9 src/http/modules/perl/nginx.pm \
|
|
10 src/http/modules/perl/nginx.xs \
|
|
11 src/http/modules/perl/ngx_http_perl_module.h \
|
|
12 $NGX_OBJS/src/http/modules/perl/Makefile
|
|
13 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
|
|
14
|
686
|
15 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
|
148
|
16
|
242
|
17 rm -rf $NGX_OBJS/install_perl
|
|
18
|
148
|
19
|
150
|
20 $NGX_OBJS/src/http/modules/perl/Makefile: \
|
|
21 src/http/modules/perl/Makefile.PL \
|
|
22 src/http/modules/perl/nginx.pm
|
148
|
23 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
|
|
24 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/
|
|
25 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/
|
|
26
|
|
27 cd $NGX_OBJS/src/http/modules/perl \
|
230
|
28 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \
|
694
|
29 NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \
|
148
|
30 $NGX_PERL Makefile.PL \
|
270
|
31 LIB=$NGX_PERL_MODULES \
|
|
32 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN
|
148
|
33
|
|
34 END
|