1#*************************************************************************** 2# _ _ ____ _ 3# Project ___| | | | _ \| | 4# / __| | | | |_) | | 5# | (__| |_| | _ <| |___ 6# \___|\___/|_| \_\_____| 7# 8# Copyright (C) 1998 - 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 23VC=vc6 24 25all: 26 ./configure 27 make 28 29ssl: 30 ./configure --with-ssl 31 make 32 33borland: 34 cd lib 35 $(MAKE) -f Makefile.b32 36 cd ..\src 37 $(MAKE) -f Makefile.b32 38 39borland-ssl: 40 cd lib 41 $(MAKE) -f Makefile.b32 WITH_SSL=1 42 cd ..\src 43 $(MAKE) -f Makefile.b32 WITH_SSL=1 44 45borland-ssl-zlib: 46 cd lib 47 $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1 48 cd ..\src 49 $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1 50 51borland-clean: 52 cd lib 53 $(MAKE) -f Makefile.b32 clean 54 cd ..\src 55 $(MAKE) -f Makefile.b32 clean 56 57watcom: .SYMBOLIC 58 cd lib && $(MAKE) -u -f Makefile.Watcom 59 cd src && $(MAKE) -u -f Makefile.Watcom 60 61watcom-clean: .SYMBOLIC 62 cd lib && $(MAKE) -u -f Makefile.Watcom clean 63 cd src && $(MAKE) -u -f Makefile.Watcom clean 64 65watcom-vclean: .SYMBOLIC 66 cd lib && $(MAKE) -u -f Makefile.Watcom vclean 67 cd src && $(MAKE) -u -f Makefile.Watcom vclean 68 69mingw32: 70 $(MAKE) -C lib -f Makefile.m32 71 $(MAKE) -C src -f Makefile.m32 72 73mingw32-clean: 74 $(MAKE) -C lib -f Makefile.m32 clean 75 $(MAKE) -C src -f Makefile.m32 clean 76 $(MAKE) -C docs/examples -f Makefile.m32 clean 77 78mingw32-vclean mingw32-distclean: 79 $(MAKE) -C lib -f Makefile.m32 vclean 80 $(MAKE) -C src -f Makefile.m32 vclean 81 $(MAKE) -C docs/examples -f Makefile.m32 vclean 82 83mingw32-examples%: 84 $(MAKE) -C docs/examples -f Makefile.m32 CFG=$@ 85 86mingw32%: 87 $(MAKE) -C lib -f Makefile.m32 CFG=$@ 88 $(MAKE) -C src -f Makefile.m32 CFG=$@ 89 90vc-clean: $(VC) 91 cd lib 92 nmake -f Makefile.$(VC) clean 93 cd ..\src 94 nmake -f Makefile.$(VC) clean 95 96vc-all: $(VC) 97 cd lib 98 nmake -f Makefile.$(VC) cfg=release 99 nmake -f Makefile.$(VC) cfg=release-ssl 100 nmake -f Makefile.$(VC) cfg=release-zlib 101 nmake -f Makefile.$(VC) cfg=release-ssl-zlib 102 nmake -f Makefile.$(VC) cfg=release-ssl-dll 103 nmake -f Makefile.$(VC) cfg=release-zlib-dll 104 nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll 105 nmake -f Makefile.$(VC) cfg=release-dll 106 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll 107 nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll 108 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll 109 nmake -f Makefile.$(VC) cfg=debug 110 nmake -f Makefile.$(VC) cfg=debug-ssl 111 nmake -f Makefile.$(VC) cfg=debug-zlib 112 nmake -f Makefile.$(VC) cfg=debug-ssl-zlib 113 nmake -f Makefile.$(VC) cfg=debug-ssl-dll 114 nmake -f Makefile.$(VC) cfg=debug-zlib-dll 115 nmake -f Makefile.$(VC) cfg=debug-ssl-dll-zlib-dll 116 nmake -f Makefile.$(VC) cfg=debug-dll 117 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll 118 nmake -f Makefile.$(VC) cfg=debug-dll-zlib-dll 119 nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll-zlib-dll 120 121vc: $(VC) 122 cd lib 123 nmake /f Makefile.$(VC) cfg=release 124 cd ..\src 125 nmake /f Makefile.$(VC) 126 127vc-x64: $(VC) 128 cd lib 129 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release 130 cd ..\src 131 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release 132 133vc-sspi: $(VC) 134 cd lib 135 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1 136 cd ..\src 137 nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1 138 139vc-x64-sspi: $(VC) 140 cd lib 141 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release WINDOWS_SSPI=1 142 cd ..\src 143 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release WINDOWS_SSPI=1 144 145vc-idn: $(VC) 146 cd lib 147 nmake /f Makefile.$(VC) cfg=release USE_IDN=1 148 cd ..\src 149 nmake /f Makefile.$(VC) cfg=release USE_IDN=1 150 151vc-x64-idn: $(VC) 152 cd lib 153 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release USE_IDN=1 154 cd ..\src 155 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release USE_IDN=1 156 157vc-idn-sspi: $(VC) 158 cd lib 159 nmake /f Makefile.$(VC) cfg=release USE_IDN=1 WINDOWS_SSPI=1 160 cd ..\src 161 nmake /f Makefile.$(VC) cfg=release USE_IDN=1 WINDOWS_SSPI=1 162 163vc-x64-idn-sspi: $(VC) 164 cd lib 165 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release USE_IDN=1 WINDOWS_SSPI=1 166 cd ..\src 167 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release USE_IDN=1 WINDOWS_SSPI=1 168 169vc-zlib: $(VC) 170 cd lib 171 nmake /f Makefile.$(VC) cfg=release-zlib 172 cd ..\src 173 nmake /f Makefile.$(VC) cfg=release-zlib 174 175vc-x64-zlib: $(VC) 176 cd lib 177 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib 178 cd ..\src 179 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib 180 181vc-zlib-sspi: $(VC) 182 cd lib 183 nmake /f Makefile.$(VC) cfg=release-zlib WINDOWS_SSPI=1 184 cd ..\src 185 nmake /f Makefile.$(VC) cfg=release-zlib WINDOWS_SSPI=1 186 187vc-x64-zlib-sspi: $(VC) 188 cd lib 189 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib WINDOWS_SSPI=1 190 cd ..\src 191 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib WINDOWS_SSPI=1 192 193vc-zlib-idn: $(VC) 194 cd lib 195 nmake /f Makefile.$(VC) cfg=release-zlib USE_IDN=1 196 cd ..\src 197 nmake /f Makefile.$(VC) cfg=release-zlib USE_IDN=1 198 199vc-x64-zlib-idn: $(VC) 200 cd lib 201 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib USE_IDN=1 202 cd ..\src 203 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib USE_IDN=1 204 205vc-zlib-idn-sspi: $(VC) 206 cd lib 207 nmake /f Makefile.$(VC) cfg=release-zlib USE_IDN=1 WINDOWS_SSPI=1 208 cd ..\src 209 nmake /f Makefile.$(VC) cfg=release-zlib USE_IDN=1 WINDOWS_SSPI=1 210 211vc-x64-zlib-idn-sspi: $(VC) 212 cd lib 213 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib USE_IDN=1 WINDOWS_SSPI=1 214 cd ..\src 215 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-zlib USE_IDN=1 WINDOWS_SSPI=1 216 217vc-ssl: $(VC) 218 cd lib 219 nmake /f Makefile.$(VC) cfg=release-ssl 220 cd ..\src 221 nmake /f Makefile.$(VC) cfg=release-ssl 222 223vc-x64-ssl: $(VC) 224 cd lib 225 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl 226 cd ..\src 227 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl 228 229vc-ssl-sspi: $(VC) 230 cd lib 231 nmake /f Makefile.$(VC) cfg=release-ssl WINDOWS_SSPI=1 232 cd ..\src 233 nmake /f Makefile.$(VC) cfg=release-ssl WINDOWS_SSPI=1 234 235vc-x64-ssl-sspi: $(VC) 236 cd lib 237 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl WINDOWS_SSPI=1 238 cd ..\src 239 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl WINDOWS_SSPI=1 240 241vc-ssl-idn: $(VC) 242 cd lib 243 nmake /f Makefile.$(VC) cfg=release-ssl USE_IDN=1 244 cd ..\src 245 nmake /f Makefile.$(VC) cfg=release-ssl USE_IDN=1 246 247vc-x64-ssl-idn: $(VC) 248 cd lib 249 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl USE_IDN=1 250 cd ..\src 251 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl USE_IDN=1 252 253vc-ssl-idn-sspi: $(VC) 254 cd lib 255 nmake /f Makefile.$(VC) cfg=release-ssl USE_IDN=1 WINDOWS_SSPI=1 256 cd ..\src 257 nmake /f Makefile.$(VC) cfg=release-ssl USE_IDN=1 WINDOWS_SSPI=1 258 259vc-x64-ssl-idn-sspi: $(VC) 260 cd lib 261 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl USE_IDN=1 WINDOWS_SSPI=1 262 cd ..\src 263 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl USE_IDN=1 WINDOWS_SSPI=1 264 265vc-ssl-zlib: $(VC) 266 cd lib 267 nmake /f Makefile.$(VC) cfg=release-ssl-zlib 268 cd ..\src 269 nmake /f Makefile.$(VC) cfg=release-ssl-zlib 270 271vc-x64-ssl-zlib: $(VC) 272 cd lib 273 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib 274 cd ..\src 275 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib 276 277vc-ssl-zlib-sspi: $(VC) 278 cd lib 279 nmake /f Makefile.$(VC) cfg=release-ssl-zlib WINDOWS_SSPI=1 280 cd ..\src 281 nmake /f Makefile.$(VC) cfg=release-ssl-zlib WINDOWS_SSPI=1 282 283vc-x64-ssl-zlib-sspi: $(VC) 284 cd lib 285 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib WINDOWS_SSPI=1 286 cd ..\src 287 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib WINDOWS_SSPI=1 288 289vc-ssl-zlib-idn: $(VC) 290 cd lib 291 nmake /f Makefile.$(VC) cfg=release-ssl-zlib USE_IDN=1 292 cd ..\src 293 nmake /f Makefile.$(VC) cfg=release-ssl-zlib USE_IDN=1 294 295vc-x64-ssl-zlib-idn: $(VC) 296 cd lib 297 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib USE_IDN=1 298 cd ..\src 299 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib USE_IDN=1 300 301vc-ssl-zlib-idn-sspi: $(VC) 302 cd lib 303 nmake /f Makefile.$(VC) cfg=release-ssl-zlib USE_IDN=1 WINDOWS_SSPI=1 304 cd ..\src 305 nmake /f Makefile.$(VC) cfg=release-ssl-zlib USE_IDN=1 WINDOWS_SSPI=1 306 307vc-x64-ssl-zlib-idn-sspi: $(VC) 308 cd lib 309 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib USE_IDN=1 WINDOWS_SSPI=1 310 cd ..\src 311 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib USE_IDN=1 WINDOWS_SSPI=1 312 313vc-ssl-ssh2-zlib: $(VC) 314 cd lib 315 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib 316 cd ..\src 317 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib 318 319vc-x64-ssl-ssh2-zlib: $(VC) 320 cd lib 321 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib 322 cd ..\src 323 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib 324 325vc-ssl-ssh2-zlib-sspi: $(VC) 326 cd lib 327 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib WINDOWS_SSPI=1 328 cd ..\src 329 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib WINDOWS_SSPI=1 330 331vc-x64-ssl-ssh2-zlib-sspi: $(VC) 332 cd lib 333 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib WINDOWS_SSPI=1 334 cd ..\src 335 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib WINDOWS_SSPI=1 336 337vc-ssl-ssh2-zlib-idn: $(VC) 338 cd lib 339 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib USE_IDN=1 340 cd ..\src 341 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib USE_IDN=1 342 343vc-x64-ssl-ssh2-zlib-idn: $(VC) 344 cd lib 345 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib USE_IDN=1 346 cd ..\src 347 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib USE_IDN=1 348 349vc-ssl-ssh2-zlib-idn-sspi: $(VC) 350 cd lib 351 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib USE_IDN=1 WINDOWS_SSPI=1 352 cd ..\src 353 nmake /f Makefile.$(VC) cfg=release-ssl-ssh2-zlib USE_IDN=1 WINDOWS_SSPI=1 354 355vc-x64-ssl-ssh2-zlib-idn-sspi: $(VC) 356 cd lib 357 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib USE_IDN=1 WINDOWS_SSPI=1 358 cd ..\src 359 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-ssh2-zlib USE_IDN=1 WINDOWS_SSPI=1 360 361vc-winssl: $(VC) 362 cd lib 363 nmake /f Makefile.$(VC) cfg=release-winssl WINDOWS_SSPI=1 364 cd ..\src 365 nmake /f Makefile.$(VC) cfg=release-winssl WINDOWS_SSPI=1 366 367vc-x64-winssl: $(VC) 368 cd lib 369 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl WINDOWS_SSPI=1 370 cd ..\src 371 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl WINDOWS_SSPI=1 372 373vc-winssl-idn: $(VC) 374 cd lib 375 nmake /f Makefile.$(VC) cfg=release-winssl USE_IDN=1 WINDOWS_SSPI=1 376 cd ..\src 377 nmake /f Makefile.$(VC) cfg=release-winssl USE_IDN=1 WINDOWS_SSPI=1 378 379vc-x64-winssl-idn: $(VC) 380 cd lib 381 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl USE_IDN=1 WINDOWS_SSPI=1 382 cd ..\src 383 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl USE_IDN=1 WINDOWS_SSPI=1 384 385vc-winssl-zlib: $(VC) 386 cd lib 387 nmake /f Makefile.$(VC) cfg=release-winssl-zlib WINDOWS_SSPI=1 388 cd ..\src 389 nmake /f Makefile.$(VC) cfg=release-winssl-zlib WINDOWS_SSPI=1 390 391vc-x64-winssl-zlib: $(VC) 392 cd lib 393 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl-zlib WINDOWS_SSPI=1 394 cd ..\src 395 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl-zlib WINDOWS_SSPI=1 396 397vc-winssl-zlib-idn: $(VC) 398 cd lib 399 nmake /f Makefile.$(VC) cfg=release-winssl-zlib USE_IDN=1 WINDOWS_SSPI=1 400 cd ..\src 401 nmake /f Makefile.$(VC) cfg=release-winssl-zlib USE_IDN=1 WINDOWS_SSPI=1 402 403vc-x64-winssl-zlib-idn: $(VC) 404 cd lib 405 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl-zlib USE_IDN=1 WINDOWS_SSPI=1 406 cd ..\src 407 nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-winssl-zlib USE_IDN=1 WINDOWS_SSPI=1 408 409vc-ssl-dll: $(VC) 410 cd lib 411 nmake /f Makefile.$(VC) cfg=release-ssl-dll 412 cd ..\src 413 nmake /f Makefile.$(VC) cfg=release-ssl-dll 414 415vc-dll-ssl-dll: $(VC) 416 cd lib 417 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll 418 cd ..\src 419 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll 420 421vc-dll: $(VC) 422 cd lib 423 nmake /f Makefile.$(VC) cfg=release-dll 424 cd ..\src 425 nmake /f Makefile.$(VC) cfg=release-dll 426 427vc-dll-zlib-dll: $(VC) 428 cd lib 429 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll 430 cd ..\src 431 nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll 432 433vc-dll-ssl-dll-zlib-dll: $(VC) 434 cd lib 435 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll 436 cd ..\src 437 nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll 438 439vc-ssl-dll-zlib-dll: $(VC) 440 cd lib 441 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll 442 cd ..\src 443 nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll 444 445vc-zlib-dll: $(VC) 446 cd lib 447 nmake /f Makefile.$(VC) cfg=release-zlib-dll 448 cd ..\src 449 nmake /f Makefile.$(VC) cfg=release-zlib-dll 450 451djgpp: 452 $(MAKE) -C lib -f Makefile.dj 453 $(MAKE) -C src -f Makefile.dj 454 455cygwin: 456 ./configure 457 make 458 459cygwin-ssl: 460 ./configure --with-ssl 461 make 462 463amiga: 464 cd ./lib && make -f makefile.amiga 465 cd ./src && make -f makefile.amiga 466 467netware: 468 $(MAKE) -C lib -f Makefile.netware 469 $(MAKE) -C src -f Makefile.netware 470 471netware-clean: 472 $(MAKE) -C lib -f Makefile.netware clean 473 $(MAKE) -C src -f Makefile.netware clean 474 $(MAKE) -C docs/examples -f Makefile.netware clean 475 476netware-vclean netware-distclean: 477 $(MAKE) -C lib -f Makefile.netware vclean 478 $(MAKE) -C src -f Makefile.netware vclean 479 $(MAKE) -C docs/examples -f Makefile.netware vclean 480 481netware-install: 482 $(MAKE) -C lib -f Makefile.netware install 483 $(MAKE) -C src -f Makefile.netware install 484 485netware-examples-%: 486 $(MAKE) -C docs/examples -f Makefile.netware CFG=$@ 487 488netware-%: 489 $(MAKE) -C lib -f Makefile.netware CFG=$@ 490 $(MAKE) -C src -f Makefile.netware CFG=$@ 491 492unix: all 493 494unix-ssl: ssl 495 496linux: all 497 498linux-ssl: ssl 499 500# We don't need to do anything for vc6. 501vc6: 502 503# VC7 makefiles are for use with VS.NET and VS.NET 2003 504vc7: lib/Makefile.vc7 src/Makefile.vc7 505 506lib/Makefile.vc7: lib/Makefile.vc6 507 @echo "generate $@" 508 @sed -e "s/VC6/VC7/g" lib/Makefile.vc6 > lib/Makefile.vc7 509 510src/Makefile.vc7: src/Makefile.vc6 511 @echo "generate $@" 512 @sed -e "s/VC6/VC7/g" src/Makefile.vc6 > src/Makefile.vc7 513 514# VC8 makefiles are for use with VS2005 515vc8: lib/Makefile.vc8 src/Makefile.vc8 516 517lib/Makefile.vc8: lib/Makefile.vc6 518 @echo "generate $@" 519 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" lib/Makefile.vc6 > lib/Makefile.vc8 520 521src/Makefile.vc8: src/Makefile.vc6 522 @echo "generate $@" 523 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" src/Makefile.vc6 > src/Makefile.vc8 524 525# VC9 makefiles are for use with VS2008 526vc9: lib/Makefile.vc9 src/Makefile.vc9 527 528lib/Makefile.vc9: lib/Makefile.vc6 529 @echo "generate $@" 530 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" lib/Makefile.vc6 > lib/Makefile.vc9 531 532src/Makefile.vc9: src/Makefile.vc6 533 @echo "generate $@" 534 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" src/Makefile.vc6 > src/Makefile.vc9 535 536# VC10 makefiles are for use with VS2010 537vc10: lib/Makefile.vc10 src/Makefile.vc10 538 539lib/Makefile.vc10: lib/Makefile.vc6 540 @echo "generate $@" 541 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc10/g" -e "s/VC6/VC10/g" lib/Makefile.vc6 > lib/Makefile.vc10 542 543src/Makefile.vc10: src/Makefile.vc6 544 @echo "generate $@" 545 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc10/g" -e "s/VC6/VC10/g" src/Makefile.vc6 > src/Makefile.vc10 546 547# VC11 makefiles are for use with VS2012 548vc11: lib/Makefile.vc11 src/Makefile.vc11 549 550lib/Makefile.vc11: lib/Makefile.vc6 551 @echo "generate $@" 552 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc11/g" -e "s/VC6/VC11/g" lib/Makefile.vc6 > lib/Makefile.vc11 553 554src/Makefile.vc11: src/Makefile.vc6 555 @echo "generate $@" 556 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc11/g" -e "s/VC6/VC11/g" src/Makefile.vc6 > src/Makefile.vc11 557 558# VC12 makefiles are for use with VS2013 559vc12: lib/Makefile.vc12 src/Makefile.vc12 560 561lib/Makefile.vc12: lib/Makefile.vc6 562 @echo "generate $@" 563 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc12/g" -e "s/VC6/VC12/g" lib/Makefile.vc6 > lib/Makefile.vc12 564 565src/Makefile.vc12: src/Makefile.vc6 566 @echo "generate $@" 567 @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc12/g" -e "s/VC6/VC12/g" src/Makefile.vc6 > src/Makefile.vc12 568 569ca-bundle: lib/mk-ca-bundle.pl 570 @echo "generate a fresh ca-bundle.crt" 571 @perl $< -b -l -u lib/ca-bundle.crt 572 573ca-firefox: lib/firefox-db2pem.sh 574 @echo "generate a fresh ca-bundle.crt" 575 ./lib/firefox-db2pem.sh lib/ca-bundle.crt 576