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
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) cfg=release-ssl
143 nmake /f Makefile.$(VC) cfg=release-ssl
147 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
149 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
151 vc-x64-ssl-zlib: $(VC)
153 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
155 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
159 nmake /f Makefile.$(VC) cfg=release-ssl-dll
161 nmake /f Makefile.$(VC) cfg=release-ssl-dll
163 vc-dll-ssl-dll: $(VC)
165 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
167 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
171 nmake /f Makefile.$(VC) cfg=release-dll
173 nmake /f Makefile.$(VC) cfg=release-dll
175 vc-dll-zlib-dll: $(VC)
177 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
179 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
181 vc-dll-ssl-dll-zlib-dll: $(VC)
183 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
185 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
187 vc-ssl-dll-zlib-dll: $(VC)
189 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
191 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
195 nmake /f Makefile.$(VC) cfg=release-zlib-dll
197 nmake /f Makefile.$(VC) cfg=release-zlib-dll
201 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
203 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
206 $(MAKE) -C lib -f Makefile.dj
207 $(MAKE) -C src -f Makefile.dj
214 ./configure --with-ssl
218 cd ./lib && make -f makefile.amiga
219 cd ./src && make -f makefile.amiga
222 $(MAKE) -C lib -f Makefile.netware
223 $(MAKE) -C src -f Makefile.netware
226 $(MAKE) -C lib -f Makefile.netware clean
227 $(MAKE) -C src -f Makefile.netware clean
228 $(MAKE) -C docs/examples -f Makefile.netware clean
230 netware-vclean netware-distclean:
231 $(MAKE) -C lib -f Makefile.netware vclean
232 $(MAKE) -C src -f Makefile.netware vclean
233 $(MAKE) -C docs/examples -f Makefile.netware vclean
236 $(MAKE) -C lib -f Makefile.netware install
237 $(MAKE) -C src -f Makefile.netware install
240 $(MAKE) -C docs/examples -f Makefile.netware CFG=$@
243 $(MAKE) -C lib -f Makefile.netware CFG=$@
244 $(MAKE) -C src -f Makefile.netware CFG=$@
254 # We don't need to do anything for vc6.
257 vc8: lib/Makefile.vc8 src/Makefile.vc8
259 lib/Makefile.vc8: lib/Makefile.vc6
261 @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
263 src/Makefile.vc8: src/Makefile.vc6
265 @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
267 # VC9 makefiles are for use with VS2008
268 vc9: lib/Makefile.vc9 src/Makefile.vc9
270 lib/Makefile.vc9: lib/Makefile.vc6
272 @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
274 src/Makefile.vc9: src/Makefile.vc6
276 @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
278 # VC10 makefiles are for use with VS2010
279 vc10: lib/Makefile.vc10 src/Makefile.vc10
281 lib/Makefile.vc10: lib/Makefile.vc6
283 @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
285 src/Makefile.vc10: src/Makefile.vc6
287 @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
289 ca-bundle: lib/mk-ca-bundle.pl
290 @echo "generate a fresh ca-bundle.crt"
291 @perl $< -b -l -u lib/ca-bundle.crt
293 ca-firefox: lib/firefox-db2pem.sh
294 @echo "generate a fresh ca-bundle.crt"
295 ./lib/firefox-db2pem.sh lib/ca-bundle.crt