diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-31 00:42:16 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-31 00:42:16 +0300 |
commit | f0e9e3ace94c82fab78ab1d4ee8c3042f3e94fdf (patch) | |
tree | 74fab38d3799598febc98aaabb0f5902d7dc5a0e /auto/modules/go | |
parent | 61606835448554a7ee9a4431d732e1f2a9318376 (diff) | |
download | unit-f0e9e3ace94c82fab78ab1d4ee8c3042f3e94fdf.tar.gz unit-f0e9e3ace94c82fab78ab1d4ee8c3042f3e94fdf.tar.bz2 |
nginext has been renamed to unit.
Diffstat (limited to '')
-rw-r--r-- | auto/modules/go | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/auto/modules/go b/auto/modules/go index 748b8c8d..f8a3ea6c 100644 --- a/auto/modules/go +++ b/auto/modules/go @@ -97,24 +97,23 @@ GOARCH = `${NXT_GO} env GOARCH` ${NXT_GO}: $NXT_BUILD_DIR/nxt_go_gen.h -$NXT_BUILD_DIR/nxt_go_gen.h: +$NXT_BUILD_DIR/nxt_go_gen.h: src/go/unit/*.go GOPATH=`pwd` \\ CGO_CPPFLAGS='-DNXT_CONFIGURE \\ -I`pwd`/src' \\ ${NXT_GO} build -o $NXT_BUILD_DIR/nxt_go_gen.a \\ - --buildmode=c-archive nginext + --buildmode=c-archive go/unit ${NXT_GO}-install: ${NXT_GO} - install -d \$(GOPATH)/src/nginext - install -p ./src/nginext/*.c ./src/nginext/*.h \\ - ./src/nginext/*.go \$(GOPATH)/src/nginext/ + install -d \$(GOPATH)/src/unit + install -p ./src/go/unit/* \$(GOPATH)/src/unit/ CGO_CFLAGS="-I\$(NXT_ROOT)/$NXT_BUILD_DIR -I\$(NXT_ROOT)/src" \\ CGO_LDFLAGS="-L\$(NXT_ROOT)/$NXT_BUILD_DIR ${NXT_LIBRT}" \\ GOPATH=$NXT_GO_PATH \\ - ${NXT_GO} install -v nginext + ${NXT_GO} install -v unit ${NXT_GO}-uninstall: - rm -rf \$(GOPATH)/src/nginext - rm -f \$(GOPATH)/pkg/\$(GOOS)_\$(GOARCH)/nginext.a + rm -rf \$(GOPATH)/src/unit + rm -f \$(GOPATH)/pkg/\$(GOOS)_\$(GOARCH)/unit.a END |