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