From 1bb22d1e922c87d3c86c67bdce626767ee48fb5c Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Mon, 6 Aug 2018 17:27:33 +0300 Subject: 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. --- auto/modules/go | 1 + auto/modules/perl | 2 +- auto/modules/php | 2 +- auto/modules/python | 2 +- auto/modules/ruby | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) (limited to 'auto/modules') 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 -- cgit