summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2018-08-06 17:27:33 +0300
committerMax Romanov <max.romanov@nginx.com>2018-08-06 17:27:33 +0300
commit1bb22d1e922c87d3c86c67bdce626767ee48fb5c (patch)
tree6e067a82b309c3a0d0f592f037f26d886a7f8c13 /auto/modules
parentb6ce2da65c9c5229d744b2d964623b2d0f731ee9 (diff)
downloadunit-1bb22d1e922c87d3c86c67bdce626767ee48fb5c.tar.gz
unit-1bb22d1e922c87d3c86c67bdce626767ee48fb5c.tar.bz2
Unit application library.
Library now used in all language modules. Old 'nxt_app_*' code removed. See src/test/nxt_unit_app_test.c for usage sample.
Diffstat (limited to '')
-rw-r--r--auto/modules/go1
-rw-r--r--auto/modules/perl2
-rw-r--r--auto/modules/php2
-rw-r--r--auto/modules/python2
-rw-r--r--auto/modules/ruby2
5 files changed, 5 insertions, 4 deletions
diff --git a/auto/modules/go b/auto/modules/go
index 68eb7d4a..7abd1e73 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -106,6 +106,7 @@ ${NXT_GO}-install: ${NXT_GO}-install-build
${NXT_GO}-install-src:
install -d \$(DESTDIR)\$(NXT_GO_DST)/src/nginx/unit
install -p -m644 ./src/*.h ./build/*.h ./src/go/unit/* \
+ ./src/nxt_unit.c ./src/nxt_lvlhsh.c ./src/nxt_murmur_hash.c \
\$(DESTDIR)\$(NXT_GO_DST)/src/nginx/unit/
${NXT_GO}-install-build: ${NXT_GO}-install-src
diff --git a/auto/modules/perl b/auto/modules/perl
index 4d59873e..35d4f5fb 100644
--- a/auto/modules/perl
+++ b/auto/modules/perl
@@ -155,7 +155,7 @@ NXT_PERL_MODULE_SRCS=" \
# The Perl module object files.
-nxt_objs=
+nxt_objs=$NXT_BUILD_DIR/src/nxt_unit.o
for nxt_src in $NXT_PERL_MODULE_SRCS; do
diff --git a/auto/modules/php b/auto/modules/php
index 2fee49d3..762c1621 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -167,7 +167,7 @@ NXT_PHP_MODULE_SRCS=" \
# The php module object files.
-nxt_objs=
+nxt_objs=$NXT_BUILD_DIR/src/nxt_unit.o
for nxt_src in $NXT_PHP_MODULE_SRCS; do
diff --git a/auto/modules/python b/auto/modules/python
index f8221915..e298f5b9 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -137,7 +137,7 @@ NXT_PYTHON_MODULE_SRCS=" \
# The python module object files.
-nxt_objs=
+nxt_objs=$NXT_BUILD_DIR/src/nxt_unit.o
for nxt_src in $NXT_PYTHON_MODULE_SRCS; do
diff --git a/auto/modules/ruby b/auto/modules/ruby
index 971d3aeb..05072353 100644
--- a/auto/modules/ruby
+++ b/auto/modules/ruby
@@ -129,7 +129,7 @@ NXT_RUBY_MODULE_SRCS=" \
# The Ruby module object files.
-nxt_objs=
+nxt_objs=$NXT_BUILD_DIR/src/nxt_unit.o
for nxt_src in $NXT_RUBY_MODULE_SRCS; do