comparison misc/GNUmakefile @ 4842:d59fff553840

Helper target "win32" to run configure for win32 builds.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 11 Sep 2012 13:17:31 +0000
parents 117f3284e0de
children 762605076600
comparison
equal deleted inserted replaced
4841:95ce3172493e 4842:d59fff553840
80 rm -r $(TEMP)/$(NGINX)/docs 80 rm -r $(TEMP)/$(NGINX)/docs
81 rm -r $(TEMP)/$(NGINX)/misc 81 rm -r $(TEMP)/$(NGINX)/misc
82 82
83 tar -c -z -f $(NGINX).tar.gz --directory $(TEMP) $(NGINX) 83 tar -c -z -f $(NGINX).tar.gz --directory $(TEMP) $(NGINX)
84 84
85 win32:
86 ./auto/configure \
87 --with-cc=cl \
88 --builddir=${OBJS} \
89 --with-debug \
90 --prefix= \
91 --conf-path=conf/nginx.conf \
92 --pid-path=logs/nginx.pid \
93 --http-log-path=logs/access.log \
94 --error-log-path=logs/error.log \
95 --sbin-path=nginx.exe \
96 --http-client-body-temp-path=temp/client_body_temp \
97 --http-proxy-temp-path=temp/proxy_temp \
98 --http-fastcgi-temp-path=temp/fastcgi_temp \
99 --http-scgi-temp-path=temp/scgi_temp \
100 --http-uwsgi-temp-path=temp/uwsgi_temp \
101 --with-cc-opt=-DFD_SETSIZE=1024 \
102 --with-pcre=${OBJS}/lib/${PCRE} \
103 --with-zlib=${OBJS}/lib/${ZLIB} \
104 --with-select_module \
105 --with-http_realip_module \
106 --with-http_addition_module \
107 --with-http_sub_module \
108 --with-http_dav_module \
109 --with-http_stub_status_module \
110 --with-http_flv_module \
111 --with-http_mp4_module \
112 --with-http_gunzip_module \
113 --with-http_gzip_static_module \
114 --with-http_random_index_module \
115 --with-http_secure_link_module \
116 --with-mail \
117 --with-openssl=${OBJS}/lib/${OPENSSL} \
118 --with-openssl-opt=enable-tlsext \
119 --with-http_ssl_module \
120 --with-mail_ssl_module \
121 --with-ipv6
85 122
86 zip: 123 zip:
87 rm -rf $(TEMP) 124 rm -rf $(TEMP)
88 rm -f $(NGINX).zip 125 rm -f $(NGINX).zip
89 126