Mercurial > hg > nginx-quic
annotate auto/lib/perl/make @ 6679:40e8ce405859
Stream: postpone session initialization under accept mutex.
Previously, it was possible that some system calls could be
invoked while holding the accept mutex. This is clearly
wrong as it prevents incoming connections from being accepted
as quickly as possible.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Tue, 06 Sep 2016 21:28:13 +0300 |
parents | 39a806ccf21e |
children | 0d2956dfc4e6 |
rev | line source |
---|---|
599 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
599 | 4 |
5 | |
5146
f45b83d20cfb
Simplified nginx version maintenance.
Ruslan Ermilov <ru@nginx.com>
parents:
5145
diff
changeset
|
6 v=`grep 'define NGINX_VERSION' src/core/nginx.h | sed -e 's/^.*"\(.*\)".*/\1/'` |
f45b83d20cfb
Simplified nginx version maintenance.
Ruslan Ermilov <ru@nginx.com>
parents:
5145
diff
changeset
|
7 |
f45b83d20cfb
Simplified nginx version maintenance.
Ruslan Ermilov <ru@nginx.com>
parents:
5145
diff
changeset
|
8 |
599 | 9 cat << END >> $NGX_MAKEFILE |
10 | |
6419 | 11 $NGX_OBJS/src/http/modules/perl/ngx_http_perl_module.o: \\ |
12 $NGX_OBJS/$ngx_perl_module | |
13 | |
14 $NGX_OBJS/$ngx_perl_module: \\ | |
5143
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
15 \$(CORE_DEPS) \$(HTTP_DEPS) \\ |
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
16 src/http/modules/perl/ngx_http_perl_module.h \\ |
599 | 17 $NGX_OBJS/src/http/modules/perl/Makefile |
4841
95ce3172493e
Configure: fixed make macros to use parentheses instead of braces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4740
diff
changeset
|
18 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) |
599 | 19 |
740
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
20 rm -rf $NGX_OBJS/install_perl |
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
21 |
599 | 22 |
5143
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
23 $NGX_OBJS/src/http/modules/perl/Makefile: \\ |
5265
9f17e765a21e
Configure: perl Makefile rebuild after configure.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5180
diff
changeset
|
24 $NGX_AUTO_CONFIG_H \\ |
5146
f45b83d20cfb
Simplified nginx version maintenance.
Ruslan Ermilov <ru@nginx.com>
parents:
5145
diff
changeset
|
25 src/core/nginx.h \\ |
5143
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
26 src/http/modules/perl/Makefile.PL \\ |
5144
273754fad787
Configure: improved make dependencies for perl module.
Ruslan Ermilov <ru@nginx.com>
parents:
5143
diff
changeset
|
27 src/http/modules/perl/nginx.pm \\ |
273754fad787
Configure: improved make dependencies for perl module.
Ruslan Ermilov <ru@nginx.com>
parents:
5143
diff
changeset
|
28 src/http/modules/perl/nginx.xs \\ |
273754fad787
Configure: improved make dependencies for perl module.
Ruslan Ermilov <ru@nginx.com>
parents:
5143
diff
changeset
|
29 src/http/modules/perl/typemap |
5146
f45b83d20cfb
Simplified nginx version maintenance.
Ruslan Ermilov <ru@nginx.com>
parents:
5145
diff
changeset
|
30 sed "s/%%VERSION%%/$v/" src/http/modules/perl/nginx.pm > \\ |
f45b83d20cfb
Simplified nginx version maintenance.
Ruslan Ermilov <ru@nginx.com>
parents:
5145
diff
changeset
|
31 $NGX_OBJS/src/http/modules/perl/nginx.pm |
f45b83d20cfb
Simplified nginx version maintenance.
Ruslan Ermilov <ru@nginx.com>
parents:
5145
diff
changeset
|
32 cp -p src/http/modules/perl/nginx.xs $NGX_OBJS/src/http/modules/perl/ |
599 | 33 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/ |
34 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/ | |
35 | |
5143
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
36 cd $NGX_OBJS/src/http/modules/perl \\ |
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
37 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \\ |
5180
2db6bdcaedc0
Configure: fixed perl Makefile generation (ticket #334).
Maxim Dounin <mdounin@mdounin.ru>
parents:
5168
diff
changeset
|
38 NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \\ |
5168
482fda984556
Configure: fixed nginx.so rebuild (broken by r5145).
Maxim Dounin <mdounin@mdounin.ru>
parents:
5146
diff
changeset
|
39 NGX_DEPS="\$(CORE_DEPS) \$(HTTP_DEPS)" \\ |
5143
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
40 $NGX_PERL Makefile.PL \\ |
6dd4875eb526
Configure: improved layout of the generated makefile.
Ruslan Ermilov <ru@nginx.com>
parents:
5070
diff
changeset
|
41 LIB=$NGX_PERL_MODULES \\ |
950
9581fba9ea12
fix for nginx.pm default installation
Igor Sysoev <igor@sysoev.ru>
parents:
948
diff
changeset
|
42 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN |
599 | 43 |
44 END |