1 #***************************************************************************
3 # Project ___| | | | _ \| |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
8 # Copyright (C) 1998 - 2010, 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
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 ZLIB=1
75 $(MAKE) -C src -f Makefile.m32 ZLIB=1
78 $(MAKE) -C lib -f Makefile.m32 SSL=1 ZLIB=1
79 $(MAKE) -C src -f Makefile.m32 SSL=1 ZLIB=1
81 mingw32-ssh2-ssl-zlib:
82 $(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
83 $(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
85 mingw32-ssh2-ssl-sspi-zlib:
86 $(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
87 $(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
89 mingw32-rtmp-ssh2-ssl-sspi-zlib:
90 $(MAKE) -C lib -f Makefile.m32 RTMP=1 SSH2=1 SSL=1 SSPI=1 ZLIB=1
91 $(MAKE) -C src -f Makefile.m32 RTMP=1 SSH2=1 SSL=1 SSPI=1 ZLIB=1
94 $(MAKE) -C lib -f Makefile.m32 clean
95 $(MAKE) -C src -f Makefile.m32 clean
99 nmake -f Makefile.$(VC) clean
101 nmake -f Makefile.$(VC) clean
105 nmake -f Makefile.$(VC) cfg=release
106 nmake -f Makefile.$(VC) cfg=release-ssl
107 nmake -f Makefile.$(VC) cfg=release-zlib
108 nmake -f Makefile.$(VC) cfg=release-ssl-zlib
109 nmake -f Makefile.$(VC) cfg=release-ssl-dll
110 nmake -f Makefile.$(VC) cfg=release-zlib-dll
111 nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
112 nmake -f Makefile.$(VC) cfg=release-dll
113 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll
114 nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll
115 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
116 nmake -f Makefile.$(VC) cfg=debug
117 nmake -f Makefile.$(VC) cfg=debug-ssl
118 nmake -f Makefile.$(VC) cfg=debug-zlib
119 nmake -f Makefile.$(VC) cfg=debug-ssl-zlib
120 nmake -f Makefile.$(VC) cfg=debug-ssl-dll
121 nmake -f Makefile.$(VC) cfg=debug-zlib-dll
122 nmake -f Makefile.$(VC) cfg=debug-ssl-dll-zlib-dll
123 nmake -f Makefile.$(VC) cfg=debug-dll
124 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll
125 nmake -f Makefile.$(VC) cfg=debug-dll-zlib-dll
126 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll-zlib-dll
130 nmake /f Makefile.$(VC) cfg=release
132 nmake /f Makefile.$(VC)
136 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
138 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
142 nmake /f Makefile.$(VC) cfg=release-zlib
144 nmake /f Makefile.$(VC) cfg=release-zlib
148 nmake /f Makefile.$(VC) cfg=release-ssl
150 nmake /f Makefile.$(VC) cfg=release-ssl
154 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
156 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
158 vc-x64-ssl-zlib: $(VC)
160 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
162 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
166 nmake /f Makefile.$(VC) cfg=release-ssl-dll
168 nmake /f Makefile.$(VC) cfg=release-ssl-dll
170 vc-dll-ssl-dll: $(VC)
172 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
174 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
178 nmake /f Makefile.$(VC) cfg=release-dll
180 nmake /f Makefile.$(VC) cfg=release-dll
182 vc-dll-zlib-dll: $(VC)
184 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
186 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
188 vc-dll-ssl-dll-zlib-dll: $(VC)
190 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
192 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
194 vc-ssl-dll-zlib-dll: $(VC)
196 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
198 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
202 nmake /f Makefile.$(VC) cfg=release-zlib-dll
204 nmake /f Makefile.$(VC) cfg=release-zlib-dll
208 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
210 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
213 $(MAKE) -C lib -f Makefile.dj
214 $(MAKE) -C src -f Makefile.dj
221 ./configure --with-ssl
225 cd ./lib && make -f makefile.amiga
226 cd ./src && make -f makefile.amiga
229 $(MAKE) -C lib -f Makefile.netware
230 $(MAKE) -C src -f Makefile.netware
233 $(MAKE) -C lib -f Makefile.netware WITH_ARES=1
234 $(MAKE) -C src -f Makefile.netware WITH_ARES=1
237 $(MAKE) -C lib -f Makefile.netware WITH_SSL=1
238 $(MAKE) -C src -f Makefile.netware WITH_SSL=1
241 $(MAKE) -C lib -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
242 $(MAKE) -C src -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
244 netware-ssh2-ssl-zlib:
245 $(MAKE) -C lib -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
246 $(MAKE) -C src -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
249 $(MAKE) -C lib -f Makefile.netware WITH_ZLIB=1
250 $(MAKE) -C src -f Makefile.netware WITH_ZLIB=1
253 $(MAKE) -C lib -f Makefile.netware clean
254 $(MAKE) -C src -f Makefile.netware clean
257 $(MAKE) -C lib -f Makefile.netware install
258 $(MAKE) -C src -f Makefile.netware install
268 # We don't need to do anything for vc6.
271 vc8: lib/Makefile.vc8 src/Makefile.vc8
273 lib/Makefile.vc8: lib/Makefile.vc6
275 @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
277 src/Makefile.vc8: src/Makefile.vc6
279 @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
281 # VC9 makefiles are for use with VS2008
282 vc9: lib/Makefile.vc9 src/Makefile.vc9
284 lib/Makefile.vc9: lib/Makefile.vc6
286 @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
288 src/Makefile.vc9: src/Makefile.vc6
290 @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
292 # VC10 makefiles are for use with VS2010
293 vc10: lib/Makefile.vc10 src/Makefile.vc10
295 lib/Makefile.vc10: lib/Makefile.vc6
297 @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
299 src/Makefile.vc10: src/Makefile.vc6
301 @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
303 ca-bundle: lib/mk-ca-bundle.pl
304 @echo "generate a fresh ca-bundle.crt"
305 @perl $< -b -l -u lib/ca-bundle.crt
307 ca-firefox: lib/firefox-db2pem.sh
308 @echo "generate a fresh ca-bundle.crt"
309 ./lib/firefox-db2pem.sh lib/ca-bundle.crt