Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / Makefile
blob499b85c983c2f5004b40edefd6e39c8c043c4375
1 #***************************************************************************
2 # _ _ ____ _
3 # Project ___| | | | _ \| |
4 # / __| | | | |_) | |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
8 # Copyright (C) 1998 - 2008, 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 # $Id: Makefile,v 1.1.1.1 2008-09-23 16:32:05 hoffman Exp $
22 ###########################################################################
24 VC=vc6
26 all:
27 ./configure
28 make
30 ssl:
31 ./configure --with-ssl
32 make
34 borland:
35 cd lib
36 make -f Makefile.b32
37 cd ..\src
38 make -f Makefile.b32
40 borland-ssl:
41 cd lib
42 make -f Makefile.b32 WITH_SSL=1
43 cd ..\src
44 make -f Makefile.b32 WITH_SSL=1
46 borland-ssl-zlib:
47 cd lib
48 make -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
49 cd ..\src
50 make -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
52 borland-clean:
53 cd lib
54 make -f Makefile.b32 clean
55 cd ..\src
56 make -f Makefile.b32 clean
58 watcom:
59 cd lib
60 wmake -f Makefile.Watcom
61 cd ..\src
62 wmake -f Makefile.Watcom
64 watcom-clean:
65 cd lib
66 wmake -f Makefile.Watcom clean
67 cd ..\src
68 wmake -f Makefile.Watcom clean
70 mingw32:
71 $(MAKE) -C lib -f Makefile.m32
72 $(MAKE) -C src -f Makefile.m32
74 mingw32-zlib:
75 $(MAKE) -C lib -f Makefile.m32 ZLIB=1
76 $(MAKE) -C src -f Makefile.m32 ZLIB=1
78 mingw32-ssl-zlib:
79 $(MAKE) -C lib -f Makefile.m32 SSL=1 ZLIB=1
80 $(MAKE) -C src -f Makefile.m32 SSL=1 ZLIB=1
82 mingw32-ssh2-ssl-zlib:
83 $(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
84 $(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
86 mingw32-ssh2-ssl-sspi-zlib:
87 $(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
88 $(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
90 mingw32-clean:
91 $(MAKE) -C lib -f Makefile.m32 clean
92 $(MAKE) -C src -f Makefile.m32 clean
94 vc-clean:
95 cd lib
96 nmake -f Makefile.$(VC) clean
97 cd ..\src
98 nmake -f Makefile.$(VC) clean
100 vc-all:
101 cd lib
102 nmake -f Makefile.$(VC) cfg=release
103 nmake -f Makefile.$(VC) cfg=release-ssl
104 nmake -f Makefile.$(VC) cfg=release-zlib
105 nmake -f Makefile.$(VC) cfg=release-ssl-zlib
106 nmake -f Makefile.$(VC) cfg=release-ssl-dll
107 nmake -f Makefile.$(VC) cfg=release-zlib-dll
108 nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
109 nmake -f Makefile.$(VC) cfg=release-dll
110 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll
111 nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll
112 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
113 nmake -f Makefile.$(VC) cfg=debug
114 nmake -f Makefile.$(VC) cfg=debug-ssl
115 nmake -f Makefile.$(VC) cfg=debug-zlib
116 nmake -f Makefile.$(VC) cfg=debug-ssl-zlib
117 nmake -f Makefile.$(VC) cfg=debug-ssl-dll
118 nmake -f Makefile.$(VC) cfg=debug-zlib-dll
119 nmake -f Makefile.$(VC) cfg=debug-ssl-dll-zlib-dll
120 nmake -f Makefile.$(VC) cfg=debug-dll
121 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll
122 nmake -f Makefile.$(VC) cfg=debug-dll-zlib-dll
123 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll-zlib-dll
126 cd lib
127 nmake /f Makefile.$(VC) cfg=release
128 cd ..\src
129 nmake /f Makefile.$(VC)
131 vc-x64:
132 cd lib
133 MACHINE=x64 nmake /f Makefile.$(VC) cfg=release
134 cd ..\src
135 MACHINE=x64 nmake /f Makefile.$(VC)
137 vc-zlib:
138 cd lib
139 nmake /f Makefile.$(VC) cfg=release-zlib
140 cd ..\src
141 nmake /f Makefile.$(VC) cfg=release-zlib
143 vc-ssl:
144 cd lib
145 nmake /f Makefile.$(VC) cfg=release-ssl
146 cd ..\src
147 nmake /f Makefile.$(VC) cfg=release-ssl
149 vc-ssl-zlib:
150 cd lib
151 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
152 cd ..\src
153 nmake /f Makefile.$(VC) cfg=release-ssl-zlib
155 vc-ssl-dll:
156 cd lib
157 nmake /f Makefile.$(VC) cfg=release-ssl-dll
158 cd ..\src
159 nmake /f Makefile.$(VC) cfg=release-ssl-dll
161 vc-dll-ssl-dll:
162 cd lib
163 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
164 cd ..\src
165 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
167 vc-dll:
168 cd lib
169 nmake /f Makefile.$(VC) cfg=release-dll
170 cd ..\src
171 nmake /f Makefile.$(VC) cfg=release-dll
173 vc-dll-zlib-dll:
174 cd lib
175 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
176 cd ..\src
177 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
179 vc-dll-ssl-dll-zlib-dll:
180 cd lib
181 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
182 cd ..\src
183 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
185 vc-ssl-dll-zlib-dll:
186 cd lib
187 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
188 cd ..\src
189 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
191 vc-zlib-dll:
192 cd lib
193 nmake /f Makefile.$(VC) cfg=release-zlib-dll
194 cd ..\src
195 nmake /f Makefile.$(VC) cfg=release-zlib-dll
197 vc-sspi:
198 cd lib
199 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
200 cd ..\src
201 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
203 djgpp:
204 $(MAKE) -C lib -f Makefile.dj
205 $(MAKE) -C src -f Makefile.dj
207 cygwin:
208 ./configure
209 make
211 cygwin-ssl:
212 ./configure --with-ssl
213 make
215 amiga:
216 cd ./lib && make -f makefile.amiga
217 cd ./src && make -f makefile.amiga
219 netware:
220 $(MAKE) -C lib -f Makefile.netware
221 $(MAKE) -C src -f Makefile.netware
223 netware-ares:
224 $(MAKE) -C lib -f Makefile.netware WITH_ARES=1
225 $(MAKE) -C src -f Makefile.netware WITH_ARES=1
227 netware-ssl:
228 $(MAKE) -C lib -f Makefile.netware WITH_SSL=1
229 $(MAKE) -C src -f Makefile.netware WITH_SSL=1
231 netware-ssl-zlib:
232 $(MAKE) -C lib -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
233 $(MAKE) -C src -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
235 netware-ssh2-ssl-zlib:
236 $(MAKE) -C lib -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
237 $(MAKE) -C src -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
239 netware-zlib:
240 $(MAKE) -C lib -f Makefile.netware WITH_ZLIB=1
241 $(MAKE) -C src -f Makefile.netware WITH_ZLIB=1
243 netware-clean:
244 $(MAKE) -C lib -f Makefile.netware clean
245 $(MAKE) -C src -f Makefile.netware clean
247 netware-install:
248 $(MAKE) -C lib -f Makefile.netware install
249 $(MAKE) -C src -f Makefile.netware install
251 unix: all
253 unix-ssl: ssl
255 linux: all
257 linux-ssl: ssl
259 vc8:
260 @echo "generate VC8 makefiles"
261 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" lib/Makefile.vc6 > lib/Makefile.vc8
262 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" src/Makefile.vc6 > src/Makefile.vc8
264 ca-bundle: lib/mk-ca-bundle.pl
265 @echo "generate a fresh ca-bundle.crt"
266 @perl $< -b -l -u lib/ca-bundle.crt
268 ca-firefox: lib/firefox-db2pem.sh
269 @echo "generate a fresh ca-bundle.crt"
270 ./lib/firefox-db2pem.sh lib/ca-bundle.crt