MakefileBuild.vc 13 KB

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