• 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 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###########################################################################
24#
25# Makefile for building libcurl with MSVC 6, 7, 8, 9, 10, 11, 12 and 14
26#
27# Usage: see usage message below
28#        Should be invoked from winbuild directory
29#        Edit the paths and desired library name
30#        SSL path is only required if you intend compiling
31#        with SSL.
32#
33# This make file leaves the result either a .lib or .dll file
34# in the \lib directory. It should be called from the \lib
35# directory.
36#
37# An option would have been to allow the source directory to
38# be specified, but I saw no requirement.
39#
40# Another option would have been to leave the .lib and .dll
41# files in the "cfg" directory, but then the make file
42# in \src would need to be changed.
43#
44##############################################################
45
46CFGSET=FALSE
47WINBUILD_DIR=`cd`
48ZIP        = zip.exe
49
50!IF "$(VC)"=="6"
51CC_NODEBUG  = cl.exe /O2 /DNDEBUG
52CC_DEBUG    = cl.exe /Od /Gm /Zi /D_DEBUG /GZ
53CFLAGS     = /I. /I../lib /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL
54!ELSE
55CC_NODEBUG  = cl.exe /O2 /DNDEBUG
56CC_DEBUG    = cl.exe /Od /D_DEBUG /RTC1 /Z7 /LDd /W3
57CFLAGS      = /I. /I ../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
58!ENDIF
59
60LFLAGS     = /nologo /machine:$(MACHINE)
61LNKDLL     = link.exe /DLL
62LNKLIB     = link.exe /lib
63
64CFLAGS_PDB = /Zi
65LFLAGS_PDB = /incremental:no /opt:ref,icf
66
67CFLAGS_LIBCURL_STATIC  = /DCURL_STATICLIB
68
69WIN_LIBS    = ws2_32.lib wldap32.lib advapi32.lib
70
71BASE_NAME              = libcurl
72BASE_NAME_DEBUG        = $(BASE_NAME)_debug
73BASE_NAME_STATIC       = $(BASE_NAME)_a
74BASE_NAME_STATIC_DEBUG = $(BASE_NAME_STATIC)_debug
75
76LIB_NAME_STATIC        = $(BASE_NAME_STATIC).lib
77LIB_NAME_STATIC_DEBUG  = $(BASE_NAME_STATIC_DEBUG).lib
78LIB_NAME_DLL           = $(BASE_NAME).dll
79LIB_NAME_IMP           = $(BASE_NAME).lib
80LIB_NAME_DLL_DEBUG     = $(BASE_NAME_DEBUG).dll
81LIB_NAME_IMP_DEBUG     = $(BASE_NAME_DEBUG).lib
82
83PDB_NAME_STATIC        = $(BASE_NAME_STATIC).pdb
84PDB_NAME_STATIC_DEBUG  = $(BASE_NAME_STATIC_DEBUG).pdb
85PDB_NAME_DLL           = $(BASE_NAME).pdb
86PDB_NAME_DLL_DEBUG     = $(BASE_NAME_DEBUG).pdb
87
88# CURL Command section
89PROGRAM_NAME = curl.exe
90CURL_CFLAGS   =  /I../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c
91CURL_LFLAGS   = /nologo /out:$(DIRDIST)\bin\$(PROGRAM_NAME) /subsystem:console /machine:$(MACHINE)
92CURL_RESFLAGS = /i../include
93
94#############################################################
95## Nothing more to do below this line!
96LIBCURL_SRC_DIR = ..\lib
97CURL_SRC_DIR = ..\src
98
99!IFNDEF WITH_DEVEL
100WITH_DEVEL          = ../../deps
101!ENDIF
102DEVEL_INCLUDE  = $(WITH_DEVEL)/include
103DEVEL_LIB      = $(WITH_DEVEL)/lib
104DEVEL_BIN      = $(WITH_DEVEL)/bin
105
106CFLAGS         = $(CFLAGS) /I"$(DEVEL_INCLUDE)"
107LFLAGS         = $(LFLAGS) "/LIBPATH:$(DEVEL_LIB)"
108
109
110!IF "$(WITH_SSL)"=="dll"
111SSL_LIBS     = libeay32.lib ssleay32.lib
112USE_SSL      = true
113SSL          = dll
114!ELSEIF "$(WITH_SSL)"=="static"
115SSL_LIBS     = libeay32.lib ssleay32.lib gdi32.lib user32.lib crypt32.lib
116USE_SSL      = true
117SSL          = static
118!ENDIF
119
120!IFDEF USE_SSL
121SSL_CFLAGS   = /DUSE_OPENSSL /I"$(DEVEL_INCLUDE)/openssl"
122!ENDIF
123
124!IF "$(WITH_CARES)"=="dll"
125!IF "$(DEBUG)"=="yes"
126CARES_LIBS     = caresd.lib
127!ELSE
128CARES_LIBS     = cares.lib
129!ENDIF
130USE_CARES      = true
131CARES          = dll
132!ELSEIF "$(WITH_CARES)"=="static"
133!IF "$(DEBUG)"=="yes"
134CARES_LIBS     = libcaresd.lib
135!ELSE
136CARES_LIBS     = libcares.lib
137!ENDIF
138USE_CARES      = true
139CARES          = static
140!ENDIF
141
142!IFDEF USE_CARES
143CARES_CFLAGS   = /DUSE_ARES /I"$(DEVEL_INCLUDE)/cares"
144!ENDIF
145
146!IF "$(WITH_ZLIB)"=="dll"
147ZLIB_LIBS   = zlib.lib
148USE_ZLIB    = true
149ZLIB        = dll
150!ELSEIF "$(WITH_ZLIB)"=="static"
151ZLIB_LIBS   = zlib_a.lib
152USE_ZLIB    = true
153ZLIB        = static
154!ENDIF
155
156!IFDEF USE_ZLIB
157ZLIB_CFLAGS = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ
158!ENDIF
159
160
161!IF "$(WITH_SSH2)"=="dll"
162SSH2_LIBS   = libssh2.lib
163USE_SSH2    = true
164SSH2        = dll
165!ELSEIF "$(WITH_SSH2)"=="static"
166SSH2_LIBS   = libssh2_a.lib user32.lib
167USE_SSH2    = true
168SSH2        = static
169!ENDIF
170
171!IFDEF USE_SSH2
172SSH2_CFLAGS = /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /DUSE_LIBSSH2
173SSH2_CFLAGS = $(SSH2_CFLAGS) /I$(WITH_DEVEL)/include/libssh2
174!ENDIF
175
176
177!IFNDEF USE_IDN
178USE_IDN   = true
179!ELSEIF "$(USE_IDN)"=="yes"
180USE_IDN   = true
181!ENDIF
182
183!IF "$(USE_IDN)"=="true"
184IDN_CFLAGS = $(IDN_CFLAGS) /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES
185WIN_LIBS   = $(WIN_LIBS) Normaliz.lib
186!ENDIF
187
188
189!IFNDEF USE_IPV6
190USE_IPV6  = true
191!ELSEIF "$(USE_IPV6)"=="yes"
192USE_IPV6  = true
193!ENDIF
194
195!IF "$(USE_IPV6)"=="true"
196IPV6_CFLAGS = $(IPV6_CFLAGS) /DUSE_IPV6
197!ENDIF
198
199
200!IFNDEF USE_SSPI
201USE_SSPI  = true
202!ELSEIF "$(USE_SSPI)"=="yes"
203USE_SSPI  = true
204!ENDIF
205
206!IF "$(USE_SSPI)"=="true"
207SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_WINDOWS_SSPI
208!ENDIF
209
210
211!IFNDEF USE_WINSSL
212!IF "$(USE_SSL)"=="true"
213USE_WINSSL  = false
214!ELSE
215USE_WINSSL  = $(USE_SSPI)
216!ENDIF
217!ELSEIF "$(USE_WINSSL)"=="yes"
218USE_WINSSL  = true
219!ENDIF
220
221
222!IF "$(USE_WINSSL)"=="true"
223!IF "$(USE_SSPI)"!="true"
224!ERROR cannot build with WinSSL without SSPI
225!ENDIF
226SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_SCHANNEL
227WIN_LIBS    = $(WIN_LIBS) Crypt32.lib
228!ENDIF
229
230
231!IF "$(GEN_PDB)"=="yes"
232GEN_PDB = true
233!ENDIF
234
235
236!IFDEF EMBED_MANIFEST
237MANIFESTTOOL = mt -manifest $(DIRDIST)\$(PROGRAM_NAME).manifest -outputresource:$(DIRDIST)\$(PROGRAM_NAME);1
238!ENDIF
239
240# Runtime library configuration
241!IF "$(RTLIBCFG)"=="static"
242RTLIB = /MT
243RTLIB_DEBUG = /MTd
244!ELSE
245RTLIB = /MD
246RTLIB_DEBUG  = /MDd
247!ENDIF
248
249!IF "$(MODE)"=="static"
250TARGET = $(LIB_NAME_STATIC)
251CURL_LIBCURL_LIBNAME=$(LIB_NAME_STATIC)
252AS_DLL = false
253CFGSET = true
254!ELSEIF "$(MODE)"=="dll"
255TARGET = $(LIB_NAME_DLL)
256CURL_LIBCURL_LIBNAME=$(LIB_NAME_IMP)
257AS_DLL = true
258CFGSET = true
259!ENDIF
260
261!IF "$(CFGSET)" == "FALSE"
262!ERROR please choose a valid mode
263!ENDIF
264
265
266
267# CURL_XX macros are for the curl.exe command
268
269!IF "$(DEBUG)"=="yes"
270RC_FLAGS = /dDEBUGBUILD=1 /Fo $@ $(LIBCURL_SRC_DIR)\libcurl.rc
271CC              = $(CC_DEBUG) $(RTLIB_DEBUG)
272
273CURL_CC         = $(CC)
274CURL_RC_FLAGS = /i../include /dDEBUGBUILD=1 /Fo $@ $(CURL_SRC_DIR)\curl.rc
275!ELSE
276RC_FLAGS = /dDEBUGBUILD=0 /Fo $@ $(LIBCURL_SRC_DIR)\libcurl.rc
277CC              = $(CC_NODEBUG) $(RTLIB)
278
279CURL_CC         = $(CC)
280CURL_RC_FLAGS = /i../include /dDEBUGBUILD=0 /Fo $@ $(CURL_SRC_DIR)\curl.rc
281!ENDIF
282
283CURL_CC = $(CURL_CC) $(CURL_CFLAGS)
284
285!IF "$(AS_DLL)" == "true"
286
287LNK       = $(LNKDLL) $(WIN_LIBS) /out:$(LIB_DIROBJ)\$(TARGET)
288!IF "$(DEBUG)"=="yes"
289TARGET    = $(LIB_NAME_DLL_DEBUG)
290LNK       = $(LNK) /DEBUG /IMPLIB:$(LIB_DIROBJ)\$(LIB_NAME_IMP_DEBUG)
291PDB       = $(PDB_NAME_DLL_DEBUG)
292CURL_LIBS = /IMPLIB:$(LIB_DIROBJ)\$(LIB_NAME_IMP_DEBUG)
293!ELSE
294TARGET    = $(LIB_NAME_DLL)
295LNK       = $(LNK)  /IMPLIB:$(LIB_DIROBJ)\$(LIB_NAME_IMP)
296PDB       = $(PDB_NAME_DLL)
297CURL_LIBS = /IMPLIB:$(LIB_DIROBJ)\$(LIB_NAME_IMP)
298!ENDIF
299RESOURCE  = $(LIB_DIROBJ)\libcurl.res
300
301# AS_DLL
302!ELSE
303
304!IF "$(DEBUG)"=="yes"
305TARGET   = $(LIB_NAME_STATIC_DEBUG)
306PDB      = $(PDB_NAME_STATIC_DEBUG)
307!ELSE
308TARGET   = $(LIB_NAME_STATIC)
309PDB      = $(PDB_NAME_STATIC)
310!ENDIF
311LNK      = $(LNKLIB) $(WIN_LIBS) /out:$(LIB_DIROBJ)\$(TARGET)
312CC       = $(CC) $(CFLAGS_LIBCURL_STATIC)
313
314# AS_DLL
315!ENDIF
316
317!IF "$(USE_SSL)"=="true"
318CFLAGS = $(CFLAGS) $(SSL_CFLAGS)
319LFLAGS = $(LFLAGS) $(SSL_LFLAGS) $(SSL_LIBS)
320!ENDIF
321
322!IF "$(USE_CARES)"=="true"
323CFLAGS = $(CFLAGS) $(CARES_CFLAGS)
324LFLAGS = $(LFLAGS) $(CARES_LFLAGS) $(CARES_LIBS)
325!ENDIF
326
327!IF "$(USE_ZLIB)"=="true"
328CFLAGS = $(CFLAGS) $(ZLIB_CFLAGS)
329LFLAGS = $(LFLAGS) $(ZLIB_LFLAGS) $(ZLIB_LIBS)
330!ENDIF
331
332!IF "$(USE_SSH2)"=="true"
333CFLAGS = $(CFLAGS) $(SSH2_CFLAGS)
334LFLAGS = $(LFLAGS) $(SSH2_LFLAGS) $(SSH2_LIBS)
335!ENDIF
336
337!IF "$(USE_IDN)"=="true"
338CFLAGS = $(CFLAGS) $(IDN_CFLAGS)
339!ENDIF
340
341!IF "$(USE_IPV6)"=="true"
342CFLAGS = $(CFLAGS) $(IPV6_CFLAGS)
343!ENDIF
344
345!IF "$(USE_SSPI)"=="true"
346CFLAGS = $(CFLAGS) $(SSPI_CFLAGS)
347!ENDIF
348
349!IF "$(GEN_PDB)"=="true"
350CFLAGS = $(CFLAGS) $(CFLAGS_PDB) /Fd"$(LIB_DIROBJ)\$(PDB)"
351LFLAGS = $(LFLAGS) $(LFLAGS_PDB)
352!ENDIF
353
354LIB_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-lib
355CURL_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-curl
356DIRDIST = ..\builds\$(CONFIG_NAME_LIB)\
357
358#
359# curl.exe
360#
361CURL_LINK = link.exe /incremental:no /libpath:"$(DIRDIST)\lib"
362
363#!IF "$(CFG)" == "release-ssh2-ssl-dll-zlib"
364#TARGET   = $(LIB_NAME_STATIC)
365#LNK      = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBS)  $(SSH2LIBS) $(SSL_LFLAGS) $(ZLIB_LFLAGS) $(LFLAGSSSH) /out:$(LIB_DIROBJ)\$(TARGET)
366#CC       = $(CCNODBG) $(RTLIB) $(SSL_CFLAGS) $(ZLIB_CFLAGS) $(CFLAGSLIB)  $(SSH2_CFLAGS)
367#CFGSET   = TRUE
368#!ENDIF
369
370#######################
371# Only the clean target can be used if a config was not provided.
372#
373!IF "$(CFGSET)" == "FALSE"
374clean:
375	@-erase /s *.dll 2> NUL
376	@-erase /s *.exp 2> NUL
377	@-erase /s *.idb 2> NUL
378	@-erase /s *.lib 2> NUL
379	@-erase /s *.obj 2> NUL
380	@-erase /s *.pch 2> NUL
381	@-erase /s *.pdb 2> NUL
382	@-erase /s *.res 2> NUL
383!ELSE
384# A mode was provided, so the library can be built.
385#
386!include CURL_OBJS.inc
387!include LIBCURL_OBJS.inc
388
389!IF "$(AS_DLL)" == "true"
390LIB_OBJS = $(LIBCURL_OBJS) $(RESOURCE)
391!ELSE
392LIB_OBJS = $(LIBCURL_OBJS)
393!ENDIF
394
395EXE_OBJS = $(CURL_OBJS) $(CURL_DIROBJ)\curl.res
396
397all : $(TARGET) $(PROGRAM_NAME)
398
399package: $(TARGET)
400	@cd $(DIRDIST)
401	@-$(ZIP) -9 -q -r ..\$(CONFIG_NAME_LIB).zip .>nul 2<&1
402	@cd $(MAKEDIR)
403
404$(TARGET): $(LIB_OBJS) $(LIB_DIROBJ) $(DISTDIR)
405	@echo Using SSL: $(USE_SSL)
406	@echo Using c-ares: $(USE_CARES)
407	@echo Using SSH2: $(USE_SSH2)
408	@echo Using ZLIB: $(USE_ZLIB)
409	@echo Using IDN:  $(USE_IDN)
410	@echo Using IPv6: $(USE_IPV6)
411	@echo Using SSPI: $(USE_SSPI)
412	@echo Using WinSSL: $(USE_WINSSL)
413	@echo CFLAGS:     $(CFLAGS)
414	@echo LFLAGS:     $(LFLAGS)
415	@echo GenPDB:     $(GEN_PDB)
416	@echo Debug:      $(DEBUG)
417	@echo Machine:    $(MACHINE)
418	$(LNK) $(LFLAGS) $(LIB_OBJS)
419	@echo Copying libs...
420	@if exist $(LIB_DIROBJ)\$(LIB_NAME_DLL) copy $(LIB_DIROBJ)\$(LIB_NAME_DLL)       $(DIRDIST)\bin\ /y >nul 2<&1
421	@if exist $(LIB_DIROBJ)\$(LIB_NAME_STATIC) copy $(LIB_DIROBJ)\$(LIB_NAME_STATIC)    $(DIRDIST)\lib\ /y >nul 2<&1
422	@if exist $(LIB_DIROBJ)\$(LIB_NAME_DLL_DEBUG) copy $(LIB_DIROBJ)\$(LIB_NAME_DLL_DEBUG) $(DIRDIST)\bin\ /y >nul 2<&1
423	@if exist $(LIB_DIROBJ)\$(LIB_NAME_STATIC_DEBUG) copy $(LIB_DIROBJ)\$(LIB_NAME_STATIC_DEBUG) $(DIRDIST)\lib\ /y >nul 2<&1
424	@if exist $(LIB_DIROBJ)\$(LIB_NAME_IMP) copy $(LIB_DIROBJ)\$(LIB_NAME_IMP)       $(DIRDIST)\lib\ /y >nul 2<&1
425	@if exist $(LIB_DIROBJ)\$(LIB_NAME_IMP_DEBUG) copy $(LIB_DIROBJ)\$(LIB_NAME_IMP_DEBUG) $(DIRDIST)\lib >nul 2<&1
426	@-copy $(LIB_DIROBJ)\*.exp                 $(DIRDIST)\lib /y >nul 2<&1
427	@-copy $(LIB_DIROBJ)\*.pdb                 $(DIRDIST)\lib /y >nul 2<&1
428	@-copy ..\include\curl\*.h   $(DIRDIST)\include\curl\ /y  >nul 2<&1
429
430$(LIB_OBJS): $(LIB_DIROBJ) $(DIRDIST)
431
432$(DIRDIST):
433	@if not exist "$(DIRDIST)\bin" mkdir $(DIRDIST)\bin
434	@if not exist "$(DIRDIST)\include" mkdir $(DIRDIST)\include
435	@if not exist "$(DIRDIST)\include\curl" mkdir $(DIRDIST)\include\curl
436	@if not exist "$(DIRDIST)\lib" mkdir $(DIRDIST)\lib
437
438$(LIB_DIROBJ):
439	@if not exist "$(LIB_DIROBJ)" mkdir $(LIB_DIROBJ)
440	@if not exist "$(LIB_DIROBJ)\vauth" mkdir $(LIB_DIROBJ)\vauth
441	@if not exist "$(LIB_DIROBJ)\vtls" mkdir $(LIB_DIROBJ)\vtls
442
443$(CURL_DIROBJ):
444	@if not exist "$(CURL_DIROBJ)" mkdir $(CURL_DIROBJ)
445# we need a lib dir for the portability functions from libcurl
446# we use the .c directly here
447	@if not exist "$(CURL_DIROBJ)" mkdir $(CURL_DIROBJ)\lib
448
449.SUFFIXES: .c .obj .res
450
451{$(LIBCURL_SRC_DIR)\}.c{$(LIB_DIROBJ)\}.obj:
452	$(CC) $(CFLAGS) /Fo"$@"  $<
453
454{$(LIBCURL_SRC_DIR)\vauth\}.c{$(LIB_DIROBJ)\vauth\}.obj:
455	$(CC) $(CFLAGS) /Fo"$@"  $<
456
457{$(LIBCURL_SRC_DIR)\vtls\}.c{$(LIB_DIROBJ)\vtls\}.obj:
458	$(CC) $(CFLAGS) /Fo"$@"  $<
459
460$(LIB_DIROBJ)\libcurl.res: $(LIBCURL_SRC_DIR)\libcurl.rc
461	rc $(RC_FLAGS)
462
463#
464# curl.exe
465#
466
467
468!IF "$(MODE)"=="static"
469!IF "$(DEBUG)"=="yes"
470CURL_LIBCURL_LIBNAME=$(LIB_NAME_STATIC_DEBUG)
471!ELSE
472CURL_LIBCURL_LIBNAME=$(LIB_NAME_STATIC)
473!ENDIF
474!ELSEIF "$(MODE)"=="dll"
475!IF "$(DEBUG)"=="yes"
476CURL_LIBCURL_LIBNAME=$(LIB_NAME_IMP_DEBUG)
477!ELSE
478CURL_LIBCURL_LIBNAME=$(LIB_NAME_IMP)
479!ENDIF
480!ENDIF
481
482CURL_FROM_LIBCURL=$(CURL_DIROBJ)\tool_hugehelp.obj \
483 $(CURL_DIROBJ)\nonblock.obj \
484 $(CURL_DIROBJ)\rawstr.obj \
485 $(CURL_DIROBJ)\strtoofft.obj \
486 $(CURL_DIROBJ)\warnless.obj
487
488$(PROGRAM_NAME): $(CURL_DIROBJ) $(CURL_FROM_LIBCURL) $(EXE_OBJS)
489	$(CURL_LINK) $(CURL_LFLAGS) $(CURL_LIBCURL_LIBNAME) $(WIN_LIBS) $(CURL_FROM_LIBCURL) $(EXE_OBJS)
490	$(MANIFESTTOOL)
491
492{$(CURL_SRC_DIR)\}.c{$(CURL_DIROBJ)\}.obj:
493	$(CC) $(CURL_CFLAGS) /Fo"$@"  $<
494
495$(CURL_DIROBJ)\tool_hugehelp.obj: $(CURL_SRC_DIR)\tool_hugehelp.c
496	$(CURL_CC) $(CURL_CFLAGS) /Zm200 /Fo"$@" $(CURL_SRC_DIR)\tool_hugehelp.c
497$(CURL_DIROBJ)\nonblock.obj: ../lib/nonblock.c
498	$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/nonblock.c
499$(CURL_DIROBJ)\rawstr.obj: ../lib/rawstr.c
500	$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/rawstr.c
501$(CURL_DIROBJ)\strtoofft.obj: ../lib/strtoofft.c
502	$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/strtoofft.c
503$(CURL_DIROBJ)\warnless.obj: ../lib/warnless.c
504	$(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/warnless.c
505$(CURL_DIROBJ)\curl.res: $(CURL_SRC_DIR)\curl.rc
506	rc $(CURL_RC_FLAGS)
507
508!ENDIF  # End of case where a config was provided.
509