1#***************************************************************************
2#                                  _   _ ____  _
3#  Project                     ___| | | |  _ \| |
4#                             / __| | | | |_) | |
5#                            | (__| |_| |  _ <| |___
6#                             \___|\___/|_| \_\_____|
7#
8# Copyright (C) 1999 - 2016, 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 https://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# All files in the Makefile.vc* series are generated automatically from the
24# one made for MSVC version 6. Alas, if you want to do changes to any of the
25# files and send back to the project, edit the version six, make your diff and
26# mail curl-users.
27
28#############################################################
29#
30## Makefile for building curl.exe with MSVC6
31## Use: nmake -f makefile.vc6 [release | debug] [CFG=release-ssl]
32##      (default is release)
33## "nmake -f makefile.vc6 CFG=release-ssl" statically links OpenSSL
34## into curl.exe producing a standalone SSL-enabled executable.
35##
36#
37#############################################################
38
39PROGRAM_NAME = curl.exe
40
41# -------------------------------------------
42# Verify that current subdir is curl's 'src'
43# -------------------------------------------
44
45!IF ! EXIST(.\tool_main.c)
46!  MESSAGE Can not process this makefile from outside of curl's 'src' subdirectory.
47!  MESSAGE Change to curl's 'src' subdirectory, and try again.
48!  ERROR   See previous message.
49!ENDIF
50
51# ------------------------------------------------
52# Makefile.msvc.names provides libcurl file names
53# ------------------------------------------------
54
55!INCLUDE ..\winbuild\Makefile.msvc.names
56
57
58!IFNDEF OPENSSL_PATH
59OPENSSL_PATH = ../../openssl-1.0.2a
60!ENDIF
61
62!IFNDEF ZLIB_PATH
63ZLIB_PATH = ../../zlib-1.2.8
64!ENDIF
65
66!IFNDEF MACHINE
67MACHINE  = X86
68!ENDIF
69
70# USE_WINDOWS_SSPI uses windows libraries to allow NTLM authentication
71# without an openssl installation and offers the ability to authenticate
72# using the "current logged in user". Since at least with MSVC6 the sspi.h
73# header is broken it is either required to install the Windows SDK,
74# or to fix sspi.h with adding this define at the beginning of sspi.h:
75# #define FreeCredentialHandle FreeCredentialsHandle
76#
77# If, for some reason the Windows SDK is installed but not installed
78# in the default location, you can specify WINDOWS_SDK_PATH.
79# It can be downloaded from:
80# https://msdn.microsoft.com/windows/bb980924.aspx
81
82# WINDOWS_SSPI = 1
83
84!IFDEF WINDOWS_SSPI
85!IFNDEF WINDOWS_SDK_PATH
86WINDOWS_SDK_PATH = "$(PROGRAMFILES)\Microsoft SDK"
87!ENDIF
88!ENDIF
89
90########################################################
91## Nothing more to do below this line!
92
93ZLIB_CFLAGS    = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)"
94ZLIB_LFLAGS    = "/LIBPATH:$(ZLIB_PATH)"
95ZLIB_LIBS      = zlib.lib
96ZLIB_IMP_LIBS  = zdll.lib
97
98SSL_CFLAGS     = /DUSE_OPENSSL
99SSL_LFLAGS     = /LIBPATH:"$(OPENSSL_PATH)/out32"
100SSL_IMP_LFLAGS = /LIBPATH:"$(OPENSSL_PATH)/out32dll"
101SSL_LIBS       = libeay32.lib ssleay32.lib gdi32.lib user32.lib
102WINLIBS        = ws2_32.lib wldap32.lib advapi32.lib
103
104WINSSL_CFLAGS  = /DUSE_SCHANNEL
105#WINSSL_LIBS    = gdi32.lib user32.lib
106
107!IFDEF USE_IDN
108WINLIBS        = $(WINLIBS) normaliz.lib
109!ENDIF
110
111# Runtime library configuration
112RTLIB   = /MD
113RTLIBD  = /MDd
114
115!IF "$(RTLIBCFG)" == "static"
116RTLIB  = /MT
117RTLIBD = /MTd
118!ENDIF
119
120## Release
121CCR   = cl.exe $(RTLIB) /O2 /DNDEBUG
122LINKR = link.exe /incremental:no /libpath:"../lib"
123RCR   = rc.exe /dDEBUGBUILD=0
124
125## Debug
126CCD   = cl.exe $(RTLIBD) /Gm /ZI /Od /D_DEBUG /GZ
127LINKD = link.exe /incremental:yes /debug /libpath:"../lib"
128RCD   = rc.exe /dDEBUGBUILD=1
129
130CFLAGS   = /I../lib /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /D_BIND_TO_CURRENT_VCLIBS_VERSION=1
131LFLAGS   = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:$(MACHINE)
132RESFLAGS = /i../include
133
134# This manifest thing is for VC8, enabled by the maketgz script that
135# builds the VC8 version of this makefile. Left commented out in the VC6
136# version!
137#MANIFESTTOOL = mt -manifest $(PROGRAM_NAME).manifest -outputresource:$(PROGRAM_NAME);1
138
139!IFDEF WINDOWS_SSPI
140CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include
141!ENDIF
142
143RELEASE_OBJS= \
144	nonblockr.obj \
145	rawstrr.obj \
146	strtoofftr.obj \
147	warnless.obj \
148	slist_wc.obj \
149	tool_binmoder.obj \
150	tool_bnamer.obj \
151	tool_cb_dbgr.obj \
152	tool_cb_hdrr.obj \
153	tool_cb_prgr.obj \
154	tool_cb_rear.obj \
155	tool_cb_seer.obj \
156	tool_cb_wrtr.obj \
157	tool_cfgabler.obj \
158	tool_convertr.obj \
159	tool_dirhier.obj \
160	tool_doswinr.obj \
161	tool_easysrcr.obj \
162	tool_formparser.obj \
163	tool_getparamr.obj \
164	tool_getpassr.obj \
165	tool_helpr.obj \
166	tool_helpersr.obj \
167	tool_homedirr.obj \
168	tool_hugehelpr.obj \
169	tool_libinfor.obj \
170	tool_mainr.obj \
171	tool_metalinkr.obj \
172	tool_mfilesr.obj \
173	tool_msgsr.obj \
174	tool_operater.obj \
175	tool_operhlpr.obj \
176	tool_panykeyr.obj \
177	tool_paramhlpr.obj \
178	tool_parsecfgr.obj \
179	tool_setoptr.obj \
180	tool_sleepr.obj \
181	tool_urlglobr.obj \
182	tool_utilr.obj \
183	tool_vmsr.obj \
184	tool_writeenvr.obj \
185	tool_writeoutr.obj \
186	tool_xattrr.obj \
187	curlr.res
188
189DEBUG_OBJS= \
190	nonblockd.obj \
191	rawstrd.obj \
192	strtoofftd.obj \
193	warnlessd.obj \
194	slist_wcd.obj \
195	tool_binmoded.obj \
196	tool_bnamed.obj \
197	tool_cb_dbgd.obj \
198	tool_cb_hdrd.obj \
199	tool_cb_prgd.obj \
200	tool_cb_read.obj \
201	tool_cb_seed.obj \
202	tool_cb_wrtd.obj \
203	tool_cfgabled.obj \
204	tool_convertd.obj \
205	tool_dirhied.obj \
206	tool_doswind.obj \
207	tool_easysrcd.obj \
208	tool_formparsed.obj \
209	tool_getparamd.obj \
210	tool_getpassd.obj \
211	tool_helpd.obj \
212	tool_helpersd.obj \
213	tool_homedird.obj \
214	tool_hugehelpd.obj \
215	tool_libinfod.obj \
216	tool_maind.obj \
217	tool_metalinkd.obj \
218	tool_mfilesd.obj \
219	tool_msgsd.obj \
220	tool_operated.obj \
221	tool_operhlpd.obj \
222	tool_panykeyd.obj \
223	tool_paramhlpd.obj \
224	tool_parsecfgd.obj \
225	tool_setoptd.obj \
226	tool_sleepd.obj \
227	tool_urlglobd.obj \
228	tool_utild.obj \
229	tool_vmsd.obj \
230	tool_writeenvd.obj \
231	tool_writeoutd.obj \
232	tool_xattrd.obj \
233	curld.res
234
235#################################################
236# If CFG not specified, use static libs
237
238CFLAGS         = $(CFLAGS) /DCURL_STATICLIB
239LINKLIBS       = $(LIBCURL_STA_LIB_REL)
240LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG)
241
242#################################################
243# release dynamic library
244
245!IF "$(CFG)" == "release-dll"
246LINKLIBS       = $(LIBCURL_IMP_LIB_REL)
247LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG)
248!ENDIF
249
250#################################################
251# release static library with zlib
252
253!IF "$(CFG)" == "release-zlib"
254CFLAGS         = $(CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
255LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(ZLIB_LIBS)
256LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(ZLIB_LIBS)
257LFLAGS         = $(LFLAGS) $(ZLIB_LFLAGS)
258!ENDIF
259
260#################################################
261# release static library with ssl
262
263!IF "$(CFG)" == "release-ssl"
264CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) /DCURL_STATICLIB
265LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS)
266LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS)
267LFLAGS         = $(LFLAGS) $(SSL_LFLAGS)
268!ENDIF
269
270#################################################
271# release dynamic library with dynamic ssl
272
273!IF "$(CFG)" == "release-dll-ssl-dll"
274CFLAGS         = $(CFLAGS) $(SSL_CFLAGS)
275LINKLIBS       = $(LIBCURL_IMP_LIB_REL) $(SSL_LIBS)
276LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG) $(SSL_LIBS)
277LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS)
278!ENDIF
279
280#################################################
281# release static library with ssl and zlib
282
283!IF "$(CFG)" == "release-ssl-zlib"
284CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
285LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS) $(ZLIB_LIBS)
286LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS) $(ZLIB_LIBS)
287LFLAGS         = $(LFLAGS) $(SSL_LFLAGS) $(ZLIB_LFLAGS)
288!ENDIF
289
290#################################################
291# release static library with winssl and zlib
292
293!IF "$(CFG)" == "release-winssl-zlib"
294CFLAGS         = $(CFLAGS) $(WINSSL_CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
295LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(WINSSL_LIBS) $(ZLIB_LIBS)
296LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(WINSSL_LIBS) $(ZLIB_LIBS)
297LFLAGS         = $(LFLAGS) $(WINSSL_LFLAGS) $(ZLIB_LFLAGS)
298!ENDIF
299
300#################################################
301# release static library with dynamic ssl
302
303!IF "$(CFG)" == "release-ssl-dll"
304CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) /DCURL_STATICLIB
305LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS)
306LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS)
307LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS)
308!ENDIF
309
310#################################################
311# release static library with dynamic zlib
312
313!IF "$(CFG)" == "release-zlib-dll"
314CFLAGS         = $(CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
315LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(ZLIB_IMP_LIBS)
316LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(ZLIB_IMP_LIBS)
317LFLAGS         = $(LFLAGS) $(ZLIB_LFLAGS)
318!ENDIF
319
320#################################################
321# release dynamic library with dynamic zlib
322
323!IF "$(CFG)" == "release-dll-zlib-dll"
324CFLAGS         = $(CFLAGS) $(ZLIB_CFLAGS)
325LINKLIBS       = $(LIBCURL_IMP_LIB_REL) $(ZLIB_IMP_LIBS)
326LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG) $(ZLIB_IMP_LIBS)
327LFLAGS         = $(LFLAGS) $(ZLIB_LFLAGS)
328!ENDIF
329
330#################################################
331# release static library with dynamic ssl and dynamic zlib
332
333!IF "$(CFG)" == "release-ssl-dll-zlib-dll"
334CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
335LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
336LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
337LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS) $(ZLIB_LFLAGS)
338!ENDIF
339
340#################################################
341# release dynamic library with dynamic ssl and dynamic zlib
342
343!IF "$(CFG)" == "release-dll-ssl-dll-zlib-dll"
344CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) $(ZLIB_CFLAGS)
345LINKLIBS       = $(LIBCURL_IMP_LIB_REL) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
346LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
347LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS) $(ZLIB_LFLAGS)
348!ENDIF
349
350LINKLIBS       = $(LINKLIBS) $(WINLIBS)
351LINKLIBS_DEBUG = $(LINKLIBS_DEBUG) $(WINLIBS)
352
353all : release
354
355release: $(RELEASE_OBJS)
356	$(LINKR) $(LFLAGS) $(LINKLIBS) $(RELEASE_OBJS)
357        $(MANIFESTTOOL)
358
359debug: $(DEBUG_OBJS)
360	$(LINKD) $(LFLAGS) $(LINKLIBS_DEBUG) $(DEBUG_OBJS)
361        $(MANIFESTTOOL)
362
363## Release
364nonblockr.obj: ../lib/nonblock.c
365	$(CCR) $(CFLAGS) /Fo"$@" ../lib/nonblock.c
366rawstrr.obj: ../lib/rawstr.c
367	$(CCR) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
368strtoofftr.obj: ../lib/strtoofft.c
369	$(CCR) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c
370warnless.obj: ../lib/warnless.c
371	$(CCR) $(CFLAGS) /Fo"$@" ../lib/warnless.c
372slist_wc.obj: slist_wc.c
373	$(CCR) $(CFLAGS) /Fo"$@" slist_wc.c
374tool_binmoder.obj: tool_binmode.c
375	$(CCR) $(CFLAGS) /Fo"$@" tool_binmode.c
376tool_bnamer.obj: tool_bname.c
377	$(CCR) $(CFLAGS) /Fo"$@" tool_bname.c
378tool_cb_dbgr.obj: tool_cb_dbg.c
379	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_dbg.c
380tool_cb_hdrr.obj: tool_cb_hdr.c
381	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_hdr.c
382tool_cb_prgr.obj: tool_cb_prg.c
383	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_prg.c
384tool_cb_rear.obj: tool_cb_rea.c
385	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_rea.c
386tool_cb_seer.obj: tool_cb_see.c
387	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_see.c
388tool_cb_wrtr.obj: tool_cb_wrt.c
389	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_wrt.c
390tool_cfgabler.obj: tool_cfgable.c
391	$(CCR) $(CFLAGS) /Fo"$@" tool_cfgable.c
392tool_convertr.obj: tool_convert.c
393	$(CCR) $(CFLAGS) /Fo"$@" tool_convert.c
394tool_dirhier.obj: tool_dirhie.c
395	$(CCR) $(CFLAGS) /Fo"$@" tool_dirhie.c
396tool_doswinr.obj: tool_doswin.c
397	$(CCR) $(CFLAGS) /Fo"$@" tool_doswin.c
398tool_easysrcr.obj: tool_easysrc.c
399	$(CCR) $(CFLAGS) /Fo"$@" tool_easysrc.c
400tool_formparser.obj: tool_formparse.c
401	$(CCR) $(CFLAGS) /Fo"$@" tool_formparse.c
402tool_getparamr.obj: tool_getparam.c
403	$(CCR) $(CFLAGS) /Fo"$@" tool_getparam.c
404tool_getpassr.obj: tool_getpass.c
405	$(CCR) $(CFLAGS) /Fo"$@" tool_getpass.c
406tool_helpr.obj: tool_help.c
407	$(CCR) $(CFLAGS) /Fo"$@" tool_help.c
408tool_helpersr.obj: tool_helpers.c
409	$(CCR) $(CFLAGS) /Fo"$@" tool_helpers.c
410tool_homedirr.obj: tool_homedir.c
411	$(CCR) $(CFLAGS) /Fo"$@" tool_homedir.c
412tool_hugehelpr.obj: tool_hugehelp.c
413	$(CCR) $(CFLAGS) /Zm200 /Fo"$@" tool_hugehelp.c
414tool_libinfor.obj: tool_libinfo.c
415	$(CCR) $(CFLAGS) /Fo"$@" tool_libinfo.c
416tool_mainr.obj: tool_main.c
417	$(CCR) $(CFLAGS) /Fo"$@" tool_main.c
418tool_metalinkr.obj: tool_metalink.c
419	$(CCR) $(CFLAGS) /Fo"$@" tool_metalink.c
420tool_mfilesr.obj: tool_mfiles.c
421	$(CCR) $(CFLAGS) /Fo"$@" tool_mfiles.c
422tool_msgsr.obj: tool_msgs.c
423	$(CCR) $(CFLAGS) /Fo"$@" tool_msgs.c
424tool_operater.obj: tool_operate.c
425	$(CCR) $(CFLAGS) /Fo"$@" tool_operate.c
426tool_operhlpr.obj: tool_operhlp.c
427	$(CCR) $(CFLAGS) /Fo"$@" tool_operhlp.c
428tool_panykeyr.obj: tool_panykey.c
429	$(CCR) $(CFLAGS) /Fo"$@" tool_panykey.c
430tool_paramhlpr.obj: tool_paramhlp.c
431	$(CCR) $(CFLAGS) /Fo"$@" tool_paramhlp.c
432tool_parsecfgr.obj: tool_parsecfg.c
433	$(CCR) $(CFLAGS) /Fo"$@" tool_parsecfg.c
434tool_setoptr.obj: tool_setopt.c
435	$(CCR) $(CFLAGS) /Fo"$@" tool_setopt.c
436tool_sleepr.obj: tool_sleep.c
437	$(CCR) $(CFLAGS) /Fo"$@" tool_sleep.c
438tool_urlglobr.obj: tool_urlglob.c
439	$(CCR) $(CFLAGS) /Fo"$@" tool_urlglob.c
440tool_utilr.obj: tool_util.c
441	$(CCR) $(CFLAGS) /Fo"$@" tool_util.c
442tool_vmsr.obj: tool_vms.c
443	$(CCR) $(CFLAGS) /Fo"$@" tool_vms.c
444tool_writeenvr.obj: tool_writeenv.c
445	$(CCR) $(CFLAGS) /Fo"$@" tool_writeenv.c
446tool_writeoutr.obj: tool_writeout.c
447	$(CCR) $(CFLAGS) /Fo"$@" tool_writeout.c
448tool_xattrr.obj: tool_xattr.c
449	$(CCR) $(CFLAGS) /Fo"$@" tool_xattr.c
450curlr.res : curl.rc
451	$(RCR) $(RESFLAGS) /Fo"$@" curl.rc
452
453## Debug
454nonblockd.obj: ../lib/nonblock.c
455	$(CCD) $(CFLAGS) /Fo"$@" ../lib/nonblock.c
456rawstrd.obj: ../lib/rawstr.c
457	$(CCD) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
458strtoofftd.obj: ../lib/strtoofft.c
459	$(CCD) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c
460warnlessd.obj: ../lib/warnless.c
461	$(CCD) $(CFLAGS) /Fo"$@" ../lib/warnless.c
462slist_wcd.obj: slist_wc.c
463	$(CCD) $(CFLAGS) /Fo"$@" slist_wc.c
464tool_binmoded.obj: tool_binmode.c
465	$(CCD) $(CFLAGS) /Fo"$@" tool_binmode.c
466tool_bnamed.obj: tool_bname.c
467	$(CCD) $(CFLAGS) /Fo"$@" tool_bname.c
468tool_cb_dbgd.obj: tool_cb_dbg.c
469	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_dbg.c
470tool_cb_hdrd.obj: tool_cb_hdr.c
471	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_hdr.c
472tool_cb_prgd.obj: tool_cb_prg.c
473	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_prg.c
474tool_cb_read.obj: tool_cb_rea.c
475	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_rea.c
476tool_cb_seed.obj: tool_cb_see.c
477	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_see.c
478tool_cb_wrtd.obj: tool_cb_wrt.c
479	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_wrt.c
480tool_cfgabled.obj: tool_cfgable.c
481	$(CCD) $(CFLAGS) /Fo"$@" tool_cfgable.c
482tool_convertd.obj: tool_convert.c
483	$(CCD) $(CFLAGS) /Fo"$@" tool_convert.c
484tool_dirhied.obj: tool_dirhie.c
485	$(CCD) $(CFLAGS) /Fo"$@" tool_dirhie.c
486tool_doswind.obj: tool_doswin.c
487	$(CCD) $(CFLAGS) /Fo"$@" tool_doswin.c
488tool_easysrcd.obj: tool_easysrc.c
489	$(CCD) $(CFLAGS) /Fo"$@" tool_easysrc.c
490tool_formparsed.obj: tool_formparse.c
491	$(CCD) $(CFLAGS) /Fo"$@" tool_formparse.c
492tool_getparamd.obj: tool_getparam.c
493	$(CCD) $(CFLAGS) /Fo"$@" tool_getparam.c
494tool_getpassd.obj: tool_getpass.c
495	$(CCD) $(CFLAGS) /Fo"$@" tool_getpass.c
496tool_helpd.obj: tool_help.c
497	$(CCD) $(CFLAGS) /Fo"$@" tool_help.c
498tool_helpersd.obj: tool_helpers.c
499	$(CCD) $(CFLAGS) /Fo"$@" tool_helpers.c
500tool_homedird.obj: tool_homedir.c
501	$(CCD) $(CFLAGS) /Fo"$@" tool_homedir.c
502tool_hugehelpd.obj: tool_hugehelp.c
503	$(CCD) $(CFLAGS) /Zm200 /Fo"$@" tool_hugehelp.c
504tool_libinfod.obj: tool_libinfo.c
505	$(CCD) $(CFLAGS) /Fo"$@" tool_libinfo.c
506tool_maind.obj: tool_main.c
507	$(CCD) $(CFLAGS) /Fo"$@" tool_main.c
508tool_metalinkd.obj: tool_metalink.c
509	$(CCD) $(CFLAGS) /Fo"$@" tool_metalink.c
510tool_mfilesd.obj: tool_mfiles.c
511	$(CCD) $(CFLAGS) /Fo"$@" tool_mfiles.c
512tool_msgsd.obj: tool_msgs.c
513	$(CCD) $(CFLAGS) /Fo"$@" tool_msgs.c
514tool_operated.obj: tool_operate.c
515	$(CCD) $(CFLAGS) /Fo"$@" tool_operate.c
516tool_operhlpd.obj: tool_operhlp.c
517	$(CCD) $(CFLAGS) /Fo"$@" tool_operhlp.c
518tool_panykeyd.obj: tool_panykey.c
519	$(CCD) $(CFLAGS) /Fo"$@" tool_panykey.c
520tool_paramhlpd.obj: tool_paramhlp.c
521	$(CCD) $(CFLAGS) /Fo"$@" tool_paramhlp.c
522tool_parsecfgd.obj: tool_parsecfg.c
523	$(CCD) $(CFLAGS) /Fo"$@" tool_parsecfg.c
524tool_setoptd.obj: tool_setopt.c
525	$(CCD) $(CFLAGS) /Fo"$@" tool_setopt.c
526tool_sleepd.obj: tool_sleep.c
527	$(CCD) $(CFLAGS) /Fo"$@" tool_sleep.c
528tool_urlglobd.obj: tool_urlglob.c
529	$(CCD) $(CFLAGS) /Fo"$@" tool_urlglob.c
530tool_utild.obj: tool_util.c
531	$(CCD) $(CFLAGS) /Fo"$@" tool_util.c
532tool_vmsd.obj: tool_vms.c
533	$(CCD) $(CFLAGS) /Fo"$@" tool_vms.c
534tool_writeenvd.obj: tool_writeenv.c
535	$(CCD) $(CFLAGS) /Fo"$@" tool_writeenv.c
536tool_writeoutd.obj: tool_writeout.c
537	$(CCD) $(CFLAGS) /Fo"$@" tool_writeout.c
538tool_xattrd.obj: tool_xattr.c
539	$(CCD) $(CFLAGS) /Fo"$@" tool_xattr.c
540curld.res : curl.rc
541	$(RCD) $(RESFLAGS) /Fo"$@" curl.rc
542
543clean:
544	@-erase $(PROGRAM_NAME) 2> NUL
545	@-erase $(RELEASE_OBJS) 2> NUL
546	@-erase $(DEBUG_OBJS) 2> NUL
547	@-erase *.idb 2> NUL
548	@-erase *.pdb 2> NUL
549	@-erase *.pch 2> NUL
550	@-erase *.ilk 2> NUL
551