PageRenderTime 63ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/libowfat/Makefile

https://bitbucket.org/cointoss1973/linux-scalability-benchmarks
Makefile | 791 lines | 735 code | 47 blank | 9 comment | 31 complexity | 0664d953908c67940760de986c3f7e54 MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0
  1. # do not edit! edit GNUmakefile instead
  2. # Warning! There is no real "make install" support.
  3. # The include files are named after the djb, i.e. pretty generic. They
  4. # will probably conflict with other headers. That's why I install them
  5. # in /opt/diet, where they are in the default search path for my diet libc
  6. # work but don't conflict with anything there. YMMV.
  7. prefix=/opt/diet
  8. LIBDIR=${prefix}/lib
  9. INCLUDEDIR=${prefix}/include
  10. MAN3DIR=${prefix}/man/man3
  11. LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \
  12. buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
  13. textcode.a cdb.a
  14. all: $(LIBS) libowfat.a libsocket t
  15. CROSS=
  16. #CROSS=i686-mingw-
  17. CC=$(CROSS)gcc
  18. CFLAGS=-pipe -W -Wall -O2 -fomit-frame-pointer
  19. #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
  20. # CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
  21. CFLAGS += -D_REENTRANT
  22. array_allocate.o: array/array_allocate.c likely.h safemult.h uint16.h \
  23. uint32.h uint64.h array.h byte.h
  24. array_bytes.o: array/array_bytes.c array.h uint64.h
  25. array_cat.o: array/array_cat.c array.h uint64.h byte.h
  26. array_cat0.o: array/array_cat0.c array.h uint64.h
  27. array_catb.o: array/array_catb.c array.h uint64.h byte.h
  28. array_cate.o: array/array_cate.c array.h uint64.h
  29. array_cats.o: array/array_cats.c array.h uint64.h str.h
  30. array_cats0.o: array/array_cats0.c array.h uint64.h str.h
  31. array_equal.o: array/array_equal.c byte.h array.h uint64.h
  32. array_fail.o: array/array_fail.c array.h uint64.h
  33. array_get.o: array/array_get.c likely.h safemult.h uint16.h uint32.h \
  34. uint64.h array.h
  35. array_length.o: array/array_length.c array.h uint64.h
  36. array_reset.o: array/array_reset.c array.h uint64.h
  37. array_start.o: array/array_start.c array.h uint64.h
  38. array_trunc.o: array/array_trunc.c array.h uint64.h
  39. array_truncate.o: array/array_truncate.c likely.h safemult.h uint16.h \
  40. uint32.h uint64.h array.h
  41. iarray_allocate.o: array/iarray_allocate.c likely.h iarray.h uint64.h
  42. iarray_free.o: array/iarray_free.c iarray.h uint64.h
  43. iarray_get.o: array/iarray_get.c iarray.h uint64.h
  44. iarray_init.o: array/iarray_init.c iarray.h uint64.h
  45. buffer_0.o: buffer/buffer_0.c buffer.h
  46. buffer_0small.o: buffer/buffer_0small.c buffer.h
  47. buffer_1.o: buffer/buffer_1.c buffer.h
  48. buffer_1small.o: buffer/buffer_1small.c buffer.h
  49. buffer_2.o: buffer/buffer_2.c buffer.h
  50. buffer_close.o: buffer/buffer_close.c buffer.h
  51. buffer_feed.o: buffer/buffer_feed.c buffer.h
  52. buffer_flush.o: buffer/buffer_flush.c buffer.h
  53. buffer_fromsa.o: buffer/buffer_fromsa.c stralloc.h buffer.h
  54. buffer_get.o: buffer/buffer_get.c byte.h buffer.h
  55. buffer_get_new_token_sa.o: buffer/buffer_get_new_token_sa.c stralloc.h \
  56. buffer.h
  57. buffer_get_new_token_sa_pred.o: buffer/buffer_get_new_token_sa_pred.c \
  58. stralloc.h buffer.h
  59. buffer_get_token.o: buffer/buffer_get_token.c byte.h buffer.h scan.h
  60. buffer_get_token_pred.o: buffer/buffer_get_token_pred.c byte.h buffer.h \
  61. scan.h
  62. buffer_get_token_sa.o: buffer/buffer_get_token_sa.c byte.h stralloc.h \
  63. buffer.h
  64. buffer_get_token_sa_pred.o: buffer/buffer_get_token_sa_pred.c byte.h \
  65. stralloc.h buffer.h
  66. buffer_getc.o: buffer/buffer_getc.c byte.h buffer.h
  67. buffer_getline.o: buffer/buffer_getline.c buffer.h
  68. buffer_getline_sa.o: buffer/buffer_getline_sa.c stralloc.h buffer.h
  69. buffer_getn.o: buffer/buffer_getn.c byte.h buffer.h
  70. buffer_getnewline_sa.o: buffer/buffer_getnewline_sa.c stralloc.h buffer.h
  71. buffer_init.o: buffer/buffer_init.c buffer.h
  72. buffer_init_free.o: buffer/buffer_init_free.c buffer.h
  73. buffer_mmapread.o: buffer/buffer_mmapread.c buffer.h mmap.h
  74. buffer_peek.o: buffer/buffer_peek.c buffer.h
  75. buffer_put.o: buffer/buffer_put.c byte.h buffer.h
  76. buffer_put8long.o: buffer/buffer_put8long.c buffer.h fmt.h
  77. buffer_putalign.o: buffer/buffer_putalign.c byte.h buffer.h
  78. buffer_puterror.o: buffer/buffer_puterror.c buffer.h
  79. buffer_puterror2.o: buffer/buffer_puterror2.c buffer.h
  80. buffer_putflush.o: buffer/buffer_putflush.c buffer.h
  81. buffer_putlong.o: buffer/buffer_putlong.c buffer.h fmt.h
  82. buffer_putlonglong.o: buffer/buffer_putlonglong.c buffer.h fmt.h
  83. buffer_putm_internal.o: buffer/buffer_putm_internal.c buffer.h
  84. buffer_putm_internal_flush.o: buffer/buffer_putm_internal_flush.c \
  85. buffer.h
  86. buffer_putnlflush.o: buffer/buffer_putnlflush.c str.h buffer.h
  87. buffer_puts.o: buffer/buffer_puts.c str.h buffer.h
  88. buffer_putsa.o: buffer/buffer_putsa.c stralloc.h buffer.h
  89. buffer_putsaflush.o: buffer/buffer_putsaflush.c stralloc.h buffer.h
  90. buffer_putsalign.o: buffer/buffer_putsalign.c str.h buffer.h
  91. buffer_putsflush.o: buffer/buffer_putsflush.c str.h buffer.h
  92. buffer_putspace.o: buffer/buffer_putspace.c str.h buffer.h
  93. buffer_putulong.o: buffer/buffer_putulong.c buffer.h fmt.h
  94. buffer_putulonglong.o: buffer/buffer_putulonglong.c buffer.h fmt.h
  95. buffer_putxlong.o: buffer/buffer_putxlong.c buffer.h fmt.h
  96. buffer_seek.o: buffer/buffer_seek.c buffer.h
  97. buffer_stubborn.o: buffer/buffer_stubborn.c buffer.h
  98. buffer_stubborn2.o: buffer/buffer_stubborn2.c buffer.h
  99. buffer_tosa.o: buffer/buffer_tosa.c stralloc.h buffer.h
  100. errmsg_iam.o: buffer/errmsg_iam.c errmsg.h
  101. errmsg_info.o: buffer/errmsg_info.c errmsg.h errmsg_int.h str.h
  102. errmsg_infosys.o: buffer/errmsg_infosys.c errmsg.h errmsg_int.h str.h
  103. errmsg_puts.o: buffer/errmsg_puts.c errmsg.h errmsg_int.h str.h
  104. errmsg_warn.o: buffer/errmsg_warn.c errmsg.h errmsg_int.h str.h
  105. errmsg_warnsys.o: buffer/errmsg_warnsys.c errmsg.h errmsg_int.h str.h
  106. errmsg_write.o: buffer/errmsg_write.c errmsg.h errmsg_int.h
  107. byte_chr.o: byte/byte_chr.c byte.h
  108. byte_copy.o: byte/byte_copy.c byte.h
  109. byte_copyr.o: byte/byte_copyr.c byte.h
  110. byte_diff.o: byte/byte_diff.c byte.h
  111. byte_rchr.o: byte/byte_rchr.c byte.h
  112. byte_zero.o: byte/byte_zero.c byte.h
  113. case_diffb.o: case/case_diffb.c case.h
  114. case_diffs.o: case/case_diffs.c case.h
  115. case_lowerb.o: case/case_lowerb.c case.h
  116. case_lowers.o: case/case_lowers.c case.h
  117. case_starts.o: case/case_starts.c case.h
  118. cdb.o: cdb/cdb.c byte.h cdb.h uint32.h uint64.h
  119. cdb_hash.o: cdb/cdb_hash.c cdb.h uint32.h uint64.h
  120. cdb_make.o: cdb/cdb_make.c cdb.h uint32.h uint64.h cdb_make.h buffer.h
  121. cdb_traverse.o: cdb/cdb_traverse.c cdb.h uint32.h uint64.h
  122. dns_dfd.o: dns/dns_dfd.c byte.h dns.h stralloc.h iopause.h taia.h tai.h \
  123. uint64.h uint32.h
  124. dns_domain.o: dns/dns_domain.c case.h byte.h dns.h stralloc.h iopause.h \
  125. taia.h tai.h uint64.h uint32.h
  126. dns_dtda.o: dns/dns_dtda.c stralloc.h dns.h stralloc.h iopause.h taia.h \
  127. tai.h uint64.h uint32.h
  128. dns_ip.o: dns/dns_ip.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  129. iopause.h taia.h tai.h uint64.h uint32.h
  130. dns_ip6.o: dns/dns_ip6.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  131. iopause.h taia.h tai.h uint64.h uint32.h ip4.h ip6.h byte.h
  132. dns_ipq.o: dns/dns_ipq.c stralloc.h case.h byte.h str.h dns.h stralloc.h \
  133. iopause.h taia.h tai.h uint64.h uint32.h
  134. dns_ipq6.o: dns/dns_ipq6.c stralloc.h case.h byte.h str.h dns.h \
  135. stralloc.h iopause.h taia.h tai.h uint64.h uint32.h
  136. dns_mx.o: dns/dns_mx.c stralloc.h byte.h uint16.h dns.h stralloc.h \
  137. iopause.h taia.h tai.h uint64.h uint32.h
  138. dns_name.o: dns/dns_name.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  139. iopause.h taia.h tai.h uint64.h uint32.h ip6.h byte.h
  140. dns_nd.o: dns/dns_nd.c byte.h fmt.h dns.h stralloc.h iopause.h taia.h \
  141. tai.h uint64.h uint32.h
  142. dns_nd6.o: dns/dns_nd6.c byte.h fmt.h dns.h stralloc.h iopause.h taia.h \
  143. tai.h uint64.h uint32.h haveinline.h
  144. dns_packet.o: dns/dns_packet.c dns.h stralloc.h iopause.h taia.h tai.h \
  145. uint64.h uint32.h
  146. dns_random.o: dns/dns_random.c dns.h stralloc.h iopause.h taia.h tai.h \
  147. uint64.h uint32.h taia.h uint32.h
  148. dns_rcip.o: dns/dns_rcip.c taia.h tai.h uint64.h uint32.h openreadclose.h \
  149. stralloc.h byte.h ip4.h ip6.h byte.h dns.h iopause.h taia.h
  150. dns_rcrw.o: dns/dns_rcrw.c taia.h tai.h uint64.h uint32.h byte.h str.h \
  151. openreadclose.h stralloc.h dns.h iopause.h taia.h
  152. dns_resolve.o: dns/dns_resolve.c iopause.h taia.h tai.h uint64.h uint32.h \
  153. taia.h byte.h dns.h stralloc.h iopause.h ip6.h byte.h
  154. dns_sortip.o: dns/dns_sortip.c byte.h dns.h stralloc.h iopause.h taia.h \
  155. tai.h uint64.h uint32.h
  156. dns_sortip6.o: dns/dns_sortip6.c byte.h dns.h stralloc.h iopause.h taia.h \
  157. tai.h uint64.h uint32.h
  158. dns_transmit.o: dns/dns_transmit.c socket.h uint16.h uint32.h byte.h \
  159. uint16.h dns.h stralloc.h iopause.h taia.h tai.h uint64.h ip6.h byte.h
  160. dns_txt.o: dns/dns_txt.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  161. iopause.h taia.h tai.h uint64.h uint32.h
  162. buffer_getline.o: examples/buffer_getline.c stralloc.h buffer.h io.h \
  163. uint64.h taia.h tai.h uint32.h errmsg.h
  164. byte.o: examples/byte.c byte.h buffer.h
  165. str.o: examples/str.c str.h buffer.h
  166. fmt_8long.o: fmt/fmt_8long.c fmt.h
  167. fmt_8longlong.o: fmt/fmt_8longlong.c fmt.h
  168. fmt_double.o: fmt/fmt_double.c fmt.h
  169. fmt_fill.o: fmt/fmt_fill.c fmt.h
  170. fmt_httpdate.o: fmt/fmt_httpdate.c fmt.h byte.h
  171. fmt_human.o: fmt/fmt_human.c fmt.h
  172. fmt_humank.o: fmt/fmt_humank.c fmt.h
  173. fmt_long.o: fmt/fmt_long.c fmt.h
  174. fmt_longlong.o: fmt/fmt_longlong.c fmt.h
  175. fmt_minus.o: fmt/fmt_minus.c fmt.h
  176. fmt_pad.o: fmt/fmt_pad.c fmt.h
  177. fmt_plusminus.o: fmt/fmt_plusminus.c fmt.h
  178. fmt_str.o: fmt/fmt_str.c fmt.h
  179. fmt_strm_internal.o: fmt/fmt_strm_internal.c fmt.h
  180. fmt_strn.o: fmt/fmt_strn.c fmt.h
  181. fmt_tohex.o: fmt/fmt_tohex.c fmt.h
  182. fmt_ulong.o: fmt/fmt_ulong.c fmt.h
  183. fmt_ulong0.o: fmt/fmt_ulong0.c fmt.h
  184. fmt_ulonglong.o: fmt/fmt_ulonglong.c fmt.h
  185. fmt_xlong.o: fmt/fmt_xlong.c fmt.h haveinline.h
  186. fmt_xlonglong.o: fmt/fmt_xlonglong.c fmt.h
  187. io_appendfile.o: io/io_appendfile.c io_internal.h io.h uint64.h taia.h \
  188. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  189. havesigio.h
  190. io_block.o: io/io_block.c io_internal.h io.h uint64.h taia.h tai.h \
  191. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  192. io_canread.o: io/io_canread.c io_internal.h io.h uint64.h taia.h tai.h \
  193. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  194. io_canwrite.o: io/io_canwrite.c io_internal.h io.h uint64.h taia.h tai.h \
  195. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  196. io_check.o: io/io_check.c io_internal.h io.h uint64.h taia.h tai.h \
  197. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  198. io_close.o: io/io_close.c io_internal.h io.h uint64.h taia.h tai.h \
  199. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  200. io_closeonexec.o: io/io_closeonexec.c io_internal.h io.h uint64.h taia.h \
  201. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  202. havesigio.h
  203. io_createfile.o: io/io_createfile.c io_internal.h io.h uint64.h taia.h \
  204. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  205. havesigio.h
  206. io_dontwantread.o: io/io_dontwantread.c io_internal.h io.h uint64.h \
  207. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  208. havesigio.h byte.h
  209. io_dontwantwrite.o: io/io_dontwantwrite.c io_internal.h io.h uint64.h \
  210. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  211. havesigio.h byte.h
  212. io_eagain.o: io/io_eagain.c io_internal.h io.h uint64.h taia.h tai.h \
  213. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  214. io_fd.o: io/io_fd.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
  215. array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h byte.h
  216. io_finishandshutdown.o: io/io_finishandshutdown.c io_internal.h io.h \
  217. uint64.h taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h \
  218. havedevpoll.h havesigio.h
  219. io_getcookie.o: io/io_getcookie.c io_internal.h io.h uint64.h taia.h \
  220. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  221. havesigio.h
  222. io_mmapwritefile.o: io/io_mmapwritefile.c io_internal.h io.h uint64.h \
  223. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  224. havesigio.h iob.h
  225. io_nonblock.o: io/io_nonblock.c io_internal.h io.h uint64.h taia.h tai.h \
  226. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  227. io_passfd.o: io/io_passfd.c io_internal.h io.h uint64.h taia.h tai.h \
  228. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  229. io_pipe.o: io/io_pipe.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
  230. array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  231. io_readfile.o: io/io_readfile.c io_internal.h io.h uint64.h taia.h tai.h \
  232. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  233. io_readwritefile.o: io/io_readwritefile.c io_internal.h io.h uint64.h \
  234. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  235. havesigio.h
  236. io_receivefd.o: io/io_receivefd.c io_internal.h io.h uint64.h taia.h \
  237. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  238. havesigio.h
  239. io_sendfile.o: io/io_sendfile.c io_internal.h io.h uint64.h taia.h tai.h \
  240. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
  241. havebsdsf.h havesendfile.h
  242. io_setcookie.o: io/io_setcookie.c io_internal.h io.h uint64.h taia.h \
  243. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  244. havesigio.h
  245. io_sigpipe.o: io/io_sigpipe.c io_internal.h io.h uint64.h taia.h tai.h \
  246. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  247. io_socketpair.o: io/io_socketpair.c windoze.h io_internal.h io.h uint64.h \
  248. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  249. havesigio.h
  250. io_starteventloop.o: io/io_starteventloop.c io_internal.h io.h uint64.h \
  251. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  252. havesigio.h
  253. io_timeout.o: io/io_timeout.c io_internal.h io.h uint64.h taia.h tai.h \
  254. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  255. io_timeouted.o: io/io_timeouted.c io_internal.h io.h uint64.h taia.h \
  256. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  257. havesigio.h
  258. io_tryread.o: io/io_tryread.c io_internal.h io.h uint64.h taia.h tai.h \
  259. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
  260. byte.h
  261. io_tryreadtimeout.o: io/io_tryreadtimeout.c io_internal.h io.h uint64.h \
  262. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  263. havesigio.h
  264. io_trywrite.o: io/io_trywrite.c io_internal.h io.h uint64.h taia.h tai.h \
  265. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  266. io_trywritetimeout.o: io/io_trywritetimeout.c io_internal.h io.h uint64.h \
  267. taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  268. havesigio.h
  269. io_wait.o: io/io_wait.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
  270. array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  271. io_waitread.o: io/io_waitread.c io_internal.h io.h uint64.h taia.h tai.h \
  272. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  273. io_waituntil.o: io/io_waituntil.c io_internal.h io.h uint64.h taia.h \
  274. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  275. havesigio.h safemult.h uint16.h
  276. io_waituntil2.o: io/io_waituntil2.c io_internal.h io.h uint64.h taia.h \
  277. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  278. havesigio.h
  279. io_waitwrite.o: io/io_waitwrite.c io_internal.h io.h uint64.h taia.h \
  280. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  281. havesigio.h
  282. io_wantread.o: io/io_wantread.c io_internal.h io.h uint64.h taia.h tai.h \
  283. uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
  284. byte.h
  285. io_wantwrite.o: io/io_wantwrite.c io_internal.h io.h uint64.h taia.h \
  286. tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
  287. havesigio.h byte.h
  288. iob_addbuf.o: io/iob_addbuf.c iob_internal.h iob.h io.h uint64.h taia.h \
  289. tai.h uint32.h array.h
  290. iob_addbuf_free.o: io/iob_addbuf_free.c iob_internal.h iob.h io.h \
  291. uint64.h taia.h tai.h uint32.h array.h
  292. iob_addbuf_internal.o: io/iob_addbuf_internal.c iob_internal.h iob.h io.h \
  293. uint64.h taia.h tai.h uint32.h array.h
  294. iob_addbuf_munmap.o: io/iob_addbuf_munmap.c iob_internal.h iob.h io.h \
  295. uint64.h taia.h tai.h uint32.h array.h
  296. iob_addfile.o: io/iob_addfile.c iob_internal.h iob.h io.h uint64.h taia.h \
  297. tai.h uint32.h array.h
  298. iob_addfile_close.o: io/iob_addfile_close.c iob_internal.h iob.h io.h \
  299. uint64.h taia.h tai.h uint32.h array.h
  300. iob_adds.o: io/iob_adds.c str.h iob.h io.h uint64.h taia.h tai.h uint32.h \
  301. array.h
  302. iob_adds_free.o: io/iob_adds_free.c str.h iob.h io.h uint64.h taia.h \
  303. tai.h uint32.h array.h
  304. iob_bytesleft.o: io/iob_bytesleft.c iob.h io.h uint64.h taia.h tai.h \
  305. uint32.h array.h
  306. iob_free.o: io/iob_free.c iob_internal.h iob.h io.h uint64.h taia.h tai.h \
  307. uint32.h array.h
  308. iob_new.o: io/iob_new.c byte.h iob_internal.h iob.h io.h uint64.h taia.h \
  309. tai.h uint32.h array.h
  310. iob_prefetch.o: io/iob_prefetch.c iob_internal.h iob.h io.h uint64.h \
  311. taia.h tai.h uint32.h array.h
  312. iob_reset.o: io/iob_reset.c byte.h iob_internal.h iob.h io.h uint64.h \
  313. taia.h tai.h uint32.h array.h
  314. iob_send.o: io/iob_send.c havebsdsf.h havealloca.h iob_internal.h iob.h \
  315. io.h uint64.h taia.h tai.h uint32.h array.h
  316. iob_write.o: io/iob_write.c iob_internal.h iob.h io.h uint64.h taia.h \
  317. tai.h uint32.h array.h
  318. mmap_private.o: mmap/mmap_private.c open.h mmap.h
  319. mmap_read.o: mmap/mmap_read.c open.h mmap.h
  320. mmap_shared.o: mmap/mmap_shared.c open.h mmap.h
  321. mmap_unmap.o: mmap/mmap_unmap.c open.h mmap.h
  322. imult16.o: mult/imult16.c safemult.h uint16.h uint32.h uint64.h
  323. imult32.o: mult/imult32.c safemult.h uint16.h uint32.h uint64.h
  324. imult64.o: mult/imult64.c safemult.h uint16.h uint32.h uint64.h
  325. range_arrayinbuf.o: mult/range_arrayinbuf.c rangecheck.h safemult.h \
  326. uint16.h uint32.h uint64.h
  327. range_str2inbuf.o: mult/range_str2inbuf.c rangecheck.h
  328. range_str4inbuf.o: mult/range_str4inbuf.c rangecheck.h
  329. range_strinbuf.o: mult/range_strinbuf.c rangecheck.h
  330. umult16.o: mult/umult16.c safemult.h uint16.h uint32.h uint64.h
  331. umult32.o: mult/umult32.c safemult.h uint16.h uint32.h uint64.h
  332. umult64.o: mult/umult64.c safemult.h uint16.h uint32.h uint64.h
  333. open_append.o: open/open_append.c open.h
  334. open_excl.o: open/open_excl.c open.h
  335. open_read.o: open/open_read.c open.h
  336. open_rw.o: open/open_rw.c open.h
  337. open_trunc.o: open/open_trunc.c open.h
  338. open_write.o: open/open_write.c open.h
  339. openreadclose.o: open/openreadclose.c open.h readclose.h stralloc.h \
  340. openreadclose.h
  341. readclose.o: open/readclose.c readclose.h stralloc.h
  342. scan_8int.o: scan/scan_8int.c scan.h
  343. scan_8long.o: scan/scan_8long.c scan.h
  344. scan_8short.o: scan/scan_8short.c scan.h
  345. scan_charsetnskip.o: scan/scan_charsetnskip.c scan.h
  346. scan_double.o: scan/scan_double.c scan.h
  347. scan_fromhex.o: scan/scan_fromhex.c scan.h
  348. scan_httpdate.o: scan/scan_httpdate.c scan.h byte.h case.h
  349. scan_int.o: scan/scan_int.c scan.h
  350. scan_long.o: scan/scan_long.c scan.h
  351. scan_longlong.o: scan/scan_longlong.c scan.h
  352. scan_noncharsetnskip.o: scan/scan_noncharsetnskip.c scan.h
  353. scan_nonwhitenskip.o: scan/scan_nonwhitenskip.c scan.h
  354. scan_plusminus.o: scan/scan_plusminus.c scan.h
  355. scan_short.o: scan/scan_short.c scan.h
  356. scan_uint.o: scan/scan_uint.c scan.h
  357. scan_ulong.o: scan/scan_ulong.c scan.h
  358. scan_ulonglong.o: scan/scan_ulonglong.c scan.h
  359. scan_ushort.o: scan/scan_ushort.c scan.h
  360. scan_whitenskip.o: scan/scan_whitenskip.c scan.h
  361. scan_xint.o: scan/scan_xint.c scan.h
  362. scan_xlong.o: scan/scan_xlong.c scan.h
  363. scan_xlonglong.o: scan/scan_xlonglong.c scan.h
  364. scan_xshort.o: scan/scan_xshort.c scan.h
  365. fmt_ip4.o: socket/fmt_ip4.c fmt.h ip4.h
  366. fmt_ip6.o: socket/fmt_ip6.c fmt.h byte.h ip4.h ip6.h byte.h uint32.h
  367. fmt_ip6_flat.o: socket/fmt_ip6_flat.c ip6.h byte.h uint32.h haveinline.h
  368. fmt_ip6c.o: socket/fmt_ip6c.c fmt.h byte.h ip4.h ip6.h byte.h uint32.h
  369. fmt_ip6if.o: socket/fmt_ip6if.c ip6.h byte.h uint32.h str.h fmt.h \
  370. socket.h uint16.h
  371. fmt_ip6ifc.o: socket/fmt_ip6ifc.c fmt.h byte.h ip4.h ip6.h byte.h \
  372. uint32.h
  373. init.o: socket/init.c
  374. scan_ip4.o: socket/scan_ip4.c scan.h ip4.h
  375. scan_ip6.o: socket/scan_ip6.c scan.h ip4.h ip6.h byte.h uint32.h
  376. scan_ip6_flat.o: socket/scan_ip6_flat.c scan.h
  377. scan_ip6if.o: socket/scan_ip6if.c ip6.h byte.h uint32.h byte.h socket.h \
  378. uint16.h havealloca.h
  379. socket_accept4.o: socket/socket_accept4.c windoze.h socket.h uint16.h \
  380. uint32.h havesl.h
  381. socket_accept6.o: socket/socket_accept6.c windoze.h byte.h socket.h \
  382. uint16.h uint32.h ip6.h byte.h haveip6.h havesl.h havescope.h
  383. socket_bind4.o: socket/socket_bind4.c windoze.h byte.h uint16.h uint32.h \
  384. socket.h uint16.h uint32.h
  385. socket_bind4_reuse.o: socket/socket_bind4_reuse.c socket.h uint16.h \
  386. uint32.h windoze.h
  387. socket_bind6.o: socket/socket_bind6.c haveip6.h windoze.h ip6.h byte.h \
  388. uint32.h byte.h socket.h uint16.h
  389. socket_bind6_reuse.o: socket/socket_bind6_reuse.c socket.h uint16.h \
  390. uint32.h windoze.h
  391. socket_broadcast.o: socket/socket_broadcast.c socket.h uint16.h uint32.h \
  392. windoze.h
  393. socket_connect4.o: socket/socket_connect4.c windoze.h byte.h socket.h \
  394. uint16.h uint32.h uint16.h uint32.h
  395. socket_connect6.o: socket/socket_connect6.c windoze.h byte.h socket.h \
  396. uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h ip4.h havescope.h
  397. socket_connected.o: socket/socket_connected.c socket.h uint16.h uint32.h \
  398. havesl.h
  399. socket_deferaccept.o: socket/socket_deferaccept.c socket.h uint16.h \
  400. uint32.h
  401. socket_getifidx.o: socket/socket_getifidx.c socket.h uint16.h uint32.h \
  402. haven2i.h
  403. socket_getifname.o: socket/socket_getifname.c socket.h uint16.h uint32.h \
  404. haven2i.h
  405. socket_ip4loopback.o: socket/socket_ip4loopback.c
  406. socket_listen.o: socket/socket_listen.c socket.h uint16.h uint32.h \
  407. windoze.h
  408. socket_local4.o: socket/socket_local4.c windoze.h byte.h socket.h \
  409. uint16.h uint32.h havesl.h
  410. socket_local6.o: socket/socket_local6.c windoze.h byte.h socket.h \
  411. uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h havesl.h havescope.h
  412. socket_mchopcount6.o: socket/socket_mchopcount6.c windoze.h socket.h \
  413. uint16.h uint32.h byte.h haveip6.h ip6.h byte.h
  414. socket_mcjoin4.o: socket/socket_mcjoin4.c windoze.h socket.h uint16.h \
  415. uint32.h byte.h
  416. socket_mcjoin6.o: socket/socket_mcjoin6.c windoze.h socket.h uint16.h \
  417. uint32.h byte.h haveip6.h ip6.h byte.h
  418. socket_mcleave4.o: socket/socket_mcleave4.c windoze.h socket.h uint16.h \
  419. uint32.h byte.h
  420. socket_mcleave6.o: socket/socket_mcleave6.c windoze.h socket.h uint16.h \
  421. uint32.h byte.h haveip6.h ip6.h byte.h
  422. socket_mcloop4.o: socket/socket_mcloop4.c windoze.h socket.h uint16.h \
  423. uint32.h
  424. socket_mcloop6.o: socket/socket_mcloop6.c windoze.h socket.h uint16.h \
  425. uint32.h haveip6.h
  426. socket_mcttl4.o: socket/socket_mcttl4.c windoze.h socket.h uint16.h \
  427. uint32.h
  428. socket_noipv6.o: socket/socket_noipv6.c
  429. socket_recv4.o: socket/socket_recv4.c windoze.h socket.h uint16.h \
  430. uint32.h havesl.h
  431. socket_recv6.o: socket/socket_recv6.c windoze.h byte.h socket.h uint16.h \
  432. uint32.h ip6.h byte.h haveip6.h havesl.h havescope.h
  433. socket_remote4.o: socket/socket_remote4.c windoze.h byte.h socket.h \
  434. uint16.h uint32.h havesl.h havescope.h
  435. socket_remote6.o: socket/socket_remote6.c windoze.h byte.h socket.h \
  436. uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h havesl.h havescope.h
  437. socket_send4.o: socket/socket_send4.c windoze.h byte.h socket.h uint16.h \
  438. uint32.h
  439. socket_send6.o: socket/socket_send6.c windoze.h byte.h socket.h uint16.h \
  440. uint32.h ip6.h byte.h haveip6.h ip4.h havescope.h
  441. socket_tcp4.o: socket/socket_tcp4.c socket.h uint16.h uint32.h ndelay.h
  442. socket_tcp4b.o: socket/socket_tcp4b.c windoze.h socket.h uint16.h \
  443. uint32.h ndelay.h
  444. socket_tcp6.o: socket/socket_tcp6.c socket.h uint16.h uint32.h ndelay.h
  445. socket_tcp6b.o: socket/socket_tcp6b.c windoze.h haveip6.h socket.h \
  446. uint16.h uint32.h ndelay.h
  447. socket_tryreservein.o: socket/socket_tryreservein.c windoze.h socket.h \
  448. uint16.h uint32.h
  449. socket_udp4.o: socket/socket_udp4.c windoze.h socket.h uint16.h uint32.h \
  450. ndelay.h
  451. socket_udp6.o: socket/socket_udp6.c windoze.h haveip6.h socket.h uint16.h \
  452. uint32.h ndelay.h
  453. socket_v4mappedprefix.o: socket/socket_v4mappedprefix.c
  454. socket_v6any.o: socket/socket_v6any.c
  455. socket_v6loopback.o: socket/socket_v6loopback.c
  456. str_chr.o: str/str_chr.c str.h
  457. str_copy.o: str/str_copy.c str.h
  458. str_diff.o: str/str_diff.c byte.h
  459. str_diffn.o: str/str_diffn.c byte.h
  460. str_len.o: str/str_len.c str.h
  461. str_rchr.o: str/str_rchr.c str.h
  462. str_start.o: str/str_start.c str.h
  463. stralloc_append.o: stralloc/stralloc_append.c stralloc.h
  464. stralloc_cat.o: stralloc/stralloc_cat.c stralloc.h str.h
  465. stralloc_catb.o: stralloc/stralloc_catb.c byte.h stralloc.h
  466. stralloc_catlong0.o: stralloc/stralloc_catlong0.c stralloc.h fmt.h
  467. stralloc_catm_internal.o: stralloc/stralloc_catm_internal.c stralloc.h
  468. stralloc_cats.o: stralloc/stralloc_cats.c stralloc.h str.h
  469. stralloc_catulong0.o: stralloc/stralloc_catulong0.c stralloc.h fmt.h
  470. stralloc_chomp.o: stralloc/stralloc_chomp.c stralloc.h
  471. stralloc_chop.o: stralloc/stralloc_chop.c stralloc.h
  472. stralloc_copy.o: stralloc/stralloc_copy.c stralloc.h str.h
  473. stralloc_copyb.o: stralloc/stralloc_copyb.c byte.h stralloc.h
  474. stralloc_copys.o: stralloc/stralloc_copys.c stralloc.h str.h
  475. stralloc_diff.o: stralloc/stralloc_diff.c stralloc.h byte.h str.h
  476. stralloc_diffs.o: stralloc/stralloc_diffs.c stralloc.h byte.h str.h
  477. stralloc_free.o: stralloc/stralloc_free.c stralloc.h
  478. stralloc_init.o: stralloc/stralloc_init.c stralloc.h
  479. stralloc_ready.o: stralloc/stralloc_ready.c stralloc.h
  480. stralloc_readyplus.o: stralloc/stralloc_readyplus.c stralloc.h
  481. stralloc_starts.o: stralloc/stralloc_starts.c stralloc.h byte.h str.h
  482. stralloc_zero.o: stralloc/stralloc_zero.c stralloc.h
  483. tai_add.o: tai/tai_add.c tai.h uint64.h
  484. tai_now.o: tai/tai_now.c tai.h uint64.h
  485. tai_pack.o: tai/tai_pack.c tai.h uint64.h
  486. tai_sub.o: tai/tai_sub.c tai.h uint64.h
  487. tai_uint.o: tai/tai_uint.c tai.h uint64.h
  488. tai_unpack.o: tai/tai_unpack.c tai.h uint64.h
  489. taia_add.o: taia/taia_add.c taia.h tai.h uint64.h uint32.h
  490. taia_addsec.o: taia/taia_addsec.c taia.h tai.h uint64.h uint32.h
  491. taia_approx.o: taia/taia_approx.c taia.h tai.h uint64.h uint32.h
  492. taia_frac.o: taia/taia_frac.c taia.h tai.h uint64.h uint32.h
  493. taia_half.o: taia/taia_half.c taia.h tai.h uint64.h uint32.h
  494. taia_less.o: taia/taia_less.c taia.h tai.h uint64.h uint32.h
  495. taia_now.o: taia/taia_now.c taia.h tai.h uint64.h uint32.h
  496. taia_pack.o: taia/taia_pack.c taia.h tai.h uint64.h uint32.h
  497. taia_sub.o: taia/taia_sub.c taia.h tai.h uint64.h uint32.h
  498. taia_tai.o: taia/taia_tai.c taia.h tai.h uint64.h uint32.h
  499. taia_uint.o: taia/taia_uint.c taia.h tai.h uint64.h uint32.h
  500. taia_unpack.o: taia/taia_unpack.c taia.h tai.h uint64.h uint32.h
  501. base64.o: textcode/base64.c
  502. fmt_base64.o: textcode/fmt_base64.c fmt.h textcode.h haveinline.h
  503. fmt_cescape.o: textcode/fmt_cescape.c fmt.h textcode.h str.h haveinline.h
  504. fmt_foldwhitespace.o: textcode/fmt_foldwhitespace.c fmt.h textcode.h \
  505. str.h haveinline.h
  506. fmt_hexdump.o: textcode/fmt_hexdump.c fmt.h textcode.h str.h haveinline.h
  507. fmt_html.o: textcode/fmt_html.c fmt.h textcode.h str.h haveinline.h
  508. fmt_ldapescape.o: textcode/fmt_ldapescape.c fmt.h textcode.h haveinline.h \
  509. str.h
  510. fmt_ldapescape2.o: textcode/fmt_ldapescape2.c fmt.h textcode.h \
  511. haveinline.h
  512. fmt_quotedprintable.o: textcode/fmt_quotedprintable.c fmt.h textcode.h \
  513. haveinline.h str.h
  514. fmt_to_array.o: textcode/fmt_to_array.c array.h uint64.h textcode.h
  515. fmt_to_sa.o: textcode/fmt_to_sa.c stralloc.h textcode.h
  516. fmt_tofrom_array.o: textcode/fmt_tofrom_array.c array.h uint64.h \
  517. textcode.h
  518. fmt_urlencoded.o: textcode/fmt_urlencoded.c fmt.h textcode.h str.h \
  519. haveinline.h
  520. fmt_uuencoded.o: textcode/fmt_uuencoded.c fmt.h textcode.h haveinline.h
  521. fmt_yenc.o: textcode/fmt_yenc.c fmt.h textcode.h
  522. scan_base64.o: textcode/scan_base64.c textcode.h haveinline.h
  523. scan_cescape.o: textcode/scan_cescape.c fmt.h textcode.h scan.h
  524. scan_hexdump.o: textcode/scan_hexdump.c fmt.h textcode.h scan.h
  525. scan_html.o: textcode/scan_html.c fmt.h textcode.h haveinline.h case.h
  526. scan_ldapescape.o: textcode/scan_ldapescape.c fmt.h textcode.h scan.h
  527. scan_quotedprintable.o: textcode/scan_quotedprintable.c fmt.h textcode.h \
  528. scan.h
  529. scan_to_array.o: textcode/scan_to_array.c str.h array.h uint64.h \
  530. textcode.h
  531. scan_to_sa.o: textcode/scan_to_sa.c str.h stralloc.h textcode.h
  532. scan_tofrom_array.o: textcode/scan_tofrom_array.c str.h array.h uint64.h \
  533. textcode.h
  534. scan_urlencoded.o: textcode/scan_urlencoded.c fmt.h textcode.h scan.h
  535. scan_uuencoded.o: textcode/scan_uuencoded.c textcode.h
  536. scan_yenc.o: textcode/scan_yenc.c fmt.h textcode.h
  537. uint16_pack.o: uint/uint16_pack.c uint16.h
  538. uint16_pack_big.o: uint/uint16_pack_big.c uint16.h
  539. uint16_read.o: uint/uint16_read.c uint16.h
  540. uint16_read_big.o: uint/uint16_read_big.c uint16.h
  541. uint16_unpack.o: uint/uint16_unpack.c uint16.h
  542. uint16_unpack_big.o: uint/uint16_unpack_big.c uint16.h
  543. uint32_pack.o: uint/uint32_pack.c uint32.h
  544. uint32_pack_big.o: uint/uint32_pack_big.c uint32.h
  545. uint32_read.o: uint/uint32_read.c uint32.h
  546. uint32_read_big.o: uint/uint32_read_big.c uint32.h
  547. uint32_unpack.o: uint/uint32_unpack.c uint32.h
  548. uint32_unpack_big.o: uint/uint32_unpack_big.c uint32.h
  549. uint64_pack.o: uint/uint64_pack.c uint64.h uint32.h
  550. uint64_pack_big.o: uint/uint64_pack_big.c uint64.h uint32.h
  551. uint64_read.o: uint/uint64_read.c uint64.h uint32.h
  552. uint64_read_big.o: uint/uint64_read_big.c uint64.h uint32.h
  553. uint64_unpack.o: uint/uint64_unpack.c uint64.h uint32.h
  554. uint64_unpack_big.o: uint/uint64_unpack_big.c uint64.h uint32.h
  555. iopause.o: unix/iopause.c taia.h tai.h uint64.h uint32.h iopause.h taia.h \
  556. select.h
  557. ndelay_off.o: unix/ndelay_off.c ndelay.h
  558. ndelay_on.o: unix/ndelay_on.c ndelay.h
  559. winsock2errno.o: unix/winsock2errno.c
  560. t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
  561. buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \
  562. taia.h tai.h uint64.h case.h errmsg.h iob.h io.h array.h safemult.h \
  563. iarray.h CAS.h io_internal.h haveepoll.h havekqueue.h havedevpoll.h \
  564. havesigio.h
  565. BYTE_OBJS=byte_chr.o byte_copy.o byte_copyr.o byte_diff.o byte_rchr.o byte_zero.o
  566. FMT_OBJS=fmt_8long.o fmt_8longlong.o fmt_double.o fmt_fill.o fmt_httpdate.o fmt_human.o fmt_humank.o fmt_long.o fmt_longlong.o fmt_minus.o fmt_pad.o fmt_plusminus.o fmt_str.o fmt_strm_internal.o fmt_strn.o fmt_tohex.o fmt_ulong.o fmt_ulong0.o fmt_ulonglong.o fmt_xlong.o fmt_xlonglong.o
  567. SCAN_OBJS=scan_8int.o scan_8long.o scan_8short.o scan_charsetnskip.o scan_double.o scan_fromhex.o scan_httpdate.o scan_int.o scan_long.o scan_longlong.o scan_noncharsetnskip.o scan_nonwhitenskip.o scan_plusminus.o scan_short.o scan_uint.o scan_ulong.o scan_ulonglong.o scan_ushort.o scan_whitenskip.o scan_xint.o scan_xlong.o scan_xlonglong.o scan_xshort.o
  568. STR_OBJS=str_chr.o str_copy.o str_diff.o str_diffn.o str_len.o str_rchr.o str_start.o
  569. UINT_OBJS=uint16_pack.o uint16_pack_big.o uint16_read.o uint16_read_big.o uint16_unpack.o uint16_unpack_big.o uint32_pack.o uint32_pack_big.o uint32_read.o uint32_read_big.o uint32_unpack.o uint32_unpack_big.o uint64_pack.o uint64_pack_big.o uint64_read.o uint64_read_big.o uint64_unpack.o uint64_unpack_big.o
  570. OPEN_OBJS=open_append.o open_excl.o open_read.o open_rw.o open_trunc.o open_write.o openreadclose.o readclose.o
  571. STRALLOC_OBJS=stralloc_append.o stralloc_cat.o stralloc_catb.o stralloc_catlong0.o stralloc_catm_internal.o stralloc_cats.o stralloc_catulong0.o stralloc_chomp.o stralloc_chop.o stralloc_copy.o stralloc_copyb.o stralloc_copys.o stralloc_diff.o stralloc_diffs.o stralloc_free.o stralloc_init.o stralloc_ready.o stralloc_readyplus.o stralloc_starts.o stralloc_zero.o
  572. UNIX_OBJS=iopause.o ndelay_off.o ndelay_on.o winsock2errno.o
  573. SOCKET_OBJS=fmt_ip4.o fmt_ip6.o fmt_ip6_flat.o fmt_ip6c.o fmt_ip6if.o fmt_ip6ifc.o init.o scan_ip4.o scan_ip6.o scan_ip6_flat.o scan_ip6if.o socket_accept4.o socket_accept6.o socket_bind4.o socket_bind4_reuse.o socket_bind6.o socket_bind6_reuse.o socket_broadcast.o socket_connect4.o socket_connect6.o socket_connected.o socket_deferaccept.o socket_getifidx.o socket_getifname.o socket_ip4loopback.o socket_listen.o socket_local4.o socket_local6.o socket_mchopcount6.o socket_mcjoin4.o socket_mcjoin6.o socket_mcleave4.o socket_mcleave6.o socket_mcloop4.o socket_mcloop6.o socket_mcttl4.o socket_noipv6.o socket_recv4.o socket_recv6.o socket_remote4.o socket_remote6.o socket_send4.o socket_send6.o socket_tcp4.o socket_tcp4b.o socket_tcp6.o socket_tcp6b.o socket_tryreservein.o socket_udp4.o socket_udp6.o socket_v4mappedprefix.o socket_v6any.o socket_v6loopback.o
  574. BUFFER_OBJS=buffer_0.o buffer_0small.o buffer_1.o buffer_1small.o buffer_2.o buffer_close.o buffer_feed.o buffer_flush.o buffer_fromsa.o buffer_get.o buffer_get_new_token_sa.o buffer_get_new_token_sa_pred.o buffer_get_token.o buffer_get_token_pred.o buffer_get_token_sa.o buffer_get_token_sa_pred.o buffer_getc.o buffer_getline.o buffer_getline_sa.o buffer_getn.o buffer_getnewline_sa.o buffer_init.o buffer_init_free.o buffer_mmapread.o buffer_peek.o buffer_put.o buffer_put8long.o buffer_putalign.o buffer_puterror.o buffer_puterror2.o buffer_putflush.o buffer_putlong.o buffer_putlonglong.o buffer_putm_internal.o buffer_putm_internal_flush.o buffer_putnlflush.o buffer_puts.o buffer_putsa.o buffer_putsaflush.o buffer_putsalign.o buffer_putsflush.o buffer_putspace.o buffer_putulong.o buffer_putulonglong.o buffer_putxlong.o buffer_seek.o buffer_stubborn.o buffer_stubborn2.o buffer_tosa.o errmsg_iam.o errmsg_info.o errmsg_infosys.o errmsg_puts.o errmsg_warn.o errmsg_warnsys.o errmsg_write.o
  575. MMAP_OBJS=mmap_private.o mmap_read.o mmap_shared.o mmap_unmap.o
  576. TAIA_OBJS=taia_add.o taia_addsec.o taia_approx.o taia_frac.o taia_half.o taia_less.o taia_now.o taia_pack.o taia_sub.o taia_tai.o taia_uint.o taia_unpack.o
  577. TAI_OBJS=tai_add.o tai_now.o tai_pack.o tai_sub.o tai_uint.o tai_unpack.o
  578. DNS_OBJS=dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o dns_ip6.o dns_ipq.o dns_ipq6.o dns_mx.o dns_name.o dns_nd.o dns_nd6.o dns_packet.o dns_random.o dns_rcip.o dns_rcrw.o dns_resolve.o dns_sortip.o dns_sortip6.o dns_transmit.o dns_txt.o
  579. CASE_OBJS=case_diffb.o case_diffs.o case_lowerb.o case_lowers.o case_starts.o
  580. MULT_OBJS=imult16.o imult32.o imult64.o range_arrayinbuf.o range_str2inbuf.o range_str4inbuf.o range_strinbuf.o umult16.o umult32.o umult64.o
  581. ARRAY_OBJS=array_allocate.o array_bytes.o array_cat.o array_cat0.o array_catb.o array_cate.o array_cats.o array_cats0.o array_equal.o array_fail.o array_get.o array_length.o array_reset.o array_start.o array_trunc.o array_truncate.o
  582. IO_OBJS=io_appendfile.o io_block.o io_canread.o io_canwrite.o io_check.o io_close.o io_closeonexec.o io_createfile.o io_dontwantread.o io_dontwantwrite.o io_eagain.o io_fd.o io_finishandshutdown.o io_getcookie.o io_mmapwritefile.o io_nonblock.o io_passfd.o io_pipe.o io_readfile.o io_readwritefile.o io_receivefd.o io_sendfile.o io_setcookie.o io_sigpipe.o io_socketpair.o io_timeout.o io_timeouted.o io_tryread.o io_tryreadtimeout.o io_trywrite.o io_trywritetimeout.o io_wait.o io_waitread.o io_waituntil.o io_waituntil2.o io_waitwrite.o io_wantread.o io_wantwrite.o iob_addbuf.o iob_addbuf_free.o iob_addbuf_internal.o iob_addbuf_munmap.o iob_addfile.o iob_addfile_close.o iob_adds.o iob_adds_free.o iob_bytesleft.o iob_free.o iob_new.o iob_prefetch.o iob_reset.o iob_send.o iob_write.o
  583. TEXTCODE_OBJS=base64.o fmt_base64.o fmt_cescape.o fmt_foldwhitespace.o fmt_hexdump.o fmt_html.o fmt_ldapescape.o fmt_ldapescape2.o fmt_quotedprintable.o fmt_to_array.o fmt_to_sa.o fmt_tofrom_array.o fmt_urlencoded.o fmt_uuencoded.o fmt_yenc.o scan_base64.o scan_cescape.o scan_hexdump.o scan_html.o scan_ldapescape.o scan_quotedprintable.o scan_to_array.o scan_to_sa.o scan_tofrom_array.o scan_urlencoded.o scan_uuencoded.o scan_yenc.o
  584. CDB_OBJS=cdb.o cdb_hash.o cdb_make.o cdb_traverse.o
  585. byte.a: $(BYTE_OBJS)
  586. fmt.a: $(FMT_OBJS)
  587. scan.a: $(SCAN_OBJS)
  588. str.a: $(STR_OBJS)
  589. uint.a: $(UINT_OBJS)
  590. open.a: $(OPEN_OBJS)
  591. stralloc.a: $(STRALLOC_OBJS)
  592. unix.a: $(UNIX_OBJS)
  593. socket.a: $(SOCKET_OBJS)
  594. buffer.a: $(BUFFER_OBJS)
  595. mmap.a: $(MMAP_OBJS)
  596. textcode.a: $(TEXTCODE_OBJS)
  597. taia.a: $(TAIA_OBJS)
  598. tai.a: $(TAI_OBJS)
  599. dns.a: $(DNS_OBJS)
  600. case.a: $(CASE_OBJS)
  601. array.a: $(ARRAY_OBJS)
  602. mult.a: $(MULT_OBJS)
  603. io.a: $(IO_OBJS)
  604. cdb.a: $(CDB_OBJS)
  605. ALL_OBJS=$(DNS_OBJS) $(BYTE_OBJS) $(FMT_OBJS) $(SCAN_OBJS) \
  606. $(STR_OBJS) $(UINT_OBJS) $(OPEN_OBJS) $(STRALLOC_OBJS) $(UNIX_OBJS) \
  607. $(SOCKET_OBJS) $(BUFFER_OBJS) $(MMAP_OBJS) $(TEXTCODE_OBJS) \
  608. $(TAIA_OBJS) $(TAI_OBJS) $(CASE_OBJS) $(ARRAY_OBJS) $(MULT_OBJS) \
  609. $(IO_OBJS) $(CDB_OBJS)
  610. libowfat.a: $(ALL_OBJS)
  611. $(CROSS)ar cr $@ $(ALL_OBJS)
  612. -$(CROSS)ranlib $@
  613. CFLAGS+=-I.
  614. %.o:
  615. $(DIET) $(CC) -c $< $(CFLAGS)
  616. %.a:
  617. ar cr $@ $^
  618. -ranlib $@
  619. t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
  620. buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \
  621. taia.h tai.h uint64.h case.h errmsg.h iob.h io.h array.h safemult.h \
  622. iarray.h io_internal.h haveepoll.h havekqueue.h havedevpoll.h \
  623. havesigio.h CAS.h
  624. t: t.o libowfat.a libsocket
  625. $(DIET) $(CC) -g -o $@ t.o libowfat.a `cat libsocket` -lpthread
  626. .PHONY: all clean tar install rename
  627. clean:
  628. rm -f *.o *.a *.da *.bbg *.bb core t haveip6.h haven2i.h \
  629. havesl.h haveinline.h iopause.h select.h havekqueue.h haveepoll.h \
  630. libepoll havesigio.h havebsdsf.h havesendfile.h havescope.h havedevpoll.h \
  631. dep libsocket havealloca.h
  632. INCLUDES=buffer.h byte.h fmt.h ip4.h ip6.h mmap.h scan.h socket.h str.h stralloc.h \
  633. uint16.h uint32.h uint64.h open.h textcode.h tai.h taia.h dns.h iopause.h case.h \
  634. openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h \
  635. errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h
  636. install: libowfat.a
  637. install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR)
  638. install -m 644 $(INCLUDES) $(INCLUDEDIR)
  639. install -m 644 $(wildcard */*.3) $(MAN3DIR)
  640. install -m 644 libowfat.a $(LIBDIR)
  641. uninstall:
  642. rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
  643. rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
  644. rm -f $(LIBDIR)/libowfat.a
  645. VERSION=libowfat-0.29
  646. CURNAME=libowfat-0.28
  647. tar: clean rename
  648. rm -f dep libdep
  649. cd ..; tar cvvf $(VERSION).tar.bz2 --use=bzip2 --exclude CVS $(VERSION)
  650. rename:
  651. if test $(CURNAME) != $(VERSION); then cd .. && mv $(CURNAME) $(VERSION); fi
  652. haveip6.h: tryip6.c
  653. -rm -f $@
  654. if $(DIET) $(CC) $(CFLAGS) -c tryip6.c >/dev/null 2>&1; then echo "#define LIBC_HAS_IP6"; fi > $@
  655. -rm -f tryip6.o
  656. havescope.h: tryscope.c
  657. -rm -f $@
  658. if $(DIET) $(CC) $(CFLAGS) -c tryscope.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SCOPE_ID"; fi > $@
  659. -rm -f tryscope.o
  660. haven2i.h: tryn2i.c
  661. -rm -f $@
  662. if $(DIET) $(CC) $(CFLAGS) -o t tryn2i.c >/dev/null 2>&1; then echo "#define HAVE_N2I"; fi > $@
  663. -rm -f t
  664. havesl.h: trysl.c
  665. -rm -f $@
  666. if ! $(DIET) $(CC) $(CFLAGS) -o t trysl.c >/dev/null 2>&1; then echo "typedef int socklen_t;"; fi > $@
  667. -rm -f t
  668. haveinline.h: tryinline.c
  669. -rm -f $@
  670. if ! $(DIET) $(CC) $(CFLAGS) -c tryinline.c >/dev/null 2>&1; then echo "#define inline"; fi > $@
  671. -rm -f tryinline.o
  672. havekqueue.h: trykqueue.c
  673. -rm -f $@
  674. if $(DIET) $(CC) $(CFLAGS) -c trykqueue.c >/dev/null 2>&1; then echo "#define HAVE_KQUEUE"; fi > $@
  675. -rm -f trykqueue.o
  676. havebsdsf.h: trybsdsf.c
  677. -rm -f $@
  678. if $(DIET) $(CC) $(CFLAGS) -o trybsdsf trybsdsf.c >/dev/null 2>&1; then echo "#define HAVE_BSDSENDFILE"; fi > $@
  679. -rm -f trybsdsf.o trybsdsf
  680. havesendfile.h: trysendfile.c
  681. -rm -f $@
  682. if $(DIET) $(CC) $(CFLAGS) -c trysendfile.c >/dev/null 2>&1; then echo "#define HAVE_SENDFILE"; fi > $@
  683. -rm -f trysendfile.o
  684. haveepoll.h: tryepoll.c
  685. -rm -f $@
  686. if $(DIET) $(CC) $(CFLAGS) -o tryepoll tryepoll.c >/dev/null 2>&1; then echo "#define HAVE_EPOLL 1"; else \
  687. if $(DIET) $(CC) $(CFLAGS) -o tryepoll tryepoll.c -lepoll >/dev/null 2>&1; then echo "#define HAVE_EPOLL 2"; fi; fi > $@
  688. -rm -f tryepoll
  689. havedevpoll.h: trydevpoll.c
  690. -rm -f $@
  691. if $(DIET) $(CC) $(CFLAGS) -c trydevpoll.c >/dev/null 2>&1; then echo "#define HAVE_DEVPOLL"; fi > $@
  692. -rm -f trydevpoll.o
  693. libepoll: haveepoll.h
  694. if test "z`cat haveepoll.h`" = "z#define HAVE_EPOLL 2"; then echo -lepoll; fi > $@
  695. havesigio.h: trysigio.c
  696. -rm -f $@
  697. if $(DIET) $(CC) $(CFLAGS) -c trysigio.c >/dev/null 2>&1; then echo "#define HAVE_SIGIO"; fi > $@
  698. -rm -f trysigio.o
  699. havealloca.h: tryalloca.c
  700. -rm -f $@
  701. echo "#include <stdlib.h>" > $@
  702. if $(DIET) $(CC) $(CFLAGS) -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include <alloca.h>"; fi >> $@
  703. if $(DIET) $(CC) $(CFLAGS) -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include <malloc.h>"; fi >> $@
  704. -rm -f tryalloca.o
  705. iopause.h: iopause.h1 iopause.h2 trypoll.c
  706. -rm -f $@
  707. if $(DIET) $(CC) $(CFLAGS) -o t trypoll.c >/dev/null 2>&1; then cp iopause.h2 iopause.h; else cp iopause.h1 iopause.h; fi
  708. -rm -f t
  709. select.h: select.h1 select.h2 trysysel.c
  710. -rm -f $@
  711. if $(DIET) $(CC) $(CFLAGS) -c trysysel.c >/dev/null 2>&1; then cp select.h2 select.h; else cp select.h1 select.h; fi
  712. -rm -f trysysel.o
  713. libsocket: trysocket.c
  714. if $(DIET) $(CC) $(CFLAGS) -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \
  715. if $(DIET) $(CC) $(CFLAGS) -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \
  716. if $(DIET) $(CC) $(CFLAGS) -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; \
  717. fi; fi; fi > blah
  718. if $(DIET) $(CC) $(CFLAGS) -o trysocket trysendfile.c `cat blah`>/dev/null 2>&1; then cat blah; else \
  719. if $(DIET) $(CC) $(CFLAGS) -o trysocket trysendfile.c -lsendfile `cat blah` >/dev/null 2>&1; then echo "-lsendfile"; cat blah; \
  720. fi; fi > libsocket
  721. rm -f blah trysocket
  722. socket_accept6.o socket_connect6.o socket_local6.o socket_mchopcount6.o \
  723. socket_mcjoin6.o socket_mcleave6.o socket_mcloop6.o socket_recv6.o \
  724. socket_remote6.o socket_send6.o socket_tcp6.o socket_udp6.o: haveip6.h havescope.h
  725. socket_getifidx.o socket_getifname.o: haven2i.h
  726. socket_accept4.o socket_accept6.o socket_connected.o socket_local4.o \
  727. socket_local6.o socket_recv4.o socket_recv6.o socket_remote4.o \
  728. socket_remote6.o: havesl.h
  729. dns_nd6.o fmt_xlong.o scan_xlong.o fmt_ip6_flat.o $(TEXTCODE_OBJS): haveinline.h
  730. iob_send.o scan_ip6if.o: havealloca.h
  731. dep: haveip6.h haven2i.h havesl.h haveinline.h iopause.h select.h haveepoll.h havekqueue.h havedevpoll.h havescope.h havesigio.h havebsdsf.h havesendfile.h
  732. gcc -I. -MM `ls */*.c | grep -v test` t.c | sed -e 's@ \./@ @g' > dep
  733. libdep:
  734. for i in $(LIBS); do (echo -n $$i|tr a-z A-Z|sed 's/.A$$/_OBJS=/'; echo $${i%.a}/*.c|sed -e 's@[^/]*/\([^.]*\)\.c@\1.o @g'); done > libdep
  735. Makefile: GNUmakefile dep libdep
  736. echo "# do not edit! edit GNUmakefile instead" > $@
  737. sed '/startrip/,$$d' < GNUmakefile >> $@
  738. cat dep libdep >> $@
  739. sed -e '1,/stoprip/d' -e 's/ %.c$$//' \
  740. -e 's/^VERSION=.*/'VERSION=$(VERSION)/ \
  741. -e 's/^CURNAME=.*/'CURNAME=$(CURNAME)/ \
  742. -e 's///' < GNUmakefile >> $@
  743. windoze:
  744. $(MAKE) DIET= CROSS=i686-mingw32-