comparison auto/lib/perl/make @ 5143:6dd4875eb526

Configure: improved layout of the generated makefile. No functional changes.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 28 Mar 2013 08:45:45 +0000
parents 3099747ddbb5
children 273754fad787
comparison
equal deleted inserted replaced
5142:afea5259e05c 5143:6dd4875eb526
3 # Copyright (C) Nginx, Inc. 3 # Copyright (C) Nginx, Inc.
4 4
5 5
6 cat << END >> $NGX_MAKEFILE 6 cat << END >> $NGX_MAKEFILE
7 7
8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \ 8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \\
9 \$(CORE_DEPS) \$(HTTP_DEPS) \ 9 \$(CORE_DEPS) \$(HTTP_DEPS) \\
10 src/http/modules/perl/nginx.pm \ 10 src/http/modules/perl/nginx.pm \\
11 src/http/modules/perl/nginx.xs \ 11 src/http/modules/perl/nginx.xs \\
12 src/http/modules/perl/ngx_http_perl_module.h \ 12 src/http/modules/perl/ngx_http_perl_module.h \\
13 $NGX_OBJS/src/http/modules/perl/Makefile 13 $NGX_OBJS/src/http/modules/perl/Makefile
14 cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ 14 cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
15 15
16 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) 16 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
17 17
18 rm -rf $NGX_OBJS/install_perl 18 rm -rf $NGX_OBJS/install_perl
19 19
20 20
21 $NGX_OBJS/src/http/modules/perl/Makefile: \ 21 $NGX_OBJS/src/http/modules/perl/Makefile: \\
22 src/http/modules/perl/Makefile.PL \ 22 src/http/modules/perl/Makefile.PL \\
23 src/http/modules/perl/nginx.pm 23 src/http/modules/perl/nginx.pm
24 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ 24 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
25 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/ 25 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/
26 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/ 26 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/
27 27
28 cd $NGX_OBJS/src/http/modules/perl \ 28 cd $NGX_OBJS/src/http/modules/perl \\
29 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \ 29 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \\
30 NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \ 30 NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \\
31 $NGX_PERL Makefile.PL \ 31 $NGX_PERL Makefile.PL \\
32 LIB=$NGX_PERL_MODULES \ 32 LIB=$NGX_PERL_MODULES \\
33 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN 33 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN
34 34
35 END 35 END