• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#***************************************************************************
2#                                  _   _ ____  _
3#  Project                     ___| | | |  _ \| |
4#                             / __| | | | |_) | |
5#                            | (__| |_| |  _ <| |___
6#                             \___|\___/|_| \_\_____|
7#
8# Copyright (C) 1999 - 2015, 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# 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	tool_binmoder.obj \
149	tool_bnamer.obj \
150	tool_cb_dbgr.obj \
151	tool_cb_hdrr.obj \
152	tool_cb_prgr.obj \
153	tool_cb_rear.obj \
154	tool_cb_seer.obj \
155	tool_cb_wrtr.obj \
156	tool_cfgabler.obj \
157	tool_convertr.obj \
158	tool_dirhier.obj \
159	tool_doswinr.obj \
160	tool_easysrcr.obj \
161	tool_formparser.obj \
162	tool_getparamr.obj \
163	tool_getpassr.obj \
164	tool_helpr.obj \
165	tool_helpersr.obj \
166	tool_homedirr.obj \
167	tool_hugehelpr.obj \
168	tool_libinfor.obj \
169	tool_mainr.obj \
170	tool_metalinkr.obj \
171	tool_mfilesr.obj \
172	tool_msgsr.obj \
173	tool_operater.obj \
174	tool_operhlpr.obj \
175	tool_panykeyr.obj \
176	tool_paramhlpr.obj \
177	tool_parsecfgr.obj \
178	tool_setoptr.obj \
179	tool_sleepr.obj \
180	tool_urlglobr.obj \
181	tool_utilr.obj \
182	tool_vmsr.obj \
183	tool_writeenvr.obj \
184	tool_writeoutr.obj \
185	tool_xattrr.obj \
186	curlr.res
187
188DEBUG_OBJS= \
189	nonblockd.obj \
190	rawstrd.obj \
191	strtoofftd.obj \
192	warnlessd.obj \
193	tool_binmoded.obj \
194	tool_bnamed.obj \
195	tool_cb_dbgd.obj \
196	tool_cb_hdrd.obj \
197	tool_cb_prgd.obj \
198	tool_cb_read.obj \
199	tool_cb_seed.obj \
200	tool_cb_wrtd.obj \
201	tool_cfgabled.obj \
202	tool_convertd.obj \
203	tool_dirhied.obj \
204	tool_doswind.obj \
205	tool_easysrcd.obj \
206	tool_formparsed.obj \
207	tool_getparamd.obj \
208	tool_getpassd.obj \
209	tool_helpd.obj \
210	tool_helpersd.obj \
211	tool_homedird.obj \
212	tool_hugehelpd.obj \
213	tool_libinfod.obj \
214	tool_maind.obj \
215	tool_metalinkd.obj \
216	tool_mfilesd.obj \
217	tool_msgsd.obj \
218	tool_operated.obj \
219	tool_operhlpd.obj \
220	tool_panykeyd.obj \
221	tool_paramhlpd.obj \
222	tool_parsecfgd.obj \
223	tool_setoptd.obj \
224	tool_sleepd.obj \
225	tool_urlglobd.obj \
226	tool_utild.obj \
227	tool_vmsd.obj \
228	tool_writeenvd.obj \
229	tool_writeoutd.obj \
230	tool_xattrd.obj \
231	curld.res
232
233#################################################
234# If CFG not specified, use static libs
235
236CFLAGS         = $(CFLAGS) /DCURL_STATICLIB
237LINKLIBS       = $(LIBCURL_STA_LIB_REL)
238LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG)
239
240#################################################
241# release dynamic library
242
243!IF "$(CFG)" == "release-dll"
244LINKLIBS       = $(LIBCURL_IMP_LIB_REL)
245LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG)
246!ENDIF
247
248#################################################
249# release static library with zlib
250
251!IF "$(CFG)" == "release-zlib"
252CFLAGS         = $(CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
253LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(ZLIB_LIBS)
254LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(ZLIB_LIBS)
255LFLAGS         = $(LFLAGS) $(ZLIB_LFLAGS)
256!ENDIF
257
258#################################################
259# release static library with ssl
260
261!IF "$(CFG)" == "release-ssl"
262CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) /DCURL_STATICLIB
263LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS)
264LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS)
265LFLAGS         = $(LFLAGS) $(SSL_LFLAGS)
266!ENDIF
267
268#################################################
269# release dynamic library with dynamic ssl
270
271!IF "$(CFG)" == "release-dll-ssl-dll"
272CFLAGS         = $(CFLAGS) $(SSL_CFLAGS)
273LINKLIBS       = $(LIBCURL_IMP_LIB_REL) $(SSL_LIBS)
274LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG) $(SSL_LIBS)
275LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS)
276!ENDIF
277
278#################################################
279# release static library with ssl and zlib
280
281!IF "$(CFG)" == "release-ssl-zlib"
282CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
283LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS) $(ZLIB_LIBS)
284LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS) $(ZLIB_LIBS)
285LFLAGS         = $(LFLAGS) $(SSL_LFLAGS) $(ZLIB_LFLAGS)
286!ENDIF
287
288#################################################
289# release static library with winssl and zlib
290
291!IF "$(CFG)" == "release-winssl-zlib"
292CFLAGS         = $(CFLAGS) $(WINSSL_CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
293LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(WINSSL_LIBS) $(ZLIB_LIBS)
294LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(WINSSL_LIBS) $(ZLIB_LIBS)
295LFLAGS         = $(LFLAGS) $(WINSSL_LFLAGS) $(ZLIB_LFLAGS)
296!ENDIF
297
298#################################################
299# release static library with dynamic ssl
300
301!IF "$(CFG)" == "release-ssl-dll"
302CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) /DCURL_STATICLIB
303LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS)
304LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS)
305LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS)
306!ENDIF
307
308#################################################
309# release static library with dynamic zlib
310
311!IF "$(CFG)" == "release-zlib-dll"
312CFLAGS         = $(CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
313LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(ZLIB_IMP_LIBS)
314LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(ZLIB_IMP_LIBS)
315LFLAGS         = $(LFLAGS) $(ZLIB_LFLAGS)
316!ENDIF
317
318#################################################
319# release dynamic library with dynamic zlib
320
321!IF "$(CFG)" == "release-dll-zlib-dll"
322CFLAGS         = $(CFLAGS) $(ZLIB_CFLAGS)
323LINKLIBS       = $(LIBCURL_IMP_LIB_REL) $(ZLIB_IMP_LIBS)
324LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG) $(ZLIB_IMP_LIBS)
325LFLAGS         = $(LFLAGS) $(ZLIB_LFLAGS)
326!ENDIF
327
328#################################################
329# release static library with dynamic ssl and dynamic zlib
330
331!IF "$(CFG)" == "release-ssl-dll-zlib-dll"
332CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) $(ZLIB_CFLAGS) /DCURL_STATICLIB
333LINKLIBS       = $(LIBCURL_STA_LIB_REL) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
334LINKLIBS_DEBUG = $(LIBCURL_STA_LIB_DBG) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
335LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS) $(ZLIB_LFLAGS)
336!ENDIF
337
338#################################################
339# release dynamic library with dynamic ssl and dynamic zlib
340
341!IF "$(CFG)" == "release-dll-ssl-dll-zlib-dll"
342CFLAGS         = $(CFLAGS) $(SSL_CFLAGS) $(ZLIB_CFLAGS)
343LINKLIBS       = $(LIBCURL_IMP_LIB_REL) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
344LINKLIBS_DEBUG = $(LIBCURL_IMP_LIB_DBG) $(SSL_LIBS) $(ZLIB_IMP_LIBS)
345LFLAGS         = $(LFLAGS) $(SSL_IMP_LFLAGS) $(ZLIB_LFLAGS)
346!ENDIF
347
348LINKLIBS       = $(LINKLIBS) $(WINLIBS)
349LINKLIBS_DEBUG = $(LINKLIBS_DEBUG) $(WINLIBS)
350
351all : release
352
353release: $(RELEASE_OBJS)
354	$(LINKR) $(LFLAGS) $(LINKLIBS) $(RELEASE_OBJS)
355        $(MANIFESTTOOL)
356
357debug: $(DEBUG_OBJS)
358	$(LINKD) $(LFLAGS) $(LINKLIBS_DEBUG) $(DEBUG_OBJS)
359        $(MANIFESTTOOL)
360
361## Release
362nonblockr.obj: ../lib/nonblock.c
363	$(CCR) $(CFLAGS) /Fo"$@" ../lib/nonblock.c
364rawstrr.obj: ../lib/rawstr.c
365	$(CCR) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
366strtoofftr.obj: ../lib/strtoofft.c
367	$(CCR) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c
368warnless.obj: ../lib/warnless.c
369	$(CCR) $(CFLAGS) /Fo"$@" ../lib/warnless.c
370tool_binmoder.obj: tool_binmode.c
371	$(CCR) $(CFLAGS) /Fo"$@" tool_binmode.c
372tool_bnamer.obj: tool_bname.c
373	$(CCR) $(CFLAGS) /Fo"$@" tool_bname.c
374tool_cb_dbgr.obj: tool_cb_dbg.c
375	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_dbg.c
376tool_cb_hdrr.obj: tool_cb_hdr.c
377	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_hdr.c
378tool_cb_prgr.obj: tool_cb_prg.c
379	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_prg.c
380tool_cb_rear.obj: tool_cb_rea.c
381	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_rea.c
382tool_cb_seer.obj: tool_cb_see.c
383	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_see.c
384tool_cb_wrtr.obj: tool_cb_wrt.c
385	$(CCR) $(CFLAGS) /Fo"$@" tool_cb_wrt.c
386tool_cfgabler.obj: tool_cfgable.c
387	$(CCR) $(CFLAGS) /Fo"$@" tool_cfgable.c
388tool_convertr.obj: tool_convert.c
389	$(CCR) $(CFLAGS) /Fo"$@" tool_convert.c
390tool_dirhier.obj: tool_dirhie.c
391	$(CCR) $(CFLAGS) /Fo"$@" tool_dirhie.c
392tool_doswinr.obj: tool_doswin.c
393	$(CCR) $(CFLAGS) /Fo"$@" tool_doswin.c
394tool_easysrcr.obj: tool_easysrc.c
395	$(CCR) $(CFLAGS) /Fo"$@" tool_easysrc.c
396tool_formparser.obj: tool_formparse.c
397	$(CCR) $(CFLAGS) /Fo"$@" tool_formparse.c
398tool_getparamr.obj: tool_getparam.c
399	$(CCR) $(CFLAGS) /Fo"$@" tool_getparam.c
400tool_getpassr.obj: tool_getpass.c
401	$(CCR) $(CFLAGS) /Fo"$@" tool_getpass.c
402tool_helpr.obj: tool_help.c
403	$(CCR) $(CFLAGS) /Fo"$@" tool_help.c
404tool_helpersr.obj: tool_helpers.c
405	$(CCR) $(CFLAGS) /Fo"$@" tool_helpers.c
406tool_homedirr.obj: tool_homedir.c
407	$(CCR) $(CFLAGS) /Fo"$@" tool_homedir.c
408tool_hugehelpr.obj: tool_hugehelp.c
409	$(CCR) $(CFLAGS) /Zm200 /Fo"$@" tool_hugehelp.c
410tool_libinfor.obj: tool_libinfo.c
411	$(CCR) $(CFLAGS) /Fo"$@" tool_libinfo.c
412tool_mainr.obj: tool_main.c
413	$(CCR) $(CFLAGS) /Fo"$@" tool_main.c
414tool_metalinkr.obj: tool_metalink.c
415	$(CCR) $(CFLAGS) /Fo"$@" tool_metalink.c
416tool_mfilesr.obj: tool_mfiles.c
417	$(CCR) $(CFLAGS) /Fo"$@" tool_mfiles.c
418tool_msgsr.obj: tool_msgs.c
419	$(CCR) $(CFLAGS) /Fo"$@" tool_msgs.c
420tool_operater.obj: tool_operate.c
421	$(CCR) $(CFLAGS) /Fo"$@" tool_operate.c
422tool_operhlpr.obj: tool_operhlp.c
423	$(CCR) $(CFLAGS) /Fo"$@" tool_operhlp.c
424tool_panykeyr.obj: tool_panykey.c
425	$(CCR) $(CFLAGS) /Fo"$@" tool_panykey.c
426tool_paramhlpr.obj: tool_paramhlp.c
427	$(CCR) $(CFLAGS) /Fo"$@" tool_paramhlp.c
428tool_parsecfgr.obj: tool_parsecfg.c
429	$(CCR) $(CFLAGS) /Fo"$@" tool_parsecfg.c
430tool_setoptr.obj: tool_setopt.c
431	$(CCR) $(CFLAGS) /Fo"$@" tool_setopt.c
432tool_sleepr.obj: tool_sleep.c
433	$(CCR) $(CFLAGS) /Fo"$@" tool_sleep.c
434tool_urlglobr.obj: tool_urlglob.c
435	$(CCR) $(CFLAGS) /Fo"$@" tool_urlglob.c
436tool_utilr.obj: tool_util.c
437	$(CCR) $(CFLAGS) /Fo"$@" tool_util.c
438tool_vmsr.obj: tool_vms.c
439	$(CCR) $(CFLAGS) /Fo"$@" tool_vms.c
440tool_writeenvr.obj: tool_writeenv.c
441	$(CCR) $(CFLAGS) /Fo"$@" tool_writeenv.c
442tool_writeoutr.obj: tool_writeout.c
443	$(CCR) $(CFLAGS) /Fo"$@" tool_writeout.c
444tool_xattrr.obj: tool_xattr.c
445	$(CCR) $(CFLAGS) /Fo"$@" tool_xattr.c
446curlr.res : curl.rc
447	$(RCR) $(RESFLAGS) /Fo"$@" curl.rc
448
449## Debug
450nonblockd.obj: ../lib/nonblock.c
451	$(CCD) $(CFLAGS) /Fo"$@" ../lib/nonblock.c
452rawstrd.obj: ../lib/rawstr.c
453	$(CCD) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
454strtoofftd.obj: ../lib/strtoofft.c
455	$(CCD) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c
456warnlessd.obj: ../lib/warnless.c
457	$(CCD) $(CFLAGS) /Fo"$@" ../lib/warnless.c
458tool_binmoded.obj: tool_binmode.c
459	$(CCD) $(CFLAGS) /Fo"$@" tool_binmode.c
460tool_bnamed.obj: tool_bname.c
461	$(CCD) $(CFLAGS) /Fo"$@" tool_bname.c
462tool_cb_dbgd.obj: tool_cb_dbg.c
463	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_dbg.c
464tool_cb_hdrd.obj: tool_cb_hdr.c
465	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_hdr.c
466tool_cb_prgd.obj: tool_cb_prg.c
467	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_prg.c
468tool_cb_read.obj: tool_cb_rea.c
469	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_rea.c
470tool_cb_seed.obj: tool_cb_see.c
471	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_see.c
472tool_cb_wrtd.obj: tool_cb_wrt.c
473	$(CCD) $(CFLAGS) /Fo"$@" tool_cb_wrt.c
474tool_cfgabled.obj: tool_cfgable.c
475	$(CCD) $(CFLAGS) /Fo"$@" tool_cfgable.c
476tool_convertd.obj: tool_convert.c
477	$(CCD) $(CFLAGS) /Fo"$@" tool_convert.c
478tool_dirhied.obj: tool_dirhie.c
479	$(CCD) $(CFLAGS) /Fo"$@" tool_dirhie.c
480tool_doswind.obj: tool_doswin.c
481	$(CCD) $(CFLAGS) /Fo"$@" tool_doswin.c
482tool_easysrcd.obj: tool_easysrc.c
483	$(CCD) $(CFLAGS) /Fo"$@" tool_easysrc.c
484tool_formparsed.obj: tool_formparse.c
485	$(CCD) $(CFLAGS) /Fo"$@" tool_formparse.c
486tool_getparamd.obj: tool_getparam.c
487	$(CCD) $(CFLAGS) /Fo"$@" tool_getparam.c
488tool_getpassd.obj: tool_getpass.c
489	$(CCD) $(CFLAGS) /Fo"$@" tool_getpass.c
490tool_helpd.obj: tool_help.c
491	$(CCD) $(CFLAGS) /Fo"$@" tool_help.c
492tool_helpersd.obj: tool_helpers.c
493	$(CCD) $(CFLAGS) /Fo"$@" tool_helpers.c
494tool_homedird.obj: tool_homedir.c
495	$(CCD) $(CFLAGS) /Fo"$@" tool_homedir.c
496tool_hugehelpd.obj: tool_hugehelp.c
497	$(CCD) $(CFLAGS) /Zm200 /Fo"$@" tool_hugehelp.c
498tool_libinfod.obj: tool_libinfo.c
499	$(CCD) $(CFLAGS) /Fo"$@" tool_libinfo.c
500tool_maind.obj: tool_main.c
501	$(CCD) $(CFLAGS) /Fo"$@" tool_main.c
502tool_metalinkd.obj: tool_metalink.c
503	$(CCD) $(CFLAGS) /Fo"$@" tool_metalink.c
504tool_mfilesd.obj: tool_mfiles.c
505	$(CCD) $(CFLAGS) /Fo"$@" tool_mfiles.c
506tool_msgsd.obj: tool_msgs.c
507	$(CCD) $(CFLAGS) /Fo"$@" tool_msgs.c
508tool_operated.obj: tool_operate.c
509	$(CCD) $(CFLAGS) /Fo"$@" tool_operate.c
510tool_operhlpd.obj: tool_operhlp.c
511	$(CCD) $(CFLAGS) /Fo"$@" tool_operhlp.c
512tool_panykeyd.obj: tool_panykey.c
513	$(CCD) $(CFLAGS) /Fo"$@" tool_panykey.c
514tool_paramhlpd.obj: tool_paramhlp.c
515	$(CCD) $(CFLAGS) /Fo"$@" tool_paramhlp.c
516tool_parsecfgd.obj: tool_parsecfg.c
517	$(CCD) $(CFLAGS) /Fo"$@" tool_parsecfg.c
518tool_setoptd.obj: tool_setopt.c
519	$(CCD) $(CFLAGS) /Fo"$@" tool_setopt.c
520tool_sleepd.obj: tool_sleep.c
521	$(CCD) $(CFLAGS) /Fo"$@" tool_sleep.c
522tool_urlglobd.obj: tool_urlglob.c
523	$(CCD) $(CFLAGS) /Fo"$@" tool_urlglob.c
524tool_utild.obj: tool_util.c
525	$(CCD) $(CFLAGS) /Fo"$@" tool_util.c
526tool_vmsd.obj: tool_vms.c
527	$(CCD) $(CFLAGS) /Fo"$@" tool_vms.c
528tool_writeenvd.obj: tool_writeenv.c
529	$(CCD) $(CFLAGS) /Fo"$@" tool_writeenv.c
530tool_writeoutd.obj: tool_writeout.c
531	$(CCD) $(CFLAGS) /Fo"$@" tool_writeout.c
532tool_xattrd.obj: tool_xattr.c
533	$(CCD) $(CFLAGS) /Fo"$@" tool_xattr.c
534curld.res : curl.rc
535	$(RCD) $(RESFLAGS) /Fo"$@" curl.rc
536
537clean:
538	@-erase $(PROGRAM_NAME) 2> NUL
539	@-erase $(RELEASE_OBJS) 2> NUL
540	@-erase $(DEBUG_OBJS) 2> NUL
541	@-erase *.idb 2> NUL
542	@-erase *.pdb 2> NUL
543	@-erase *.pch 2> NUL
544	@-erase *.ilk 2> NUL
545