]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/Makefile.dist
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / Makefile.dist
1 #***************************************************************************
2 #                                  _   _ ____  _
3 #  Project                     ___| | | |  _ \| |
4 #                             / __| | | | |_) | |
5 #                            | (__| |_| |  _ <| |___
6 #                             \___|\___/|_| \_\_____|
7 #
8 # Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
9 #
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.
13 #
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.
17 #
18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 # KIND, either express or implied.
20 #
21 ###########################################################################
22
23 VC=vc6
24
25 all:
26         ./configure
27         make
28
29 ssl:
30         ./configure --with-ssl
31         make
32
33 borland:
34         cd lib
35         $(MAKE) -f Makefile.b32
36         cd ..\src
37         $(MAKE) -f Makefile.b32
38
39 borland-ssl:
40         cd lib
41         $(MAKE) -f Makefile.b32 WITH_SSL=1
42         cd ..\src
43         $(MAKE) -f Makefile.b32 WITH_SSL=1
44
45 borland-ssl-zlib:
46         cd lib
47         $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
48         cd ..\src
49         $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
50
51 borland-clean:
52         cd lib
53         $(MAKE) -f Makefile.b32 clean
54         cd ..\src
55         $(MAKE) -f Makefile.b32 clean
56
57 watcom: .SYMBOLIC
58         cd lib && $(MAKE) -u -f Makefile.Watcom
59         cd src && $(MAKE) -u -f Makefile.Watcom
60
61 watcom-clean: .SYMBOLIC
62         cd lib && $(MAKE) -u -f Makefile.Watcom clean
63         cd src && $(MAKE) -u -f Makefile.Watcom clean
64
65 watcom-vclean: .SYMBOLIC
66         cd lib && $(MAKE) -u -f Makefile.Watcom vclean
67         cd src && $(MAKE) -u -f Makefile.Watcom vclean
68
69 mingw32:
70         $(MAKE) -C lib -f Makefile.m32
71         $(MAKE) -C src -f Makefile.m32
72
73 mingw32-clean:
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
77
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
82
83 mingw32-examples%:
84         $(MAKE) -C docs/examples -f Makefile.m32 CFG=$@
85
86 mingw32%:
87         $(MAKE) -C lib -f Makefile.m32 CFG=$@
88         $(MAKE) -C src -f Makefile.m32 CFG=$@
89
90 vc-clean: $(VC)
91         cd lib
92         nmake -f Makefile.$(VC) clean
93         cd ..\src
94         nmake -f Makefile.$(VC) clean
95
96 vc-all: $(VC)
97         cd lib
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
120
121 vc: $(VC)
122         cd lib
123         nmake /f Makefile.$(VC) cfg=release
124         cd ..\src
125         nmake /f Makefile.$(VC)
126
127 vc-x64: $(VC)
128         cd lib
129         nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
130         cd ..\src
131         nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
132
133 vc-zlib: $(VC)
134         cd lib
135         nmake /f Makefile.$(VC) cfg=release-zlib
136         cd ..\src
137         nmake /f Makefile.$(VC) cfg=release-zlib
138
139 vc-ssl: $(VC)
140         cd lib
141         nmake /f Makefile.$(VC) cfg=release-ssl
142         cd ..\src
143         nmake /f Makefile.$(VC) cfg=release-ssl
144
145 vc-ssl-zlib: $(VC)
146         cd lib
147         nmake /f Makefile.$(VC) cfg=release-ssl-zlib
148         cd ..\src
149         nmake /f Makefile.$(VC) cfg=release-ssl-zlib
150
151 vc-x64-ssl-zlib: $(VC)
152         cd lib
153         nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
154         cd ..\src
155         nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
156
157 vc-ssl-dll: $(VC)
158         cd lib
159         nmake /f Makefile.$(VC) cfg=release-ssl-dll
160         cd ..\src
161         nmake /f Makefile.$(VC) cfg=release-ssl-dll
162
163 vc-dll-ssl-dll: $(VC)
164         cd lib
165         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
166         cd ..\src
167         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
168
169 vc-dll: $(VC)
170         cd lib
171         nmake /f Makefile.$(VC) cfg=release-dll
172         cd ..\src
173         nmake /f Makefile.$(VC) cfg=release-dll
174
175 vc-dll-zlib-dll: $(VC)
176         cd lib
177         nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
178         cd ..\src
179         nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
180
181 vc-dll-ssl-dll-zlib-dll: $(VC)
182         cd lib
183         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
184         cd ..\src
185         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
186
187 vc-ssl-dll-zlib-dll: $(VC)
188         cd lib
189         nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
190         cd ..\src
191         nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
192
193 vc-zlib-dll: $(VC)
194         cd lib
195         nmake /f Makefile.$(VC) cfg=release-zlib-dll
196         cd ..\src
197         nmake /f Makefile.$(VC) cfg=release-zlib-dll
198
199 vc-sspi: $(VC)
200         cd lib
201         nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
202         cd ..\src
203         nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
204
205 djgpp:
206         $(MAKE) -C lib -f Makefile.dj
207         $(MAKE) -C src -f Makefile.dj
208
209 cygwin:
210         ./configure
211         make
212
213 cygwin-ssl:
214         ./configure --with-ssl
215         make
216
217 amiga:
218         cd ./lib && make -f makefile.amiga
219         cd ./src && make -f makefile.amiga
220
221 netware:
222         $(MAKE) -C lib -f Makefile.netware
223         $(MAKE) -C src -f Makefile.netware
224
225 netware-clean:
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
229
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
234
235 netware-install:
236         $(MAKE) -C lib -f Makefile.netware install
237         $(MAKE) -C src -f Makefile.netware install
238
239 netware-examples-%:
240         $(MAKE) -C docs/examples -f Makefile.netware CFG=$@
241
242 netware-%:
243         $(MAKE) -C lib -f Makefile.netware CFG=$@
244         $(MAKE) -C src -f Makefile.netware CFG=$@
245
246 unix: all
247
248 unix-ssl: ssl
249
250 linux: all
251
252 linux-ssl: ssl
253
254 # We don't need to do anything for vc6.
255 vc6:
256
257 vc8: lib/Makefile.vc8 src/Makefile.vc8
258
259 lib/Makefile.vc8: lib/Makefile.vc6
260         @echo "generate $@"
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
262
263 src/Makefile.vc8: src/Makefile.vc6
264         @echo "generate $@"
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
266
267 # VC9 makefiles are for use with VS2008
268 vc9: lib/Makefile.vc9 src/Makefile.vc9
269
270 lib/Makefile.vc9: lib/Makefile.vc6
271         @echo "generate $@"
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
273
274 src/Makefile.vc9: src/Makefile.vc6
275         @echo "generate $@"
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
277
278 # VC10 makefiles are for use with VS2010
279 vc10: lib/Makefile.vc10 src/Makefile.vc10
280
281 lib/Makefile.vc10: lib/Makefile.vc6
282         @echo "generate $@"
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
284
285 src/Makefile.vc10: src/Makefile.vc6
286         @echo "generate $@"
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
288
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
292
293 ca-firefox: lib/firefox-db2pem.sh
294         @echo "generate a fresh ca-bundle.crt"
295         ./lib/firefox-db2pem.sh lib/ca-bundle.crt