|
|
|
@ -187,26 +187,25 @@ export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) linux
|
|
|
|
@ -221,7 +220,7 @@ clean:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== TEST 3: --with-debug
|
|
|
|
|
=== TEST 3: --with-debug (standard lua)
|
|
|
|
|
--- cmd: ./configure --with-debug --dry-run
|
|
|
|
|
--- out
|
|
|
|
|
platform: linux (linux)
|
|
|
|
@ -240,22 +239,22 @@ cd nginx-1.0.4
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) linux
|
|
|
|
@ -287,41 +286,40 @@ platform: linux (linux)
|
|
|
|
|
cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd LuaJIT-2.0.0-beta8
|
|
|
|
|
make PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
make TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
|
|
|
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@ -336,41 +334,41 @@ platform: linux (linux)
|
|
|
|
|
cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd LuaJIT-2.0.0-beta8
|
|
|
|
|
make PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
make TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
|
|
|
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2 -O3' \
|
|
|
|
|
--with-cc-opt='-O3' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@ -385,41 +383,40 @@ platform: linux (linux)
|
|
|
|
|
cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd LuaJIT-2.0.0-beta8
|
|
|
|
|
make PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
make TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
|
|
|
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -llua' \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@ -434,40 +431,39 @@ platform: linux (linux)
|
|
|
|
|
cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd LuaJIT-2.0.0-beta8
|
|
|
|
|
make PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
make TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
|
|
|
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@ -483,25 +479,24 @@ cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
@ -528,26 +523,25 @@ export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/opt/blah/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/opt/blah/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) linux
|
|
|
|
@ -739,26 +733,25 @@ export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
|
|
|
@ -787,27 +780,26 @@ export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../drizzle-nginx-module-0.1.1rc1 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../drizzle-nginx-module-0.1.1rc2 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
|
|
|
@ -836,27 +828,26 @@ export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../drizzle-nginx-module-0.1.1rc1 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../drizzle-nginx-module-0.1.1rc2 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) solaris
|
|
|
|
@ -880,6 +871,7 @@ The http_drizzle_module is not enabled while --with-libdrizzle is specified.
|
|
|
|
|
--- exit: 255
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== TEST 16: ngx_drizzle enabled and --with-libdrizzle is specified
|
|
|
|
|
--- cmd: ./configure --with-libdrizzle=/opt/drizzle --with-http_drizzle_module --dry-run
|
|
|
|
|
--- out
|
|
|
|
@ -890,35 +882,34 @@ export LIBDRIZZLE_LIB='/opt/drizzle/lib'
|
|
|
|
|
export LIBDRIZZLE_INC='/opt/drizzle/include/libdrizzle-1.0'
|
|
|
|
|
cd lua-5.1.4
|
|
|
|
|
make linux
|
|
|
|
|
make install INSTALL_TOP=/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.0/build/lua-root/usr/local/openresty/lua
|
|
|
|
|
export LUA_LIB='/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.0/build/lua-root/usr/local/openresty/lua/lib'
|
|
|
|
|
export LUA_INC='/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.0/build/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
make install INSTALL_TOP=/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.1/build/lua-root/usr/local/openresty/lua
|
|
|
|
|
export LUA_LIB='/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.1/build/lua-root/usr/local/openresty/lua/lib'
|
|
|
|
|
export LUA_INC='/home/agentz/git/ngx_openresty/ngx_openresty-1.0.4.1/build/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-cc-opt='-O2' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.21 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc4 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../drizzle-nginx-module-0.1.1rc1 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.0 \
|
|
|
|
|
--add-module=../drizzle-nginx-module-0.1.1rc2 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.02 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.11 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath,/opt/drizzle/lib' \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- err
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) linux
|
|
|
|
@ -931,3 +922,150 @@ install:
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== TEST 17: --with-cc
|
|
|
|
|
--- cmd: ./configure --with-cc=gcc-4.2 --dry-run --platform=solaris
|
|
|
|
|
--- out
|
|
|
|
|
platform: solaris (solaris)
|
|
|
|
|
cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd lua-5.1.4
|
|
|
|
|
make CC=gcc-4.2 solaris
|
|
|
|
|
make install CC=gcc-4.2 INSTALL_TOP=$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua
|
|
|
|
|
export LUA_LIB='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/lib'
|
|
|
|
|
export LUA_INC='$OPENRESTY_BUILD_DIR/lua-root/usr/local/openresty/lua/include'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-cc=gcc-4.2 --with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) CC=gcc-4.2 solaris
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/lua-5.1.4 && $(MAKE) install CC=gcc-4.2 INSTALL_TOP=$(DESTDIR)/usr/local/openresty/lua
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== TEST 18: --with-debug & luajit
|
|
|
|
|
--- cmd: ./configure --with-luajit --with-debug --dry-run
|
|
|
|
|
--- out
|
|
|
|
|
platform: linux (linux)
|
|
|
|
|
cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd LuaJIT-2.0.0-beta8
|
|
|
|
|
make CCDEBUG=-g Q= PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install CCDEBUG=-g Q= PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
|
|
|
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-debug \
|
|
|
|
|
--with-cc-opt='-O0' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
|
|
|
|
--with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) CCDEBUG=-g Q= PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install CCDEBUG=-g Q= PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== TEST 19: --with-debug & luajit & --with-cc=cl
|
|
|
|
|
--- cmd: ./configure --with-luajit --with-debug --dry-run --with-cc=cl
|
|
|
|
|
--- out
|
|
|
|
|
platform: linux (linux)
|
|
|
|
|
cp -rp bundle/ build/
|
|
|
|
|
cd build
|
|
|
|
|
cd LuaJIT-2.0.0-beta8
|
|
|
|
|
make CCDEBUG=-g Q= HOST_CC=cl PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
make install CCDEBUG=-g Q= HOST_CC=cl PREFIX=/usr/local/openresty/luajit DESTDIR=$OPENRESTY_BUILD_DIR/luajit-root
|
|
|
|
|
export LUAJIT_LIB='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/lib'
|
|
|
|
|
export LUAJIT_INC='$OPENRESTY_BUILD_DIR/luajit-root/usr/local/openresty/luajit/include/luajit-2.0'
|
|
|
|
|
cd ..
|
|
|
|
|
cd nginx-1.0.4
|
|
|
|
|
./configure --prefix=/usr/local/openresty/nginx \
|
|
|
|
|
--with-debug \
|
|
|
|
|
--with-cc-opt='-O0' \
|
|
|
|
|
--add-module=../echo-nginx-module-0.37rc1 \
|
|
|
|
|
--add-module=../xss-nginx-module-0.03rc3 \
|
|
|
|
|
--add-module=../ngx_devel_kit-0.2.17 \
|
|
|
|
|
--add-module=../set-misc-nginx-module-0.22rc1 \
|
|
|
|
|
--add-module=../form-input-nginx-module-0.07rc5 \
|
|
|
|
|
--add-module=../encrypted-session-nginx-module-0.01 \
|
|
|
|
|
--add-module=../ngx_lua-0.2.1rc2 \
|
|
|
|
|
--add-module=../headers-more-nginx-module-0.15 \
|
|
|
|
|
--add-module=../srcache-nginx-module-0.12 \
|
|
|
|
|
--add-module=../array-var-nginx-module-0.03rc1 \
|
|
|
|
|
--add-module=../memc-nginx-module-0.12 \
|
|
|
|
|
--add-module=../redis2-nginx-module-0.07 \
|
|
|
|
|
--add-module=../upstream-keepalive-nginx-module-0.3 \
|
|
|
|
|
--add-module=../auth-request-nginx-module-0.2 \
|
|
|
|
|
--add-module=../rds-json-nginx-module-0.12rc1 \
|
|
|
|
|
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib' \
|
|
|
|
|
--with-cc=cl --with-http_ssl_module
|
|
|
|
|
cd ../..
|
|
|
|
|
--- makefile
|
|
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) CCDEBUG=-g Q= HOST_CC=cl PREFIX=/usr/local/openresty/luajit
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
cd build/LuaJIT-2.0.0-beta8 && $(MAKE) install CCDEBUG=-g Q= HOST_CC=cl PREFIX=/usr/local/openresty/luajit DESTDIR=$(DESTDIR)
|
|
|
|
|
cd build/nginx-1.0.4 && $(MAKE) install DESTDIR=$(DESTDIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf build
|
|
|
|
|
|
|
|
|
|