Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: curl-7_16_1
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 288 lines (275 sloc) 17.045 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
#
# Adapted for djgpp2 / Watt-32 / DOS by
# Gisle Vanem <giva@bgnett.no>
#
# $Id$

DEPEND_PREREQ = config.h

include ../packages/DOS/common.dj

# Makefile.inc provides the CSOURCES and HHEADERS defines
include Makefile.inc

OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))

CURL_LIB = libcurl.a

all: $(OBJ_DIR) config.h $(CURL_LIB)

$(CURL_LIB): $(OBJECTS)
ar rs $@ $?

config.h: config.dos
cp $^ $@

clean:
- rm -f $(OBJECTS) Makefile.bak

realclean vclean: clean
- rm -f config.h $(CURL_LIB)


# DO NOT DELETE THIS LINE
$(OBJ_DIR)/file.o: file.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h progress.h sendf.h \
  escape.h file.h speedcheck.h getinfo.h transfer.h url.h memory.h \
  parsedate.h ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/timeval.o: timeval.c timeval.h setup.h config.h setup_once.h
$(OBJ_DIR)/base64.o: base64.c setup.h config.h setup_once.h \
  ../include/curl/mprintf.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h base64.h memory.h ../include/curl/curl.h \
  memdebug.h ./memory.h
$(OBJ_DIR)/hostip.o: hostip.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  strerror.h url.h inet_ntop.h ../include/curl/mprintf.h memory.h \
  memdebug.h ./memory.h
$(OBJ_DIR)/progress.o: progress.c setup.h config.h setup_once.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  sendf.h progress.h ../include/curl/mprintf.h
$(OBJ_DIR)/formdata.o: formdata.c setup.h config.h setup_once.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h strequal.h \
  memory.h ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/cookie.o: cookie.c setup.h config.h setup_once.h \
  ../include/curl/mprintf.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h urldata.h cookie.h ../include/curl/curl.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  strequal.h strtok.h sendf.h memory.h share.h strtoofft.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/http.o: http.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h \
  progress.h base64.h strequal.h sslgen.h http_digest.h http_ntlm.h \
  http_negotiate.h url.h share.h http.h memory.h select.h parsedate.h \
  strtoofft.h multiif.h ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/sendf.o: sendf.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  sendf.h connect.h sslgen.h ../include/curl/mprintf.h memory.h \
  strerror.h easyif.h memdebug.h ./memory.h
$(OBJ_DIR)/ftp.o: ftp.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  sendf.h easyif.h if2ip.h progress.h transfer.h escape.h http.h ftp.h \
  strtoofft.h strequal.h sslgen.h connect.h strerror.h memory.h \
  inet_ntop.h select.h parsedate.h sockaddr.h multiif.h \
  ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/url.o: url.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h netrc.h base64.h sslgen.h \
  transfer.h sendf.h progress.h strequal.h strerror.h escape.h strtok.h \
  share.h content_encoding.h http_digest.h http_negotiate.h select.h \
  multiif.h ftp.h dict.h telnet.h tftp.h http.h file.h ldap.h url.h \
  connect.h inet_ntop.h http_ntlm.h ./ca-bundle.h \
  ../include/curl/mprintf.h memory.h memdebug.h ./memory.h
$(OBJ_DIR)/dict.o: dict.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h \
  progress.h strequal.h dict.h ../include/curl/mprintf.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/if2ip.o: if2ip.c setup.h config.h setup_once.h if2ip.h inet_ntop.h \
  memory.h ../include/curl/curl.h ../include/curl/curlver.h \
  ../include/curl/easy.h ../include/curl/multi.h ../include/curl/curl.h \
  memdebug.h ./memory.h
$(OBJ_DIR)/speedcheck.o: speedcheck.c setup.h config.h setup_once.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  sendf.h multiif.h speedcheck.h
$(OBJ_DIR)/ldap.o: ldap.c setup.h config.h setup_once.h
$(OBJ_DIR)/ssluse.o: ssluse.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h url.h inet_pton.h \
  ssluse.h connect.h strequal.h select.h sslgen.h \
  ../include/curl/mprintf.h
$(OBJ_DIR)/version.o: version.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  sslgen.h ../include/curl/mprintf.h
$(OBJ_DIR)/getenv.o: getenv.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h memory.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/escape.o: escape.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h memory.h urldata.h \
  cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
  splay.h easyif.h ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/mprintf.o: mprintf.c setup.h config.h setup_once.h \
  ../include/curl/mprintf.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h memory.h ../include/curl/curl.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/telnet.o: telnet.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h \
  telnet.h connect.h ../include/curl/mprintf.h arpa_telnet.h memory.h \
  select.h memdebug.h ./memory.h
$(OBJ_DIR)/netrc.o: netrc.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h netrc.h strequal.h \
  strtok.h memory.h ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/getinfo.o: getinfo.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  getinfo.h memory.h sslgen.h memdebug.h ./memory.h
$(OBJ_DIR)/transfer.o: transfer.c setup.h config.h setup_once.h strtoofft.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h strequal.h urldata.h \
  cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
  splay.h netrc.h content_encoding.h transfer.h sendf.h speedcheck.h \
  progress.h http.h url.h getinfo.h sslgen.h http_digest.h http_ntlm.h \
  http_negotiate.h share.h memory.h select.h multiif.h easyif.h \
  ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/strequal.o: strequal.c setup.h config.h setup_once.h strequal.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h
$(OBJ_DIR)/easy.o: easy.c setup.h config.h setup_once.h strequal.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  transfer.h sslgen.h url.h getinfo.h share.h strdup.h memory.h \
  progress.h easyif.h sendf.h ../include/curl/mprintf.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/security.o: security.c setup.h config.h setup_once.h
$(OBJ_DIR)/krb4.o: krb4.c setup.h config.h setup_once.h
$(OBJ_DIR)/memdebug.o: memdebug.c setup.h config.h setup_once.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h \
  ../include/curl/mprintf.h urldata.h cookie.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h memory.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/http_chunks.o: http_chunks.c setup.h config.h setup_once.h urldata.h \
  cookie.h ../include/curl/curl.h ../include/curl/curlver.h \
  ../include/curl/easy.h ../include/curl/multi.h ../include/curl/curl.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  sendf.h content_encoding.h http.h memory.h ../include/curl/mprintf.h \
  memdebug.h ./memory.h
$(OBJ_DIR)/strtok.o: strtok.c setup.h config.h setup_once.h strtok.h
$(OBJ_DIR)/connect.o: connect.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h if2ip.h \
  strerror.h connect.h memory.h select.h url.h multiif.h sockaddr.h \
  inet_ntop.h memdebug.h ./memory.h
$(OBJ_DIR)/llist.o: llist.c setup.h config.h setup_once.h llist.h memory.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h memdebug.h ./memory.h
$(OBJ_DIR)/hash.o: hash.c setup.h config.h setup_once.h hash.h llist.h memory.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h memdebug.h ./memory.h
$(OBJ_DIR)/multi.o: multi.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  transfer.h url.h connect.h progress.h memory.h easyif.h multiif.h \
  sendf.h memdebug.h ./memory.h
$(OBJ_DIR)/content_encoding.o: content_encoding.c setup.h config.h setup_once.h
$(OBJ_DIR)/share.o: share.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  share.h memory.h memdebug.h ./memory.h
$(OBJ_DIR)/http_digest.o: http_digest.c setup.h config.h setup_once.h urldata.h \
  cookie.h ../include/curl/curl.h ../include/curl/curlver.h \
  ../include/curl/easy.h ../include/curl/multi.h ../include/curl/curl.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  sendf.h strequal.h base64.h md5.h http_digest.h strtok.h url.h memory.h \
  ../include/curl/mprintf.h memdebug.h ./memory.h
$(OBJ_DIR)/md5.o: md5.c setup.h config.h setup_once.h md5.h
$(OBJ_DIR)/http_negotiate.o: http_negotiate.c setup.h config.h setup_once.h
$(OBJ_DIR)/http_ntlm.o: http_ntlm.c setup.h config.h setup_once.h
$(OBJ_DIR)/inet_pton.o: inet_pton.c setup.h config.h setup_once.h
$(OBJ_DIR)/strtoofft.o: strtoofft.c setup.h config.h setup_once.h strtoofft.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h
$(OBJ_DIR)/strerror.o: strerror.c setup.h config.h setup_once.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h strerror.h urldata.h \
  cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
  splay.h ../include/curl/mprintf.h
$(OBJ_DIR)/hostares.o: hostares.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  strerror.h url.h connect.h ../include/curl/mprintf.h memory.h \
  memdebug.h ./memory.h
$(OBJ_DIR)/hostasyn.o: hostasyn.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  strerror.h url.h ../include/curl/mprintf.h memory.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/hostip4.o: hostip4.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  strerror.h url.h inet_pton.h ../include/curl/mprintf.h memory.h \
  memdebug.h ./memory.h
$(OBJ_DIR)/hostip6.o: hostip6.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  strerror.h url.h inet_pton.h connect.h ../include/curl/mprintf.h \
  memory.h memdebug.h ./memory.h
$(OBJ_DIR)/hostsyn.o: hostsyn.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  strerror.h url.h ../include/curl/mprintf.h memory.h memdebug.h \
  ./memory.h
$(OBJ_DIR)/hostthre.o: hostthre.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sendf.h share.h \
  strerror.h url.h multiif.h ../include/curl/mprintf.h inet_ntop.h \
  memory.h memdebug.h ./memory.h
$(OBJ_DIR)/inet_ntop.o: inet_ntop.c setup.h config.h setup_once.h
$(OBJ_DIR)/parsedate.o: parsedate.c setup.h config.h setup_once.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h
$(OBJ_DIR)/select.o: select.c setup.h config.h setup_once.h ../include/curl/curl.h \
  ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h urldata.h cookie.h \
  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h splay.h \
  connect.h select.h
$(OBJ_DIR)/gtls.o: gtls.c setup.h config.h setup_once.h
$(OBJ_DIR)/sslgen.o: sslgen.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h sslgen.h ssluse.h gtls.h \
  sendf.h strequal.h url.h memory.h memdebug.h ./memory.h
$(OBJ_DIR)/tftp.o: tftp.c setup.h config.h setup_once.h urldata.h cookie.h \
  ../include/curl/curl.h ../include/curl/curlver.h ../include/curl/easy.h \
  ../include/curl/multi.h ../include/curl/curl.h formdata.h timeval.h \
  http_chunks.h hostip.h hash.h llist.h splay.h transfer.h sendf.h tftp.h \
  progress.h connect.h strerror.h sockaddr.h ../include/curl/mprintf.h \
  memory.h select.h memdebug.h ./memory.h
$(OBJ_DIR)/splay.o: splay.c splay.h
$(OBJ_DIR)/strdup.o: strdup.c setup.h config.h setup_once.h strdup.h
Something went wrong with that request. Please try again.