go (1344:da88d2612f96) go (1880:00dc6b211906)
1
2# Copyright (C) Max Romanov
3# Copyright (C) NGINX, Inc.
4
5
6shift
7
8NXT_GO=go

--- 97 unchanged lines hidden (view full) ---

106
107NXT_GO_DST = ${NXT_GO_PATH%%:*}
108
109install: ${NXT_GO}-install
110
111${NXT_GO}:
112
113${NXT_GO}-install: ${NXT_GO}-install-src ${NXT_GO}-install-env
1
2# Copyright (C) Max Romanov
3# Copyright (C) NGINX, Inc.
4
5
6shift
7
8NXT_GO=go

--- 97 unchanged lines hidden (view full) ---

106
107NXT_GO_DST = ${NXT_GO_PATH%%:*}
108
109install: ${NXT_GO}-install
110
111${NXT_GO}:
112
113${NXT_GO}-install: ${NXT_GO}-install-src ${NXT_GO}-install-env
114 GOPATH=\$(DESTDIR)\$(GOPATH) ${NXT_GO} build ${NXT_GO_PKG}
114 GOPATH=\$(DESTDIR)\$(GOPATH) GO111MODULE=auto ${NXT_GO} build ${NXT_GO_PKG}
115
116${NXT_GO}-install-src:
117 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
118 install -p -m644 ./go/* \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/
119
120${NXT_GO}-install-env: \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go \
121 ${NXT_VERSION_H} ${NXT_BUILD_DIR}/${NXT_LIB_UNIT_STATIC}
122

--- 18 unchanged lines hidden ---
115
116${NXT_GO}-install-src:
117 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
118 install -p -m644 ./go/* \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/
119
120${NXT_GO}-install-env: \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go \
121 ${NXT_VERSION_H} ${NXT_BUILD_DIR}/${NXT_LIB_UNIT_STATIC}
122

--- 18 unchanged lines hidden ---