makefile.dj 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. #
  2. # Adapted for djgpp2 / Watt-32 / DOS by
  3. # Gisle Vanem <giva@bgnett.no>
  4. #
  5. # $Id$
  6. DEPEND_PREREQ = config.h
  7. include ../packages/DOS/common.dj
  8. # Makefile.inc provides the CSOURCES and HHEADERS defines
  9. include Makefile.inc
  10. OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
  11. CURL_LIB = libcurl.a
  12. all: $(OBJ_DIR) config.h $(CURL_LIB)
  13. $(CURL_LIB): $(OBJECTS)
  14. ar rs $@ $?
  15. config.h: config.dos
  16. cp $^ $@
  17. clean:
  18. - rm -f $(OBJECTS) Makefile.bak
  19. realclean vclean: clean
  20. - rm -f config.h $(CURL_LIB)
  21. # DO NOT DELETE THIS LINE
  22. $(OBJ_DIR)/file.o: file.c setup.h config.h setup_once.h urldata.h cookie.h \
  23. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  24. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  25. http_chunks.h hostip.h hash.h llist.h splay.h progress.h sendf.h \
  26. escape.h file.h speedcheck.h getinfo.h transfer.h url.h memory.h \
  27. parsedate.h ../include/curl/mprintf.h memdebug.h ./memory.h
  28. $(OBJ_DIR)/timeval.o: timeval.c timeval.h setup.h config.h setup_once.h
  29. $(OBJ_DIR)/base64.o: base64.c setup.h config.h setup_once.h \
  30. ../include/curl/mprintf.h ../include/curl/curl.h \
  31. ../include/curl/curlver.h ../include/curl/easy.h \
  32. ../include/curl/multi.h base64.h memory.h ../include/curl/curl.h \
  33. memdebug.h ./memory.h
  34. $(OBJ_DIR)/hostip.o: hostip.c setup.h config.h setup_once.h urldata.h cookie.h \
  35. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  36. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  37. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  38. strerror.h url.h inet_ntop.h ../include/curl/mprintf.h memory.h \
  39. memdebug.h ./memory.h
  40. $(OBJ_DIR)/progress.o: progress.c setup.h config.h setup_once.h \
  41. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  42. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  43. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  44. sendf.h progress.h ../include/curl/mprintf.h
  45. $(OBJ_DIR)/formdata.o: formdata.c setup.h config.h setup_once.h \
  46. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  47. ../include/curl/multi.h ../include/curl/curl.h formdata.h strequal.h \
  48. memory.h ../include/curl/mprintf.h memdebug.h ./memory.h
  49. $(OBJ_DIR)/cookie.o: cookie.c setup.h config.h setup_once.h \
  50. ../include/curl/mprintf.h ../include/curl/curl.h \
  51. ../include/curl/curlver.h ../include/curl/easy.h \
  52. ../include/curl/multi.h urldata.h cookie.h ../include/curl/curl.h \
  53. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  54. strequal.h strtok.h sendf.h memory.h share.h strtoofft.h memdebug.h \
  55. ./memory.h
  56. $(OBJ_DIR)/http.o: http.c setup.h config.h setup_once.h urldata.h cookie.h \
  57. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  58. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  59. http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h \
  60. progress.h base64.h strequal.h sslgen.h http_digest.h http_ntlm.h \
  61. http_negotiate.h url.h share.h http.h memory.h select.h parsedate.h \
  62. strtoofft.h multiif.h ../include/curl/mprintf.h memdebug.h ./memory.h
  63. $(OBJ_DIR)/sendf.o: sendf.c setup.h config.h setup_once.h ../include/curl/curl.h \
  64. ../include/curl/curlver.h ../include/curl/easy.h \
  65. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  66. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  67. sendf.h connect.h sslgen.h ../include/curl/mprintf.h memory.h \
  68. strerror.h easyif.h memdebug.h ./memory.h
  69. $(OBJ_DIR)/ftp.o: ftp.c setup.h config.h setup_once.h ../include/curl/curl.h \
  70. ../include/curl/curlver.h ../include/curl/easy.h \
  71. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  72. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  73. sendf.h easyif.h if2ip.h progress.h transfer.h escape.h http.h ftp.h \
  74. strtoofft.h strequal.h sslgen.h connect.h strerror.h memory.h \
  75. inet_ntop.h select.h parsedate.h sockaddr.h multiif.h \
  76. ../include/curl/mprintf.h memdebug.h ./memory.h
  77. $(OBJ_DIR)/url.o: url.c setup.h config.h setup_once.h urldata.h cookie.h \
  78. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  79. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  80. http_chunks.h hostip.h hash.h llist.h splay.h netrc.h base64.h sslgen.h \
  81. transfer.h sendf.h progress.h strequal.h strerror.h escape.h strtok.h \
  82. share.h content_encoding.h http_digest.h http_negotiate.h select.h \
  83. multiif.h ftp.h dict.h telnet.h tftp.h http.h file.h ldap.h url.h \
  84. connect.h inet_ntop.h http_ntlm.h ./ca-bundle.h \
  85. ../include/curl/mprintf.h memory.h memdebug.h ./memory.h
  86. $(OBJ_DIR)/dict.o: dict.c setup.h config.h setup_once.h urldata.h cookie.h \
  87. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  88. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  89. http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h \
  90. progress.h strequal.h dict.h ../include/curl/mprintf.h memdebug.h \
  91. ./memory.h
  92. $(OBJ_DIR)/if2ip.o: if2ip.c setup.h config.h setup_once.h if2ip.h inet_ntop.h \
  93. memory.h ../include/curl/curl.h ../include/curl/curlver.h \
  94. ../include/curl/easy.h ../include/curl/multi.h ../include/curl/curl.h \
  95. memdebug.h ./memory.h
  96. $(OBJ_DIR)/speedcheck.o: speedcheck.c setup.h config.h setup_once.h \
  97. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  98. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  99. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  100. sendf.h multiif.h speedcheck.h
  101. $(OBJ_DIR)/ldap.o: ldap.c setup.h config.h setup_once.h
  102. $(OBJ_DIR)/ssluse.o: ssluse.c setup.h config.h setup_once.h urldata.h cookie.h \
  103. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  104. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  105. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h url.h inet_pton.h \
  106. ssluse.h connect.h strequal.h select.h sslgen.h \
  107. ../include/curl/mprintf.h
  108. $(OBJ_DIR)/version.o: version.c setup.h config.h setup_once.h ../include/curl/curl.h \
  109. ../include/curl/curlver.h ../include/curl/easy.h \
  110. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  111. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  112. sslgen.h ../include/curl/mprintf.h
  113. $(OBJ_DIR)/getenv.o: getenv.c setup.h config.h setup_once.h ../include/curl/curl.h \
  114. ../include/curl/curlver.h ../include/curl/easy.h \
  115. ../include/curl/multi.h ../include/curl/curl.h memory.h memdebug.h \
  116. ./memory.h
  117. $(OBJ_DIR)/escape.o: escape.c setup.h config.h setup_once.h ../include/curl/curl.h \
  118. ../include/curl/curlver.h ../include/curl/easy.h \
  119. ../include/curl/multi.h ../include/curl/curl.h memory.h urldata.h \
  120. cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
  121. splay.h easyif.h ../include/curl/mprintf.h memdebug.h ./memory.h
  122. $(OBJ_DIR)/mprintf.o: mprintf.c setup.h config.h setup_once.h \
  123. ../include/curl/mprintf.h ../include/curl/curl.h \
  124. ../include/curl/curlver.h ../include/curl/easy.h \
  125. ../include/curl/multi.h memory.h ../include/curl/curl.h memdebug.h \
  126. ./memory.h
  127. $(OBJ_DIR)/telnet.o: telnet.c setup.h config.h setup_once.h urldata.h cookie.h \
  128. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  129. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  130. http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h \
  131. telnet.h connect.h ../include/curl/mprintf.h arpa_telnet.h memory.h \
  132. select.h memdebug.h ./memory.h
  133. $(OBJ_DIR)/netrc.o: netrc.c setup.h config.h setup_once.h ../include/curl/curl.h \
  134. ../include/curl/curlver.h ../include/curl/easy.h \
  135. ../include/curl/multi.h ../include/curl/curl.h netrc.h strequal.h \
  136. strtok.h memory.h ../include/curl/mprintf.h memdebug.h ./memory.h
  137. $(OBJ_DIR)/getinfo.o: getinfo.c setup.h config.h setup_once.h ../include/curl/curl.h \
  138. ../include/curl/curlver.h ../include/curl/easy.h \
  139. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  140. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  141. getinfo.h memory.h sslgen.h memdebug.h ./memory.h
  142. $(OBJ_DIR)/transfer.o: transfer.c setup.h config.h setup_once.h strtoofft.h \
  143. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  144. ../include/curl/multi.h ../include/curl/curl.h strequal.h urldata.h \
  145. cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
  146. splay.h netrc.h content_encoding.h transfer.h sendf.h speedcheck.h \
  147. progress.h http.h url.h getinfo.h sslgen.h http_digest.h http_ntlm.h \
  148. http_negotiate.h share.h memory.h select.h multiif.h easyif.h \
  149. ../include/curl/mprintf.h memdebug.h ./memory.h
  150. $(OBJ_DIR)/strequal.o: strequal.c setup.h config.h setup_once.h strequal.h \
  151. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  152. ../include/curl/multi.h ../include/curl/curl.h
  153. $(OBJ_DIR)/easy.o: easy.c setup.h config.h setup_once.h strequal.h \
  154. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  155. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  156. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  157. transfer.h sslgen.h url.h getinfo.h share.h strdup.h memory.h \
  158. progress.h easyif.h sendf.h ../include/curl/mprintf.h memdebug.h \
  159. ./memory.h
  160. $(OBJ_DIR)/security.o: security.c setup.h config.h setup_once.h
  161. $(OBJ_DIR)/krb4.o: krb4.c setup.h config.h setup_once.h
  162. $(OBJ_DIR)/memdebug.o: memdebug.c setup.h config.h setup_once.h \
  163. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  164. ../include/curl/multi.h ../include/curl/curl.h \
  165. ../include/curl/mprintf.h urldata.h cookie.h formdata.h timeval.h \
  166. http_chunks.h hostip.h hash.h llist.h splay.h memory.h memdebug.h \
  167. ./memory.h
  168. $(OBJ_DIR)/http_chunks.o: http_chunks.c setup.h config.h setup_once.h urldata.h \
  169. cookie.h ../include/curl/curl.h ../include/curl/curlver.h \
  170. ../include/curl/easy.h ../include/curl/multi.h ../include/curl/curl.h \
  171. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  172. sendf.h content_encoding.h http.h memory.h ../include/curl/mprintf.h \
  173. memdebug.h ./memory.h
  174. $(OBJ_DIR)/strtok.o: strtok.c setup.h config.h setup_once.h strtok.h
  175. $(OBJ_DIR)/connect.o: connect.c setup.h config.h setup_once.h urldata.h cookie.h \
  176. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  177. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  178. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h if2ip.h \
  179. strerror.h connect.h memory.h select.h url.h multiif.h sockaddr.h \
  180. inet_ntop.h memdebug.h ./memory.h
  181. $(OBJ_DIR)/llist.o: llist.c setup.h config.h setup_once.h llist.h memory.h \
  182. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  183. ../include/curl/multi.h ../include/curl/curl.h memdebug.h ./memory.h
  184. $(OBJ_DIR)/hash.o: hash.c setup.h config.h setup_once.h hash.h llist.h memory.h \
  185. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  186. ../include/curl/multi.h ../include/curl/curl.h memdebug.h ./memory.h
  187. $(OBJ_DIR)/multi.o: multi.c setup.h config.h setup_once.h ../include/curl/curl.h \
  188. ../include/curl/curlver.h ../include/curl/easy.h \
  189. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  190. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  191. transfer.h url.h connect.h progress.h memory.h easyif.h multiif.h \
  192. sendf.h memdebug.h ./memory.h
  193. $(OBJ_DIR)/content_encoding.o: content_encoding.c setup.h config.h setup_once.h
  194. $(OBJ_DIR)/share.o: share.c setup.h config.h setup_once.h ../include/curl/curl.h \
  195. ../include/curl/curlver.h ../include/curl/easy.h \
  196. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  197. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  198. share.h memory.h memdebug.h ./memory.h
  199. $(OBJ_DIR)/http_digest.o: http_digest.c setup.h config.h setup_once.h urldata.h \
  200. cookie.h ../include/curl/curl.h ../include/curl/curlver.h \
  201. ../include/curl/easy.h ../include/curl/multi.h ../include/curl/curl.h \
  202. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  203. sendf.h strequal.h base64.h md5.h http_digest.h strtok.h url.h memory.h \
  204. ../include/curl/mprintf.h memdebug.h ./memory.h
  205. $(OBJ_DIR)/md5.o: md5.c setup.h config.h setup_once.h md5.h
  206. $(OBJ_DIR)/http_negotiate.o: http_negotiate.c setup.h config.h setup_once.h
  207. $(OBJ_DIR)/http_ntlm.o: http_ntlm.c setup.h config.h setup_once.h
  208. $(OBJ_DIR)/inet_pton.o: inet_pton.c setup.h config.h setup_once.h
  209. $(OBJ_DIR)/strtoofft.o: strtoofft.c setup.h config.h setup_once.h strtoofft.h \
  210. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  211. ../include/curl/multi.h ../include/curl/curl.h
  212. $(OBJ_DIR)/strerror.o: strerror.c setup.h config.h setup_once.h \
  213. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  214. ../include/curl/multi.h ../include/curl/curl.h strerror.h urldata.h \
  215. cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
  216. splay.h ../include/curl/mprintf.h
  217. $(OBJ_DIR)/hostares.o: hostares.c setup.h config.h setup_once.h urldata.h cookie.h \
  218. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  219. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  220. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  221. strerror.h url.h connect.h ../include/curl/mprintf.h memory.h \
  222. memdebug.h ./memory.h
  223. $(OBJ_DIR)/hostasyn.o: hostasyn.c setup.h config.h setup_once.h urldata.h cookie.h \
  224. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  225. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  226. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  227. strerror.h url.h ../include/curl/mprintf.h memory.h memdebug.h \
  228. ./memory.h
  229. $(OBJ_DIR)/hostip4.o: hostip4.c setup.h config.h setup_once.h urldata.h cookie.h \
  230. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  231. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  232. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  233. strerror.h url.h inet_pton.h ../include/curl/mprintf.h memory.h \
  234. memdebug.h ./memory.h
  235. $(OBJ_DIR)/hostip6.o: hostip6.c setup.h config.h setup_once.h urldata.h cookie.h \
  236. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  237. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  238. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  239. strerror.h url.h inet_pton.h connect.h ../include/curl/mprintf.h \
  240. memory.h memdebug.h ./memory.h
  241. $(OBJ_DIR)/hostsyn.o: hostsyn.c setup.h config.h setup_once.h urldata.h cookie.h \
  242. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  243. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  244. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  245. strerror.h url.h ../include/curl/mprintf.h memory.h memdebug.h \
  246. ./memory.h
  247. $(OBJ_DIR)/hostthre.o: hostthre.c setup.h config.h setup_once.h urldata.h cookie.h \
  248. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  249. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  250. http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  251. strerror.h url.h multiif.h ../include/curl/mprintf.h inet_ntop.h \
  252. memory.h memdebug.h ./memory.h
  253. $(OBJ_DIR)/inet_ntop.o: inet_ntop.c setup.h config.h setup_once.h
  254. $(OBJ_DIR)/parsedate.o: parsedate.c setup.h config.h setup_once.h \
  255. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  256. ../include/curl/multi.h ../include/curl/curl.h
  257. $(OBJ_DIR)/select.o: select.c setup.h config.h setup_once.h ../include/curl/curl.h \
  258. ../include/curl/curlver.h ../include/curl/easy.h \
  259. ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  260. formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  261. connect.h select.h
  262. $(OBJ_DIR)/gtls.o: gtls.c setup.h config.h setup_once.h
  263. $(OBJ_DIR)/sslgen.o: sslgen.c setup.h config.h setup_once.h urldata.h cookie.h \
  264. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  265. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  266. http_chunks.h hostip.h hash.h llist.h splay.h sslgen.h ssluse.h gtls.h \
  267. sendf.h strequal.h url.h memory.h memdebug.h ./memory.h
  268. $(OBJ_DIR)/tftp.o: tftp.c setup.h config.h setup_once.h urldata.h cookie.h \
  269. ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  270. ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  271. http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h tftp.h \
  272. progress.h connect.h strerror.h sockaddr.h ../include/curl/mprintf.h \
  273. memory.h select.h memdebug.h ./memory.h
  274. $(OBJ_DIR)/splay.o: splay.c splay.h
  275. $(OBJ_DIR)/strdup.o: strdup.c setup.h config.h setup_once.h strdup.h