1 #***************************************************************************
3 # Project ___| | | | _ \| |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
8 # Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
10 # This software is licensed as described in the file COPYING, which
11 # you should have received as part of this distribution. The terms
12 # are also available at http://curl.haxx.se/docs/copyright.html.
14 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 # copies of the Software, and permit persons to whom the Software is
16 # furnished to do so, under the terms of the COPYING file.
18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 # KIND, either express or implied.
21 ###########################################################################
30 ./configure --with-ssl
35 $(MAKE) -f Makefile.b32
37 $(MAKE) -f Makefile.b32
41 $(MAKE) -f Makefile.b32 WITH_SSL=1
43 $(MAKE) -f Makefile.b32 WITH_SSL=1
47 $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
49 $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
53 $(MAKE) -f Makefile.b32 clean
55 $(MAKE) -f Makefile.b32 clean
58 cd lib && $(MAKE) -u -f Makefile.Watcom
59 cd src && $(MAKE) -u -f Makefile.Watcom
61 watcom-clean: .SYMBOLIC
62 cd lib && $(MAKE) -u -f Makefile.Watcom clean
63 cd src && $(MAKE) -u -f Makefile.Watcom clean
65 watcom-vclean: .SYMBOLIC
66 cd lib && $(MAKE) -u -f Makefile.Watcom vclean
67 cd src && $(MAKE) -u -f Makefile.Watcom vclean
70 $(MAKE) -C lib -f Makefile.m32
71 $(MAKE) -C src -f Makefile.m32
74 $(MAKE) -C lib -f Makefile.m32 clean
75 $(MAKE) -C src -f Makefile.m32 clean
76 $(MAKE) -C docs/examples -f Makefile.m32 clean
78 mingw32-vclean mingw32-distclean:
79 $(MAKE) -C lib -f Makefile.m32 vclean
80 $(MAKE) -C src -f Makefile.m32 vclean
81 $(MAKE) -C docs/examples -f Makefile.m32 vclean
84 $(MAKE) -C docs/examples -f Makefile.m32 CFG=$@
87 $(MAKE) -C lib -f Makefile.m32 CFG=$@
88 $(MAKE) -C src -f Makefile.m32 CFG=$@
92 nmake -f Makefile.$(VC) clean
94 nmake -f Makefile.$(VC) clean
98 nmake -f Makefile.$(VC) cfg=release
99 nmake -f Makefile.$(VC) cfg=release-ssl
100 nmake -f Makefile.$(VC) cfg=release-zlib
101 nmake -f Makefile.$(VC) cfg=release-ssl-zlib
102 nmake -f Makefile.$(VC) cfg=release-ssl-dll
103 nmake -f Makefile.$(VC) cfg=release-zlib-dll
104 nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
105 nmake -f Makefile.$(VC) cfg=release-dll
106 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll
107 nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll
108 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
109 nmake -f Makefile.$(VC) cfg=debug
110 nmake -f Makefile.$(VC) cfg=debug-ssl
111 nmake -f Makefile.$(VC) cfg=debug-zlib
112 nmake -f Makefile.$(VC) cfg=debug-ssl-zlib
113 nmake -f Makefile.$(VC) cfg=debug-ssl-dll
114 nmake -f Makefile.$(VC) cfg=debug-zlib-dll
115 nmake -f Makefile.$(VC) cfg=debug-ssl-dll-zlib-dll
116 nmake -f Makefile.$(VC) cfg=debug-dll
117 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll
118 nmake -f Makefile.$(VC) cfg=debug-dll-zlib-dll
119 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll-zlib-dll
123 nmake /f Makefile.$(VC) cfg=release
125 nmake /f Makefile.$(VC)
129 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
131 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
135 nmake /f Makefile.$(VC) cfg=release-zlib
137 nmake /f Makefile.$(VC) cfg=release-zlib
141 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib
143 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib
147 nmake /f Makefile.$(VC) cfg=release-ssl
149 nmake /f Makefile.$(VC) cfg=release-ssl
153 nmake /f Makefile.$(VC) cfg=release-winssl WINDOWS_SSPI=1
155 nmake /f Makefile.$(VC) cfg=release-winssl WINDOWS_SSPI=1
159 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl
161 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl
165 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl WINDOWS_SSPI=1
167 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl WINDOWS_SSPI=1
171 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
173 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
175 vc-winssl-zlib: $(VC)
177 nmake /f Makefile.$(VC) cfg=release-winssl-zlib
179 nmake /f Makefile.$(VC) cfg=release-winssl-zlib
181 vc-x64-ssl-zlib: $(VC)
183 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
185 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
187 vc-x64-winssl-zlib: $(VC)
189 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl-zlib
191 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl-zlib
195 nmake /f Makefile.$(VC) cfg=release-ssl-dll
197 nmake /f Makefile.$(VC) cfg=release-ssl-dll
199 vc-dll-ssl-dll: $(VC)
201 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
203 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
207 nmake /f Makefile.$(VC) cfg=release-dll
209 nmake /f Makefile.$(VC) cfg=release-dll
211 vc-dll-zlib-dll: $(VC)
213 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
215 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
217 vc-dll-ssl-dll-zlib-dll: $(VC)
219 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
221 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
223 vc-ssl-dll-zlib-dll: $(VC)
225 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
227 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
231 nmake /f Makefile.$(VC) cfg=release-zlib-dll
233 nmake /f Makefile.$(VC) cfg=release-zlib-dll
237 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
239 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
242 $(MAKE) -C lib -f Makefile.dj
243 $(MAKE) -C src -f Makefile.dj
250 ./configure --with-ssl
254 cd ./lib && make -f makefile.amiga
255 cd ./src && make -f makefile.amiga
258 $(MAKE) -C lib -f Makefile.netware
259 $(MAKE) -C src -f Makefile.netware
262 $(MAKE) -C lib -f Makefile.netware clean
263 $(MAKE) -C src -f Makefile.netware clean
264 $(MAKE) -C docs/examples -f Makefile.netware clean
266 netware-vclean netware-distclean:
267 $(MAKE) -C lib -f Makefile.netware vclean
268 $(MAKE) -C src -f Makefile.netware vclean
269 $(MAKE) -C docs/examples -f Makefile.netware vclean
272 $(MAKE) -C lib -f Makefile.netware install
273 $(MAKE) -C src -f Makefile.netware install
276 $(MAKE) -C docs/examples -f Makefile.netware CFG=$@
279 $(MAKE) -C lib -f Makefile.netware CFG=$@
280 $(MAKE) -C src -f Makefile.netware CFG=$@
290 # We don't need to do anything for vc6.
293 # VC7 makefiles are for use with VS.NET and VS.NET 2003
294 vc7: lib/Makefile.vc7 src/Makefile.vc7
296 lib/Makefile.vc7: lib/Makefile.vc6
298 @sed -e "s/VC6/VC7/g" lib/Makefile.vc6 > lib/Makefile.vc7
300 src/Makefile.vc7: src/Makefile.vc6
302 @sed -e "s/VC6/VC7/g" src/Makefile.vc6 > src/Makefile.vc7
304 # VC8 makefiles are for use with VS2005
305 vc8: lib/Makefile.vc8 src/Makefile.vc8
307 lib/Makefile.vc8: lib/Makefile.vc6
309 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" lib/Makefile.vc6 > lib/Makefile.vc8
311 src/Makefile.vc8: src/Makefile.vc6
313 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" src/Makefile.vc6 > src/Makefile.vc8
315 # VC9 makefiles are for use with VS2008
316 vc9: lib/Makefile.vc9 src/Makefile.vc9
318 lib/Makefile.vc9: lib/Makefile.vc6
320 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" lib/Makefile.vc6 > lib/Makefile.vc9
322 src/Makefile.vc9: src/Makefile.vc6
324 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" src/Makefile.vc6 > src/Makefile.vc9
326 # VC10 makefiles are for use with VS2010
327 vc10: lib/Makefile.vc10 src/Makefile.vc10
329 lib/Makefile.vc10: lib/Makefile.vc6
331 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc10/g" -e "s/VC6/VC10/g" lib/Makefile.vc6 > lib/Makefile.vc10
333 src/Makefile.vc10: src/Makefile.vc6
335 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc10/g" -e "s/VC6/VC10/g" src/Makefile.vc6 > src/Makefile.vc10
337 # VC11 makefiles are for use with VS2012
338 vc11: lib/Makefile.vc11 src/Makefile.vc11
340 lib/Makefile.vc11: lib/Makefile.vc6
342 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc11/g" -e "s/VC6/VC11/g" lib/Makefile.vc6 > lib/Makefile.vc11
344 src/Makefile.vc11: src/Makefile.vc6
346 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc11/g" -e "s/VC6/VC11/g" src/Makefile.vc6 > src/Makefile.vc11
348 # VC12 makefiles are for use with VS2013
349 vc12: lib/Makefile.vc12 src/Makefile.vc12
351 lib/Makefile.vc12: lib/Makefile.vc6
353 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc12/g" -e "s/VC6/VC12/g" lib/Makefile.vc6 > lib/Makefile.vc12
355 src/Makefile.vc12: src/Makefile.vc6
357 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc12/g" -e "s/VC6/VC12/g" src/Makefile.vc6 > src/Makefile.vc12
359 ca-bundle: lib/mk-ca-bundle.pl
360 @echo "generate a fresh ca-bundle.crt"
361 @perl $< -b -l -u lib/ca-bundle.crt
363 ca-firefox: lib/firefox-db2pem.sh
364 @echo "generate a fresh ca-bundle.crt"
365 ./lib/firefox-db2pem.sh lib/ca-bundle.crt