makefile.dj 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. #
  2. # Adapted for djgpp2 / Watt-32 / DOS by
  3. # Gisle Vanem <giva@bgnett.no>
  4. #
  5. DEPEND_PREREQ = config.h getdate.c
  6. include ../packages/DOS/common.dj
  7. ifeq ($(USE_SSL),1)
  8. CFLAGS += -I$(OPENSSL_ROOT)
  9. endif
  10. SOURCES = base64.c connect.c content_.c cookie.c dict.c \
  11. easy.c escape.c file.c formdata.c ftp.c \
  12. getdate.c getenv.c getinfo.c hash.c hostip.c \
  13. http.c http_chu.c http_dig.c http_neg.c http_ntl.c \
  14. if2ip.c krb4.c md5.c ldap.c llist.c \
  15. memdebug.c mprintf.c multi.c netrc.c progress.c \
  16. security.c sendf.c share.c speedche.c ssluse.c \
  17. strequal.c strtok.c telnet.c timeval.c transfer.c \
  18. url.c version.c
  19. OBJECTS = $(SOURCES:.c=.o)
  20. CURL_LIB = libcurl.a
  21. all: config.h $(CURL_LIB)
  22. $(CURL_LIB): $(OBJECTS)
  23. ar rs $@ $?
  24. config.h: config.dj
  25. @echo '#include "./config.dj"' > $@
  26. getdate.c: getdate.y
  27. $(YACC) -o $@ $^
  28. clean:
  29. - rm -f $(OBJECTS) Makefile.bak
  30. realclean vclean: clean
  31. - rm -f config.h getdate.c $(CURL_LIB)
  32. # DO NOT DELETE THIS LINE
  33. base64.o: base64.c setup.h config.h config.dj ../include/curl/mprintf.h \
  34. base64.h
  35. connect.o: connect.c setup.h config.h config.dj urldata.h cookie.h \
  36. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  37. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  38. hash.h llist.h sendf.h if2ip.h
  39. content_.o: content_.c setup.h config.h config.dj
  40. cookie.o: cookie.c setup.h config.h config.dj urldata.h cookie.h \
  41. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  42. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  43. hash.h llist.h getdate.h strequal.h strtok.h sendf.h
  44. dict.o: dict.c setup.h config.h config.dj urldata.h cookie.h \
  45. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  46. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  47. hash.h llist.h transfer.h sendf.h progress.h strequal.h \
  48. ../include/curl/mprintf.h
  49. easy.o: easy.c setup.h config.h config.dj strequal.h urldata.h cookie.h \
  50. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  51. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  52. hash.h llist.h transfer.h ssluse.h url.h getinfo.h share.h \
  53. ../include/curl/mprintf.h
  54. escape.o: escape.c setup.h config.h config.dj ../include/curl/curl.h \
  55. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h
  56. file.o: file.c setup.h config.h config.dj urldata.h cookie.h \
  57. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  58. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  59. hash.h llist.h progress.h sendf.h escape.h ../include/curl/mprintf.h
  60. formdata.o: formdata.c setup.h config.h config.dj ../include/curl/curl.h \
  61. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  62. formdata.h strequal.h
  63. ftp.o: ftp.c setup.h config.h config.dj ../include/curl/curl.h \
  64. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  65. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  66. llist.h sendf.h if2ip.h progress.h transfer.h escape.h http.h ftp.h \
  67. strequal.h ssluse.h connect.h ../include/curl/mprintf.h
  68. getdate.o: getdate.c setup.h config.h config.dj getdate.h
  69. getenv.o: getenv.c setup.h config.h config.dj
  70. getinfo.o: getinfo.c setup.h config.h config.dj ../include/curl/curl.h \
  71. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  72. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  73. llist.h
  74. hash.o: hash.c setup.h config.h config.dj hash.h llist.h
  75. hostip.o: hostip.c setup.h config.h config.dj urldata.h cookie.h \
  76. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  77. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  78. hash.h llist.h sendf.h share.h url.h ../include/curl/mprintf.h
  79. http.o: http.c setup.h config.h config.dj urldata.h cookie.h \
  80. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  81. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  82. hash.h llist.h transfer.h sendf.h progress.h base64.h strequal.h \
  83. ssluse.h http_digest.h http_ntlm.h http_negotiate.h url.h share.h \
  84. http.h ../include/curl/mprintf.h
  85. http_chu.o: http_chu.c setup.h config.h config.dj urldata.h cookie.h \
  86. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  87. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  88. hash.h llist.h sendf.h content_encoding.h ../include/curl/mprintf.h
  89. http_dig.o: http_dig.c setup.h config.h config.dj urldata.h cookie.h \
  90. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  91. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  92. hash.h llist.h sendf.h strequal.h md5.h http_digest.h \
  93. ../include/curl/mprintf.h
  94. http_neg.o: http_neg.c setup.h config.h config.dj
  95. http_ntl.o: http_ntl.c setup.h config.h config.dj
  96. if2ip.o: if2ip.c setup.h config.h config.dj
  97. krb4.o: krb4.c setup.h config.h config.dj
  98. md5.o: md5.c setup.h config.h config.dj
  99. ldap.o: ldap.c setup.h config.h config.dj urldata.h cookie.h \
  100. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  101. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  102. hash.h llist.h sendf.h escape.h transfer.h ../include/curl/mprintf.h
  103. llist.o: llist.c setup.h config.h config.dj llist.h
  104. memdebug.o: memdebug.c setup.h config.h config.dj ../include/curl/curl.h \
  105. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  106. ../include/curl/mprintf.h urldata.h cookie.h formdata.h timeval.h \
  107. http_chunks.h hostip.h hash.h llist.h
  108. mprintf.o: mprintf.c setup.h config.h config.dj
  109. multi.o: multi.c setup.h config.h config.dj ../include/curl/curl.h \
  110. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  111. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  112. llist.h transfer.h url.h connect.h progress.h
  113. netrc.o: netrc.c setup.h config.h config.dj ../include/curl/curl.h \
  114. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  115. strequal.h strtok.h ../include/curl/mprintf.h
  116. progress.o: progress.c setup.h config.h config.dj ../include/curl/curl.h \
  117. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  118. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  119. llist.h sendf.h progress.h ../include/curl/mprintf.h
  120. security.o: security.c setup.h config.h config.dj
  121. sendf.o: sendf.c setup.h config.h config.dj ../include/curl/curl.h \
  122. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  123. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  124. llist.h sendf.h connect.h ../include/curl/mprintf.h
  125. share.o: share.c setup.h config.h config.dj ../include/curl/curl.h \
  126. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  127. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  128. llist.h share.h
  129. speedche.o: speedche.c setup.h config.h config.dj ../include/curl/curl.h \
  130. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  131. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  132. llist.h sendf.h speedcheck.h
  133. ssluse.o: ssluse.c setup.h config.h config.dj urldata.h cookie.h \
  134. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  135. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  136. hash.h llist.h sendf.h url.h inet_pton.h
  137. strequal.o: strequal.c setup.h config.h config.dj
  138. strtok.o: strtok.c setup.h config.h config.dj
  139. telnet.o: telnet.c setup.h config.h config.dj urldata.h cookie.h \
  140. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  141. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  142. hash.h llist.h transfer.h sendf.h ../include/curl/mprintf.h \
  143. arpa_telnet.h
  144. timeval.o: timeval.c timeval.h setup.h config.h config.dj
  145. transfer.o: transfer.c setup.h config.h config.dj strequal.h urldata.h \
  146. cookie.h ../include/curl/curl.h ../include/curl/types.h \
  147. ../include/curl/easy.h ../include/curl/multi.h formdata.h timeval.h \
  148. http_chunks.h hostip.h hash.h llist.h netrc.h content_encoding.h \
  149. transfer.h sendf.h speedcheck.h progress.h getdate.h http.h url.h \
  150. getinfo.h ssluse.h http_digest.h http_ntlm.h http_negotiate.h share.h \
  151. ../include/curl/mprintf.h
  152. url.o: url.c setup.h config.h config.dj urldata.h cookie.h \
  153. ../include/curl/curl.h ../include/curl/types.h ../include/curl/easy.h \
  154. ../include/curl/multi.h formdata.h timeval.h http_chunks.h hostip.h \
  155. hash.h llist.h netrc.h base64.h ssluse.h if2ip.h transfer.h sendf.h \
  156. progress.h strequal.h escape.h strtok.h share.h content_encoding.h \
  157. http_digest.h http_negotiate.h ftp.h dict.h telnet.h http.h file.h \
  158. ldap.h url.h connect.h ca-bundle.h ../include/curl/mprintf.h
  159. version.o: version.c setup.h config.h config.dj ../include/curl/curl.h \
  160. ../include/curl/types.h ../include/curl/easy.h ../include/curl/multi.h \
  161. urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
  162. llist.h