- Robert A. Monat and Shmulik Regev helped out to fix the new */Makefile.vc8
[platform/upstream/curl.git] / Makefile.dist
1 #***************************************************************************
2 #                                  _   _ ____  _
3 #  Project                     ___| | | |  _ \| |
4 #                             / __| | | | |_) | |
5 #                            | (__| |_| |  _ <| |___
6 #                             \___|\___/|_| \_\_____|
7 #
8 # Copyright (C) 1998 - 2007, 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 # $Id$
22 ###########################################################################
23
24 VC=vc6
25
26 all:
27         ./configure
28         make
29
30 ssl:
31         ./configure --with-ssl
32         make
33
34 borland:
35         cd lib
36         make -f Makefile.b32
37         cd ..\src
38         make -f Makefile.b32
39
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
45
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
51
52 borland-clean:
53         cd lib
54         make -f Makefile.b32 clean
55         cd ..\src
56         make -f Makefile.b32 clean
57
58 watcom:
59         cd lib
60         wmake -f Makefile.Watcom
61         cd ..\src
62         wmake -f Makefile.Watcom
63
64 watcom-clean:
65         cd lib
66         wmake -f Makefile.Watcom clean
67         cd ..\src
68         wmake -f Makefile.Watcom clean
69
70 mingw32:
71         $(MAKE) -C lib -f Makefile.m32 ZLIB=1
72         $(MAKE) -C src -f Makefile.m32 ZLIB=1
73
74 mingw32-ssl:
75         $(MAKE) -C lib -f Makefile.m32 SSL=1 ZLIB=1
76         $(MAKE) -C src -f Makefile.m32 SSL=1 ZLIB=1
77
78 mingw32-ssh2-ssl:
79         $(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
80         $(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
81
82 mingw32-ssh2-ssl-sspi:
83         $(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
84         $(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
85
86 mingw32-clean:
87         $(MAKE) -C lib -f Makefile.m32 clean
88         $(MAKE) -C src -f Makefile.m32 clean
89
90 vc-clean:
91         cd lib
92         nmake -f Makefile.$(VC) clean
93         cd ..\src
94         nmake -f Makefile.$(VC) clean
95
96 vc-all:
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:
122         cd lib
123         nmake /f Makefile.$(VC) cfg=release
124         cd ..\src
125         nmake /f Makefile.$(VC)
126
127 vc-zlib:
128         cd lib
129         nmake /f Makefile.$(VC) cfg=release-zlib
130         cd ..\src
131         nmake /f Makefile.$(VC) cfg=release-zlib
132
133 vc-ssl:
134         cd lib
135         nmake /f Makefile.$(VC) cfg=release-ssl
136         cd ..\src
137         nmake /f Makefile.$(VC) cfg=release-ssl
138
139 vc-ssl-zlib:
140         cd lib
141         nmake /f Makefile.$(VC) cfg=release-ssl-zlib
142         cd ..\src
143         nmake /f Makefile.$(VC) cfg=release-ssl-zlib
144
145 vc-ssl-dll:
146         cd lib
147         nmake /f Makefile.$(VC) cfg=release-ssl-dll
148         cd ..\src
149         nmake /f Makefile.$(VC) cfg=release-ssl-dll
150
151 vc-dll-ssl-dll:
152         cd lib
153         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
154         cd ..\src
155         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
156
157 vc-dll:
158         cd lib
159         nmake /f Makefile.$(VC) cfg=release-dll
160         cd ..\src
161         nmake /f Makefile.$(VC) cfg=release-dll
162
163 vc-dll-zlib-dll:
164         cd lib
165         nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
166         cd ..\src
167         nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
168
169 vc-dll-ssl-dll-zlib-dll:
170         cd lib
171         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
172         cd ..\src
173         nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
174
175 vc-ssl-dll-zlib-dll:
176         cd lib
177         nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
178         cd ..\src
179         nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
180
181 vc-zlib-dll:
182         cd lib
183         nmake /f Makefile.$(VC) cfg=release-zlib-dll
184         cd ..\src
185         nmake /f Makefile.$(VC) cfg=release-zlib-dll
186
187 vc-sspi:
188         cd lib
189         nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
190         cd ..\src
191         nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
192
193 djgpp:
194         $(MAKE) -C lib -f Makefile.dj
195         $(MAKE) -C src -f Makefile.dj
196
197 cygwin:
198         ./configure
199         make
200
201 cygwin-ssl:
202         ./configure --with-ssl
203         make
204
205 amiga:
206         cd ./lib && make -f makefile.amiga
207         cd ./src && make -f makefile.amiga
208
209 netware:
210         $(MAKE) -C lib -f Makefile.netware
211         $(MAKE) -C src -f Makefile.netware
212
213 netware-ares:
214         $(MAKE) -C lib -f Makefile.netware WITH_ARES=1
215         $(MAKE) -C src -f Makefile.netware WITH_ARES=1
216
217 netware-ssl:
218         $(MAKE) -C lib -f Makefile.netware WITH_SSL=1
219         $(MAKE) -C src -f Makefile.netware WITH_SSL=1
220
221 netware-ssl-zlib:
222         $(MAKE) -C lib -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
223         $(MAKE) -C src -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
224
225 netware-ssh2-ssl-zlib:
226         $(MAKE) -C lib -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
227         $(MAKE) -C src -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
228
229 netware-zlib:
230         $(MAKE) -C lib -f Makefile.netware WITH_ZLIB=1
231         $(MAKE) -C src -f Makefile.netware WITH_ZLIB=1
232
233 netware-clean:
234         $(MAKE) -C lib -f Makefile.netware clean
235         $(MAKE) -C src -f Makefile.netware clean
236
237 unix: all
238
239 unix-ssl: ssl
240
241 linux: all
242
243 linux-ssl: ssl