Makefile.dist 17 KB

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