Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1045 lines
54 KiB

  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 critbit.a
  14. all: headers ent $(LIBS) libowfat.a libsocket t
  15. pic pie:
  16. $(MAKE) CC="gcc -fPIC" LDFLAGS="-fpie"
  17. picx32 piex32:
  18. $(MAKE) CC="gcc -mx32 -fPIC" LDFLAGS="-fpie"
  19. CROSS=
  20. #CROSS=i686-mingw-
  21. CC?=gcc
  22. CCC=$(CROSS)$(CC)
  23. WERROR=
  24. WARN=-W -Wall -Wextra $(WERROR)
  25. # Use the second version if you are building for a binary that is only
  26. # supposed to run on this machine. It tells gcc to use CPU instructions
  27. # that are specific to the CPU the code is compiled on.
  28. NATIVE=
  29. #NATIVE=-march=native -mtune=native
  30. OPT_REG=-O2
  31. OPT_PLUS=-O3 $(NATIVE)
  32. DEFINE=-D_REENTRANT
  33. CFLAGS=-pipe $(WARN) $(DEFINE) $(OPT_REG)
  34. CFLAGS_OPT=-pipe $(WARN) $(DEFINE) $(OPT_PLUS)
  35. #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
  36. ent: ent.c haveuint128.h
  37. $(CC) -g -o ent ent.c -I.
  38. # CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
  39. array_allocate.o: array/array_allocate.c likely.h safemult.h uint16.h \
  40. uint32.h uint64.h array.h byte.h
  41. array_bytes.o: array/array_bytes.c array.h uint64.h
  42. array_cat.o: array/array_cat.c array.h uint64.h byte.h
  43. array_cat0.o: array/array_cat0.c array.h uint64.h
  44. array_catb.o: array/array_catb.c array.h uint64.h byte.h
  45. array_cate.o: array/array_cate.c array.h uint64.h
  46. array_cats.o: array/array_cats.c array.h uint64.h str.h
  47. array_cats0.o: array/array_cats0.c array.h uint64.h str.h
  48. array_equal.o: array/array_equal.c byte.h array.h uint64.h
  49. array_fail.o: array/array_fail.c array.h uint64.h
  50. array_get.o: array/array_get.c likely.h safemult.h uint16.h uint32.h \
  51. uint64.h array.h
  52. array_length.o: array/array_length.c array.h uint64.h
  53. array_reset.o: array/array_reset.c array.h uint64.h
  54. array_start.o: array/array_start.c array.h uint64.h
  55. array_trunc.o: array/array_trunc.c array.h uint64.h
  56. array_truncate.o: array/array_truncate.c likely.h safemult.h uint16.h \
  57. uint32.h uint64.h array.h
  58. iarray_allocate.o: array/iarray_allocate.c likely.h iarray.h uint64.h
  59. iarray_free.o: array/iarray_free.c iarray.h uint64.h
  60. iarray_get.o: array/iarray_get.c iarray.h uint64.h
  61. iarray_init.o: array/iarray_init.c iarray.h uint64.h
  62. iarray_length.o: array/iarray_length.c iarray.h uint64.h
  63. buffer_0.o: buffer/buffer_0.c buffer.h
  64. buffer_0small.o: buffer/buffer_0small.c buffer.h
  65. buffer_1.o: buffer/buffer_1.c buffer.h
  66. buffer_1small.o: buffer/buffer_1small.c buffer.h
  67. buffer_2.o: buffer/buffer_2.c buffer.h
  68. buffer_close.o: buffer/buffer_close.c buffer.h
  69. buffer_feed.o: buffer/buffer_feed.c buffer.h
  70. buffer_flush.o: buffer/buffer_flush.c buffer.h
  71. buffer_free.o: buffer/buffer_free.c buffer.h
  72. buffer_fromarray.o: buffer/buffer_fromarray.c array.h uint64.h buffer.h
  73. buffer_frombuf.o: buffer/buffer_frombuf.c stralloc.h buffer.h
  74. buffer_fromsa.o: buffer/buffer_fromsa.c stralloc.h buffer.h
  75. buffer_get.o: buffer/buffer_get.c byte.h buffer.h
  76. buffer_get_new_token_sa.o: buffer/buffer_get_new_token_sa.c stralloc.h \
  77. buffer.h
  78. buffer_get_new_token_sa_pred.o: buffer/buffer_get_new_token_sa_pred.c \
  79. stralloc.h buffer.h
  80. buffer_get_token.o: buffer/buffer_get_token.c byte.h buffer.h scan.h
  81. buffer_get_token_pred.o: buffer/buffer_get_token_pred.c byte.h buffer.h \
  82. scan.h
  83. buffer_get_token_sa.o: buffer/buffer_get_token_sa.c byte.h stralloc.h \
  84. buffer.h
  85. buffer_get_token_sa_pred.o: buffer/buffer_get_token_sa_pred.c byte.h \
  86. stralloc.h buffer.h
  87. buffer_getc.o: buffer/buffer_getc.c byte.h buffer.h
  88. buffer_getline.o: buffer/buffer_getline.c buffer.h
  89. buffer_getline_sa.o: buffer/buffer_getline_sa.c stralloc.h buffer.h
  90. buffer_getn.o: buffer/buffer_getn.c byte.h buffer.h
  91. buffer_getnewline_sa.o: buffer/buffer_getnewline_sa.c stralloc.h buffer.h
  92. buffer_init.o: buffer/buffer_init.c buffer.h
  93. buffer_init_free.o: buffer/buffer_init_free.c buffer.h
  94. buffer_mmapread.o: buffer/buffer_mmapread.c buffer.h mmap.h
  95. buffer_munmap.o: buffer/buffer_munmap.c buffer.h
  96. buffer_peek.o: buffer/buffer_peek.c buffer.h
  97. buffer_put.o: buffer/buffer_put.c buffer.h
  98. buffer_put8long.o: buffer/buffer_put8long.c buffer.h fmt.h byte.h
  99. buffer_putalign.o: buffer/buffer_putalign.c byte.h buffer.h
  100. buffer_puterror.o: buffer/buffer_puterror.c buffer.h
  101. buffer_puterror2.o: buffer/buffer_puterror2.c buffer.h
  102. buffer_putflush.o: buffer/buffer_putflush.c buffer.h
  103. buffer_putlong.o: buffer/buffer_putlong.c buffer.h fmt.h byte.h
  104. buffer_putlonglong.o: buffer/buffer_putlonglong.c buffer.h fmt.h byte.h
  105. buffer_putm_internal.o: buffer/buffer_putm_internal.c buffer.h
  106. buffer_putm_internal_flush.o: buffer/buffer_putm_internal_flush.c \
  107. buffer.h
  108. buffer_putnlflush.o: buffer/buffer_putnlflush.c str.h buffer.h
  109. buffer_puts.o: buffer/buffer_puts.c str.h buffer.h
  110. buffer_putsa.o: buffer/buffer_putsa.c stralloc.h buffer.h
  111. buffer_putsaflush.o: buffer/buffer_putsaflush.c stralloc.h buffer.h
  112. buffer_putsalign.o: buffer/buffer_putsalign.c str.h buffer.h
  113. buffer_putsflush.o: buffer/buffer_putsflush.c str.h buffer.h
  114. buffer_putspace.o: buffer/buffer_putspace.c str.h buffer.h
  115. buffer_putulong.o: buffer/buffer_putulong.c buffer.h fmt.h byte.h
  116. buffer_putulonglong.o: buffer/buffer_putulonglong.c buffer.h fmt.h byte.h
  117. buffer_putxlong.o: buffer/buffer_putxlong.c buffer.h fmt.h byte.h
  118. buffer_seek.o: buffer/buffer_seek.c buffer.h
  119. buffer_stubborn.o: buffer/buffer_stubborn.c buffer.h
  120. buffer_stubborn2.o: buffer/buffer_stubborn2.c buffer.h
  121. buffer_tosa.o: buffer/buffer_tosa.c stralloc.h buffer.h
  122. errmsg_iam.o: buffer/errmsg_iam.c errmsg.h
  123. errmsg_info.o: buffer/errmsg_info.c errmsg.h errmsg_int.h str.h
  124. errmsg_infosys.o: buffer/errmsg_infosys.c errmsg.h errmsg_int.h str.h
  125. errmsg_puts.o: buffer/errmsg_puts.c errmsg.h errmsg_int.h str.h
  126. errmsg_warn.o: buffer/errmsg_warn.c errmsg.h errmsg_int.h str.h
  127. errmsg_warnsys.o: buffer/errmsg_warnsys.c errmsg.h errmsg_int.h str.h
  128. errmsg_write.o: buffer/errmsg_write.c errmsg.h errmsg_int.h
  129. byte_chr.o: byte/byte_chr.c byte.h
  130. byte_copy.o: byte/byte_copy.c byte.h
  131. byte_copyr.o: byte/byte_copyr.c byte.h
  132. byte_diff.o: byte/byte_diff.c byte.h
  133. byte_equal_notimingattack.o: byte/byte_equal_notimingattack.c byte.h
  134. byte_rchr.o: byte/byte_rchr.c byte.h
  135. byte_zero.o: byte/byte_zero.c byte.h
  136. case_diffb.o: case/case_diffb.c case.h
  137. case_diffs.o: case/case_diffs.c case.h
  138. case_lowerb.o: case/case_lowerb.c case.h
  139. case_lowers.o: case/case_lowers.c case.h
  140. case_starts.o: case/case_starts.c case.h
  141. cdb.o: cdb/cdb.c byte.h cdb.h uint32.h uint64.h havepread.h
  142. cdb_hash.o: cdb/cdb_hash.c cdb.h uint32.h uint64.h
  143. cdb_make.o: cdb/cdb_make.c cdb.h uint32.h uint64.h cdb_make.h buffer.h
  144. cdb_traverse.o: cdb/cdb_traverse.c cdb.h uint32.h uint64.h
  145. critbit.o: critbit/critbit.c critbit.h
  146. dns_dfd.o: dns/dns_dfd.c byte.h dns.h stralloc.h iopause.h taia.h tai.h \
  147. uint64.h uint32.h
  148. dns_domain.o: dns/dns_domain.c case.h byte.h dns.h stralloc.h iopause.h \
  149. taia.h tai.h uint64.h uint32.h
  150. dns_dtda.o: dns/dns_dtda.c stralloc.h dns.h stralloc.h iopause.h taia.h \
  151. tai.h uint64.h uint32.h
  152. dns_ip.o: dns/dns_ip.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  153. iopause.h taia.h tai.h uint64.h uint32.h
  154. dns_ip6.o: dns/dns_ip6.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  155. iopause.h taia.h tai.h uint64.h uint32.h ip4.h ip6.h byte.h
  156. dns_ipq.o: dns/dns_ipq.c stralloc.h case.h byte.h str.h dns.h stralloc.h \
  157. iopause.h taia.h tai.h uint64.h uint32.h
  158. dns_ipq6.o: dns/dns_ipq6.c stralloc.h case.h byte.h str.h dns.h \
  159. stralloc.h iopause.h taia.h tai.h uint64.h uint32.h
  160. dns_mx.o: dns/dns_mx.c stralloc.h byte.h uint16.h dns.h stralloc.h \
  161. iopause.h taia.h tai.h uint64.h uint32.h
  162. dns_name.o: dns/dns_name.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  163. iopause.h taia.h tai.h uint64.h uint32.h ip6.h byte.h
  164. dns_nd.o: dns/dns_nd.c byte.h fmt.h byte.h dns.h stralloc.h iopause.h \
  165. taia.h tai.h uint64.h uint32.h
  166. dns_nd6.o: dns/dns_nd6.c byte.h fmt.h byte.h dns.h stralloc.h iopause.h \
  167. taia.h tai.h uint64.h uint32.h haveinline.h
  168. dns_packet.o: dns/dns_packet.c dns.h stralloc.h iopause.h taia.h tai.h \
  169. uint64.h uint32.h
  170. dns_random.o: dns/dns_random.c dns.h stralloc.h iopause.h taia.h tai.h \
  171. uint64.h uint32.h taia.h uint32.h
  172. dns_rcip.o: dns/dns_rcip.c taia.h tai.h uint64.h uint32.h openreadclose.h \
  173. stralloc.h byte.h ip4.h ip6.h byte.h dns.h iopause.h taia.h
  174. dns_rcrw.o: dns/dns_rcrw.c taia.h tai.h uint64.h uint32.h byte.h str.h \
  175. openreadclose.h stralloc.h dns.h iopause.h taia.h
  176. dns_resolve.o: dns/dns_resolve.c iopause.h taia.h tai.h uint64.h uint32.h \
  177. taia.h byte.h dns.h stralloc.h iopause.h ip6.h byte.h
  178. dns_sortip.o: dns/dns_sortip.c byte.h dns.h stralloc.h iopause.h taia.h \
  179. tai.h uint64.h uint32.h
  180. dns_sortip6.o: dns/dns_sortip6.c byte.h dns.h stralloc.h iopause.h taia.h \
  181. tai.h uint64.h uint32.h
  182. dns_transmit.o: dns/dns_transmit.c socket.h uint16.h uint32.h byte.h \
  183. uint16.h dns.h stralloc.h iopause.h taia.h tai.h uint64.h ip6.h byte.h
  184. dns_txt.o: dns/dns_txt.c stralloc.h uint16.h byte.h dns.h stralloc.h \
  185. iopause.h taia.h tai.h uint64.h uint32.h
  186. buffer_getline.o: examples/buffer_getline.c stralloc.h buffer.h io.h \
  187. uint64.h taia.h tai.h uint32.h errmsg.h
  188. byte.o: examples/byte.c byte.h buffer.h
  189. str.o: examples/str.c str.h buffer.h
  190. fmt_8long.o: fmt/fmt_8long.c fmt.h byte.h
  191. fmt_8longlong.o: fmt/fmt_8longlong.c fmt.h byte.h
  192. fmt_asn1derlength.o: fmt/fmt_asn1derlength.c fmt.h byte.h
  193. fmt_asn1dertag.o: fmt/fmt_asn1dertag.c fmt.h byte.h
  194. fmt_double.o: fmt/fmt_double.c fmt.h byte.h
  195. fmt_escapecharc.o: fmt/fmt_escapecharc.c fmt.h byte.h
  196. fmt_escapecharhtml.o: fmt/fmt_escapecharhtml.c
  197. fmt_escapecharjson.o: fmt/fmt_escapecharjson.c fmt.h byte.h
  198. fmt_escapecharquotedprintable.o: fmt/fmt_escapecharquotedprintable.c \
  199. fmt.h byte.h
  200. fmt_escapecharquotedprintableutf8.o: \
  201. fmt/fmt_escapecharquotedprintableutf8.c fmt.h byte.h
  202. fmt_escapecharxml.o: fmt/fmt_escapecharxml.c fmt.h byte.h
  203. fmt_fill.o: fmt/fmt_fill.c fmt.h byte.h
  204. fmt_httpdate.o: fmt/fmt_httpdate.c fmt.h byte.h byte.h
  205. fmt_human.o: fmt/fmt_human.c fmt.h byte.h
  206. fmt_humank.o: fmt/fmt_humank.c fmt.h byte.h
  207. fmt_iso8601.o: fmt/fmt_iso8601.c fmt.h byte.h byte.h
  208. fmt_long.o: fmt/fmt_long.c fmt.h byte.h
  209. fmt_longlong.o: fmt/fmt_longlong.c fmt.h byte.h
  210. fmt_minus.o: fmt/fmt_minus.c fmt.h byte.h
  211. fmt_netstring.o: fmt/fmt_netstring.c fmt.h byte.h rangecheck.h
  212. fmt_pad.o: fmt/fmt_pad.c fmt.h byte.h
  213. fmt_pb_double.o: fmt/fmt_pb_double.c fmt.h byte.h
  214. fmt_pb_float.o: fmt/fmt_pb_float.c fmt.h byte.h
  215. fmt_pb_int.o: fmt/fmt_pb_int.c fmt.h byte.h
  216. fmt_pb_sint.o: fmt/fmt_pb_sint.c fmt.h byte.h
  217. fmt_pb_string.o: fmt/fmt_pb_string.c fmt.h byte.h rangecheck.h
  218. fmt_pb_tag.o: fmt/fmt_pb_tag.c fmt.h byte.h
  219. fmt_pb_type0_sint.o: fmt/fmt_pb_type0_sint.c fmt.h byte.h
  220. fmt_pb_type1_double.o: fmt/fmt_pb_type1_double.c fmt.h byte.h \
  221. compiletimeassert.h
  222. fmt_pb_type1_fixed64.o: fmt/fmt_pb_type1_fixed64.c fmt.h byte.h uint64.h
  223. fmt_pb_type2_string.o: fmt/fmt_pb_type2_string.c fmt.h byte.h \
  224. rangecheck.h
  225. fmt_pb_type5_fixed32.o: fmt/fmt_pb_type5_fixed32.c fmt.h byte.h uint32.h
  226. fmt_pb_type5_float.o: fmt/fmt_pb_type5_float.c fmt.h byte.h \
  227. compiletimeassert.h
  228. fmt_plusminus.o: fmt/fmt_plusminus.c fmt.h byte.h
  229. fmt_str.o: fmt/fmt_str.c fmt.h byte.h
  230. fmt_strm_internal.o: fmt/fmt_strm_internal.c fmt.h byte.h
  231. fmt_strn.o: fmt/fmt_strn.c fmt.h byte.h
  232. fmt_tohex.o: fmt/fmt_tohex.c fmt.h byte.h
  233. fmt_ulong.o: fmt/fmt_ulong.c fmt.h byte.h
  234. fmt_ulong0.o: fmt/fmt_ulong0.c fmt.h byte.h
  235. fmt_ulonglong.o: fmt/fmt_ulonglong.c fmt.h byte.h
  236. fmt_utf8.o: fmt/fmt_utf8.c fmt.h byte.h
  237. fmt_varint.o: fmt/fmt_varint.c fmt.h byte.h
  238. fmt_xlong.o: fmt/fmt_xlong.c fmt.h byte.h haveinline.h
  239. fmt_xlonglong.o: fmt/fmt_xlonglong.c fmt.h byte.h
  240. fmt_xmlescape.o: fmt/fmt_xmlescape.c fmt.h byte.h
  241. io_appendfile.o: io/io_appendfile.c io_internal.h libowfat/io.h \
  242. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  243. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  244. havedevpoll.h havesigio.h
  245. io_block.o: io/io_block.c io_internal.h libowfat/io.h libowfat/uint64.h \
  246. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  247. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  248. io_canread.o: io/io_canread.c io_internal.h libowfat/io.h \
  249. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  250. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  251. havedevpoll.h havesigio.h
  252. io_canwrite.o: io/io_canwrite.c io_internal.h libowfat/io.h \
  253. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  254. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  255. havedevpoll.h havesigio.h
  256. io_check.o: io/io_check.c io_internal.h libowfat/io.h libowfat/uint64.h \
  257. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  258. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  259. io_close.o: io/io_close.c io_internal.h libowfat/io.h libowfat/uint64.h \
  260. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  261. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  262. io_closeonexec.o: io/io_closeonexec.c io_internal.h libowfat/io.h \
  263. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  264. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  265. havedevpoll.h havesigio.h
  266. io_createfile.o: io/io_createfile.c io_internal.h libowfat/io.h \
  267. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  268. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  269. havedevpoll.h havesigio.h
  270. io_debugstring.o: io/io_debugstring.c io_internal.h libowfat/io.h \
  271. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  272. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  273. havedevpoll.h havesigio.h iarray.h fmt.h byte.h
  274. io_dontwantread.o: io/io_dontwantread.c io_internal.h libowfat/io.h \
  275. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  276. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  277. havedevpoll.h havesigio.h byte.h
  278. io_dontwantwrite.o: io/io_dontwantwrite.c io_internal.h libowfat/io.h \
  279. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  280. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  281. havedevpoll.h havesigio.h byte.h
  282. io_eagain.o: io/io_eagain.c io_internal.h libowfat/io.h libowfat/uint64.h \
  283. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  284. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  285. io_eagain_read.o: io/io_eagain_read.c io_internal.h libowfat/io.h \
  286. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  287. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  288. havedevpoll.h havesigio.h
  289. io_eagain_write.o: io/io_eagain_write.c io_internal.h libowfat/io.h \
  290. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  291. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  292. havedevpoll.h havesigio.h
  293. io_fd.o: io/io_fd.c io_internal.h libowfat/io.h libowfat/uint64.h \
  294. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  295. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
  296. byte.h
  297. io_finishandshutdown.o: io/io_finishandshutdown.c io_internal.h \
  298. libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
  299. libowfat/uint32.h libowfat/array.h libowfat/iarray.h haveepoll.h \
  300. havekqueue.h havedevpoll.h havesigio.h
  301. io_getcookie.o: io/io_getcookie.c io_internal.h libowfat/io.h \
  302. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  303. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  304. havedevpoll.h havesigio.h
  305. io_mmapwritefile.o: io/io_mmapwritefile.c io_internal.h libowfat/io.h \
  306. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  307. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  308. havedevpoll.h havesigio.h iob.h havepread.h
  309. io_nonblock.o: io/io_nonblock.c io_internal.h libowfat/io.h \
  310. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  311. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  312. havedevpoll.h havesigio.h
  313. io_passfd.o: io/io_passfd.c io_internal.h libowfat/io.h libowfat/uint64.h \
  314. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  315. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  316. io_pipe.o: io/io_pipe.c io_internal.h libowfat/io.h libowfat/uint64.h \
  317. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  318. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  319. io_readfile.o: io/io_readfile.c io_internal.h libowfat/io.h \
  320. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  321. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  322. havedevpoll.h havesigio.h
  323. io_readwritefile.o: io/io_readwritefile.c io_internal.h libowfat/io.h \
  324. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  325. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  326. havedevpoll.h havesigio.h
  327. io_receivefd.o: io/io_receivefd.c io_internal.h libowfat/io.h \
  328. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  329. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  330. havedevpoll.h havesigio.h
  331. io_sendfile.o: io/io_sendfile.c io_internal.h libowfat/io.h \
  332. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  333. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  334. havedevpoll.h havesigio.h havebsdsf.h havesendfile.h
  335. io_setcookie.o: io/io_setcookie.c io_internal.h libowfat/io.h \
  336. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  337. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  338. havedevpoll.h havesigio.h
  339. io_sigpipe.o: io/io_sigpipe.c io_internal.h libowfat/io.h \
  340. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  341. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  342. havedevpoll.h havesigio.h
  343. io_socketpair.o: io/io_socketpair.c windoze.h io_internal.h libowfat/io.h \
  344. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  345. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  346. havedevpoll.h havesigio.h
  347. io_timedout.o: io/io_timedout.c io_internal.h libowfat/io.h \
  348. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  349. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  350. havedevpoll.h havesigio.h
  351. io_timeout.o: io/io_timeout.c io_internal.h libowfat/io.h \
  352. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  353. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  354. havedevpoll.h havesigio.h
  355. io_timeouted.o: io/io_timeouted.c io_internal.h libowfat/io.h \
  356. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  357. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  358. havedevpoll.h havesigio.h
  359. io_tryread.o: io/io_tryread.c io_internal.h libowfat/io.h \
  360. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  361. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  362. havedevpoll.h havesigio.h byte.h
  363. io_tryreadtimeout.o: io/io_tryreadtimeout.c io_internal.h libowfat/io.h \
  364. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  365. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  366. havedevpoll.h havesigio.h
  367. io_trywrite.o: io/io_trywrite.c io_internal.h libowfat/io.h \
  368. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  369. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  370. havedevpoll.h havesigio.h
  371. io_trywritetimeout.o: io/io_trywritetimeout.c io_internal.h libowfat/io.h \
  372. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  373. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  374. havedevpoll.h havesigio.h
  375. io_wait.o: io/io_wait.c io_internal.h libowfat/io.h libowfat/uint64.h \
  376. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  377. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  378. io_waitread.o: io/io_waitread.c io_internal.h libowfat/io.h \
  379. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  380. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  381. havedevpoll.h havesigio.h
  382. io_waituntil.o: io/io_waituntil.c io_internal.h libowfat/io.h \
  383. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  384. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  385. havedevpoll.h havesigio.h safemult.h uint16.h uint32.h uint64.h
  386. io_waituntil2.o: io/io_waituntil2.c io_internal.h libowfat/io.h \
  387. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  388. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  389. havedevpoll.h havesigio.h
  390. io_waitwrite.o: io/io_waitwrite.c io_internal.h libowfat/io.h \
  391. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  392. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  393. havedevpoll.h havesigio.h
  394. io_wantread.o: io/io_wantread.c io_internal.h libowfat/io.h \
  395. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  396. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  397. havedevpoll.h havesigio.h byte.h
  398. io_wantwrite.o: io/io_wantwrite.c io_internal.h libowfat/io.h \
  399. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  400. libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
  401. havedevpoll.h havesigio.h byte.h
  402. iob_addbuf.o: io/iob_addbuf.c iob_internal.h iob.h libowfat/io.h \
  403. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  404. libowfat/array.h array.h
  405. iob_addbuf_free.o: io/iob_addbuf_free.c iob_internal.h iob.h \
  406. libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
  407. libowfat/uint32.h libowfat/array.h array.h
  408. iob_addbuf_internal.o: io/iob_addbuf_internal.c iob_internal.h iob.h \
  409. libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
  410. libowfat/uint32.h libowfat/array.h array.h
  411. iob_addbuf_munmap.o: io/iob_addbuf_munmap.c mmap.h iob_internal.h iob.h \
  412. libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
  413. libowfat/uint32.h libowfat/array.h array.h
  414. iob_addfile.o: io/iob_addfile.c iob_internal.h iob.h libowfat/io.h \
  415. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  416. libowfat/array.h array.h
  417. iob_addfile_close.o: io/iob_addfile_close.c iob_internal.h iob.h \
  418. libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
  419. libowfat/uint32.h libowfat/array.h array.h
  420. iob_adds.o: io/iob_adds.c str.h iob.h libowfat/io.h libowfat/uint64.h \
  421. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h
  422. iob_adds_free.o: io/iob_adds_free.c str.h iob.h libowfat/io.h \
  423. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  424. libowfat/array.h
  425. iob_bytesleft.o: io/iob_bytesleft.c iob.h libowfat/io.h libowfat/uint64.h \
  426. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h
  427. iob_free.o: io/iob_free.c iob_internal.h iob.h libowfat/io.h \
  428. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  429. libowfat/array.h array.h
  430. iob_new.o: io/iob_new.c byte.h iob_internal.h iob.h libowfat/io.h \
  431. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  432. libowfat/array.h array.h
  433. iob_prefetch.o: io/iob_prefetch.c iob_internal.h iob.h libowfat/io.h \
  434. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  435. libowfat/array.h array.h
  436. iob_reset.o: io/iob_reset.c byte.h iob_internal.h iob.h libowfat/io.h \
  437. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  438. libowfat/array.h array.h
  439. iob_send.o: io/iob_send.c havebsdsf.h havealloca.h io_internal.h \
  440. libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
  441. libowfat/uint32.h libowfat/array.h libowfat/iarray.h haveepoll.h \
  442. havekqueue.h havedevpoll.h havesigio.h iob_internal.h iob.h array.h
  443. iob_write.o: io/iob_write.c iob_internal.h iob.h libowfat/io.h \
  444. libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
  445. libowfat/array.h array.h
  446. iom_abort.o: io/iom_abort.c io_internal.h libowfat/io.h libowfat/uint64.h \
  447. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  448. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  449. iom_add.o: io/iom_add.c io_internal.h libowfat/io.h libowfat/uint64.h \
  450. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  451. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  452. iom_init.o: io/iom_init.c io_internal.h libowfat/io.h libowfat/uint64.h \
  453. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  454. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  455. iom_wait.o: io/iom_wait.c io_internal.h libowfat/io.h libowfat/uint64.h \
  456. libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
  457. libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
  458. mmap_private.o: mmap/mmap_private.c open.h mmap.h
  459. mmap_read.o: mmap/mmap_read.c open.h mmap.h
  460. mmap_readat.o: mmap/mmap_readat.c open.h mmap.h
  461. mmap_shared.o: mmap/mmap_shared.c open.h mmap.h
  462. mmap_unmap.o: mmap/mmap_unmap.c open.h mmap.h
  463. imult16.o: mult/imult16.c uint16.h
  464. imult32.o: mult/imult32.c uint32.h
  465. imult64.o: mult/imult64.c uint64.h
  466. range_arrayinbuf.o: mult/range_arrayinbuf.c rangecheck.h safemult.h \
  467. uint16.h uint32.h uint64.h
  468. range_str2inbuf.o: mult/range_str2inbuf.c rangecheck.h
  469. range_str4inbuf.o: mult/range_str4inbuf.c rangecheck.h
  470. range_strinbuf.o: mult/range_strinbuf.c rangecheck.h
  471. umult16.o: mult/umult16.c uint16.h
  472. umult32.o: mult/umult32.c uint32.h
  473. umult64.o: mult/umult64.c uint64.h
  474. open_append.o: open/open_append.c open.h
  475. open_excl.o: open/open_excl.c open.h
  476. open_read.o: open/open_read.c open.h
  477. open_rw.o: open/open_rw.c open.h
  478. open_trunc.o: open/open_trunc.c open.h
  479. open_write.o: open/open_write.c open.h
  480. openreadclose.o: open/openreadclose.c open.h readclose.h stralloc.h \
  481. openreadclose.h
  482. readclose.o: open/readclose.c readclose.h stralloc.h
  483. scan_8int.o: scan/scan_8int.c scan.h
  484. scan_8long.o: scan/scan_8long.c scan.h
  485. scan_8longlong.o: scan/scan_8longlong.c scan.h
  486. scan_8longn.o: scan/scan_8longn.c scan.h
  487. scan_8short.o: scan/scan_8short.c scan.h
  488. scan_asn1derlength.o: scan/scan_asn1derlength.c scan.h
  489. scan_asn1dertag.o: scan/scan_asn1dertag.c scan.h
  490. scan_charsetnskip.o: scan/scan_charsetnskip.c scan.h
  491. scan_double.o: scan/scan_double.c scan.h
  492. scan_fromhex.o: scan/scan_fromhex.c scan.h
  493. scan_httpdate.o: scan/scan_httpdate.c scan.h byte.h case.h
  494. scan_int.o: scan/scan_int.c scan.h
  495. scan_iso8601.o: scan/scan_iso8601.c scan.h byte.h case.h
  496. scan_long.o: scan/scan_long.c scan.h
  497. scan_longlong.o: scan/scan_longlong.c scan.h
  498. scan_longn.o: scan/scan_longn.c scan.h
  499. scan_netstring.o: scan/scan_netstring.c scan.h
  500. scan_noncharsetnskip.o: scan/scan_noncharsetnskip.c scan.h
  501. scan_nonwhitenskip.o: scan/scan_nonwhitenskip.c scan.h
  502. scan_pb_tag.o: scan/scan_pb_tag.c scan.h
  503. scan_pb_type0_sint.o: scan/scan_pb_type0_sint.c scan.h
  504. scan_pb_type1_double.o: scan/scan_pb_type1_double.c scan.h \
  505. compiletimeassert.h
  506. scan_pb_type1_fixed64.o: scan/scan_pb_type1_fixed64.c scan.h uint64.h
  507. scan_pb_type2_stringlen.o: scan/scan_pb_type2_stringlen.c scan.h \
  508. rangecheck.h
  509. scan_pb_type5_fixed32.o: scan/scan_pb_type5_fixed32.c scan.h uint32.h
  510. scan_pb_type5_float.o: scan/scan_pb_type5_float.c scan.h \
  511. compiletimeassert.h
  512. scan_plusminus.o: scan/scan_plusminus.c scan.h
  513. scan_short.o: scan/scan_short.c scan.h
  514. scan_uint.o: scan/scan_uint.c scan.h
  515. scan_ulong.o: scan/scan_ulong.c scan.h
  516. scan_ulonglong.o: scan/scan_ulonglong.c scan.h
  517. scan_ulongn.o: scan/scan_ulongn.c scan.h haveuint128.h
  518. scan_ushort.o: scan/scan_ushort.c scan.h
  519. scan_utf8.o: scan/scan_utf8.c fmt.h byte.h
  520. scan_utf8_sem.o: scan/scan_utf8_sem.c scan.h
  521. scan_varint.o: scan/scan_varint.c scan.h
  522. scan_whitenskip.o: scan/scan_whitenskip.c scan.h
  523. scan_xint.o: scan/scan_xint.c scan.h
  524. scan_xlong.o: scan/scan_xlong.c scan.h
  525. scan_xlonglong.o: scan/scan_xlonglong.c scan.h
  526. scan_xlongn.o: scan/scan_xlongn.c scan.h
  527. scan_xshort.o: scan/scan_xshort.c scan.h
  528. fmt_ip4.o: socket/fmt_ip4.c fmt.h byte.h ip4.h
  529. fmt_ip6.o: socket/fmt_ip6.c fmt.h byte.h byte.h ip4.h ip6.h uint32.h
  530. fmt_ip6_flat.o: socket/fmt_ip6_flat.c ip6.h byte.h uint32.h haveinline.h \
  531. fmt.h
  532. fmt_ip6c.o: socket/fmt_ip6c.c fmt.h byte.h byte.h ip4.h ip6.h uint32.h
  533. fmt_ip6if.o: socket/fmt_ip6if.c ip6.h byte.h uint32.h str.h fmt.h \
  534. socket.h uint16.h
  535. fmt_ip6ifc.o: socket/fmt_ip6ifc.c fmt.h byte.h byte.h ip4.h ip6.h \
  536. uint32.h
  537. init.o: socket/init.c
  538. scan_ip4.o: socket/scan_ip4.c scan.h ip4.h
  539. scan_ip6.o: socket/scan_ip6.c scan.h ip4.h ip6.h byte.h uint32.h
  540. scan_ip6_flat.o: socket/scan_ip6_flat.c scan.h
  541. scan_ip6if.o: socket/scan_ip6if.c ip6.h byte.h uint32.h byte.h socket.h \
  542. uint16.h havealloca.h
  543. socket_accept4.o: socket/socket_accept4.c windoze.h socket.h uint16.h \
  544. uint32.h havesl.h
  545. socket_accept6.o: socket/socket_accept6.c windoze.h byte.h socket.h \
  546. uint16.h uint32.h ip6.h byte.h haveip6.h havesl.h havescope.h
  547. socket_bind4.o: socket/socket_bind4.c windoze.h byte.h uint16.h uint32.h \
  548. socket.h uint16.h uint32.h
  549. socket_bind4_reuse.o: socket/socket_bind4_reuse.c socket.h uint16.h \
  550. uint32.h windoze.h
  551. socket_bind6.o: socket/socket_bind6.c haveip6.h windoze.h ip6.h byte.h \
  552. uint32.h byte.h socket.h uint16.h
  553. socket_bind6_reuse.o: socket/socket_bind6_reuse.c socket.h uint16.h \
  554. uint32.h windoze.h
  555. socket_broadcast.o: socket/socket_broadcast.c socket.h uint16.h uint32.h \
  556. windoze.h
  557. socket_connect4.o: socket/socket_connect4.c windoze.h byte.h socket.h \
  558. uint16.h uint32.h uint16.h uint32.h
  559. socket_connect6.o: socket/socket_connect6.c windoze.h byte.h socket.h \
  560. uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h ip4.h havescope.h
  561. socket_connected.o: socket/socket_connected.c socket.h uint16.h uint32.h \
  562. havesl.h
  563. socket_deferaccept.o: socket/socket_deferaccept.c socket.h uint16.h \
  564. uint32.h windoze.h
  565. socket_fastopen.o: socket/socket_fastopen.c socket.h uint16.h uint32.h
  566. socket_fastopen_connect4.o: socket/socket_fastopen_connect4.c socket.h \
  567. uint16.h uint32.h
  568. socket_fastopen_connect6.o: socket/socket_fastopen_connect6.c socket.h \
  569. uint16.h uint32.h
  570. socket_getifidx.o: socket/socket_getifidx.c socket.h uint16.h uint32.h \
  571. haven2i.h
  572. socket_getifname.o: socket/socket_getifname.c socket.h uint16.h uint32.h \
  573. haven2i.h
  574. socket_ip4loopback.o: socket/socket_ip4loopback.c
  575. socket_listen.o: socket/socket_listen.c socket.h uint16.h uint32.h \
  576. windoze.h
  577. socket_local4.o: socket/socket_local4.c windoze.h byte.h socket.h \
  578. uint16.h uint32.h havesl.h
  579. socket_local6.o: socket/socket_local6.c windoze.h byte.h socket.h \
  580. uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h havesl.h havescope.h
  581. socket_mchopcount6.o: socket/socket_mchopcount6.c windoze.h socket.h \
  582. uint16.h uint32.h byte.h haveip6.h ip6.h byte.h
  583. socket_mcjoin4.o: socket/socket_mcjoin4.c windoze.h socket.h uint16.h \
  584. uint32.h byte.h
  585. socket_mcjoin6.o: socket/socket_mcjoin6.c windoze.h socket.h uint16.h \
  586. uint32.h byte.h haveip6.h ip6.h byte.h
  587. socket_mcleave4.o: socket/socket_mcleave4.c windoze.h socket.h uint16.h \
  588. uint32.h byte.h
  589. socket_mcleave6.o: socket/socket_mcleave6.c windoze.h socket.h uint16.h \
  590. uint32.h byte.h haveip6.h ip6.h byte.h
  591. socket_mcloop4.o: socket/socket_mcloop4.c windoze.h socket.h uint16.h \
  592. uint32.h
  593. socket_mcloop6.o: socket/socket_mcloop6.c windoze.h socket.h uint16.h \
  594. uint32.h haveip6.h
  595. socket_mcttl4.o: socket/socket_mcttl4.c windoze.h socket.h uint16.h \
  596. uint32.h
  597. socket_noipv6.o: socket/socket_noipv6.c
  598. socket_quickack.o: socket/socket_quickack.c socket.h uint16.h uint32.h
  599. socket_recv4.o: socket/socket_recv4.c windoze.h socket.h uint16.h \
  600. uint32.h havesl.h
  601. socket_recv6.o: socket/socket_recv6.c windoze.h byte.h socket.h uint16.h \
  602. uint32.h ip6.h byte.h haveip6.h havesl.h havescope.h
  603. socket_remote4.o: socket/socket_remote4.c windoze.h byte.h socket.h \
  604. uint16.h uint32.h havesl.h
  605. socket_remote6.o: socket/socket_remote6.c windoze.h byte.h socket.h \
  606. uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h havesl.h havescope.h
  607. socket_sctp4.o: socket/socket_sctp4.c socket.h uint16.h uint32.h ndelay.h
  608. socket_sctp4b.o: socket/socket_sctp4b.c windoze.h socket.h uint16.h \
  609. uint32.h ndelay.h
  610. socket_sctp6.o: socket/socket_sctp6.c socket.h uint16.h uint32.h ndelay.h
  611. socket_sctp6b.o: socket/socket_sctp6b.c windoze.h haveip6.h socket.h \
  612. uint16.h uint32.h ndelay.h
  613. socket_send4.o: socket/socket_send4.c windoze.h byte.h socket.h uint16.h \
  614. uint32.h
  615. socket_send6.o: socket/socket_send6.c windoze.h byte.h socket.h uint16.h \
  616. uint32.h ip6.h byte.h haveip6.h ip4.h havescope.h
  617. socket_tcp4.o: socket/socket_tcp4.c socket.h uint16.h uint32.h ndelay.h
  618. socket_tcp4b.o: socket/socket_tcp4b.c windoze.h socket.h uint16.h \
  619. uint32.h ndelay.h
  620. socket_tcp6.o: socket/socket_tcp6.c haveip6.h socket.h uint16.h uint32.h \
  621. ndelay.h
  622. socket_tcp6b.o: socket/socket_tcp6b.c windoze.h haveip6.h socket.h \
  623. uint16.h uint32.h ndelay.h
  624. socket_tryreservein.o: socket/socket_tryreservein.c windoze.h socket.h \
  625. uint16.h uint32.h
  626. socket_udp4.o: socket/socket_udp4.c windoze.h socket.h uint16.h uint32.h \
  627. ndelay.h
  628. socket_udp6.o: socket/socket_udp6.c windoze.h haveip6.h socket.h uint16.h \
  629. uint32.h ndelay.h
  630. socket_v4mappedprefix.o: socket/socket_v4mappedprefix.c
  631. socket_v6any.o: socket/socket_v6any.c
  632. socket_v6loopback.o: socket/socket_v6loopback.c
  633. str_chr.o: str/str_chr.c str.h
  634. str_copy.o: str/str_copy.c str.h
  635. str_diff.o: str/str_diff.c byte.h
  636. str_diffn.o: str/str_diffn.c byte.h
  637. str_len.o: str/str_len.c str.h
  638. str_rchr.o: str/str_rchr.c str.h
  639. str_start.o: str/str_start.c str.h
  640. stralloc_append.o: stralloc/stralloc_append.c stralloc.h
  641. stralloc_cat.o: stralloc/stralloc_cat.c stralloc.h str.h
  642. stralloc_catb.o: stralloc/stralloc_catb.c byte.h stralloc.h
  643. stralloc_catlong0.o: stralloc/stralloc_catlong0.c stralloc.h fmt.h byte.h
  644. stralloc_catm_internal.o: stralloc/stralloc_catm_internal.c stralloc.h
  645. stralloc_cats.o: stralloc/stralloc_cats.c stralloc.h str.h
  646. stralloc_catulong0.o: stralloc/stralloc_catulong0.c stralloc.h fmt.h \
  647. byte.h
  648. stralloc_chomp.o: stralloc/stralloc_chomp.c stralloc.h
  649. stralloc_chop.o: stralloc/stralloc_chop.c stralloc.h
  650. stralloc_copy.o: stralloc/stralloc_copy.c stralloc.h str.h
  651. stralloc_copyb.o: stralloc/stralloc_copyb.c byte.h stralloc.h
  652. stralloc_copys.o: stralloc/stralloc_copys.c stralloc.h str.h
  653. stralloc_diff.o: stralloc/stralloc_diff.c stralloc.h byte.h str.h
  654. stralloc_diffs.o: stralloc/stralloc_diffs.c stralloc.h byte.h str.h
  655. stralloc_free.o: stralloc/stralloc_free.c stralloc.h
  656. stralloc_init.o: stralloc/stralloc_init.c stralloc.h
  657. stralloc_ready.o: stralloc/stralloc_ready.c stralloc.h
  658. stralloc_readyplus.o: stralloc/stralloc_readyplus.c stralloc.h
  659. stralloc_starts.o: stralloc/stralloc_starts.c stralloc.h byte.h str.h
  660. stralloc_zero.o: stralloc/stralloc_zero.c stralloc.h
  661. tai_add.o: tai/tai_add.c tai.h uint64.h
  662. tai_now.o: tai/tai_now.c tai.h uint64.h
  663. tai_pack.o: tai/tai_pack.c tai.h uint64.h
  664. tai_sub.o: tai/tai_sub.c tai.h uint64.h
  665. tai_uint.o: tai/tai_uint.c tai.h uint64.h
  666. tai_unpack.o: tai/tai_unpack.c tai.h uint64.h
  667. taia_add.o: taia/taia_add.c taia.h tai.h uint64.h uint32.h
  668. taia_addsec.o: taia/taia_addsec.c taia.h tai.h uint64.h uint32.h
  669. taia_approx.o: taia/taia_approx.c taia.h tai.h uint64.h uint32.h
  670. taia_frac.o: taia/taia_frac.c taia.h tai.h uint64.h uint32.h
  671. taia_half.o: taia/taia_half.c taia.h tai.h uint64.h uint32.h
  672. taia_less.o: taia/taia_less.c taia.h tai.h uint64.h uint32.h
  673. taia_now.o: taia/taia_now.c taia.h tai.h uint64.h uint32.h
  674. taia_pack.o: taia/taia_pack.c taia.h tai.h uint64.h uint32.h
  675. taia_sub.o: taia/taia_sub.c taia.h tai.h uint64.h uint32.h
  676. taia_tai.o: taia/taia_tai.c taia.h tai.h uint64.h uint32.h
  677. taia_uint.o: taia/taia_uint.c taia.h tai.h uint64.h uint32.h
  678. taia_unpack.o: taia/taia_unpack.c taia.h tai.h uint64.h uint32.h
  679. base64.o: textcode/base64.c
  680. base64url.o: textcode/base64url.c
  681. fmt_base64.o: textcode/fmt_base64.c fmt.h byte.h textcode.h haveinline.h
  682. fmt_base64url.o: textcode/fmt_base64url.c fmt.h byte.h textcode.h \
  683. haveinline.h
  684. fmt_cescape.o: textcode/fmt_cescape.c fmt.h byte.h textcode.h str.h \
  685. haveinline.h
  686. fmt_foldwhitespace.o: textcode/fmt_foldwhitespace.c fmt.h byte.h \
  687. textcode.h str.h haveinline.h
  688. fmt_hexdump.o: textcode/fmt_hexdump.c fmt.h byte.h textcode.h str.h \
  689. haveinline.h
  690. fmt_html.o: textcode/fmt_html.c fmt.h byte.h textcode.h str.h \
  691. haveinline.h
  692. fmt_html_tagarg.o: textcode/fmt_html_tagarg.c fmt.h byte.h textcode.h \
  693. str.h haveinline.h
  694. fmt_jsonescape.o: textcode/fmt_jsonescape.c fmt.h byte.h textcode.h str.h \
  695. scan.h haveinline.h
  696. fmt_ldapescape.o: textcode/fmt_ldapescape.c fmt.h byte.h textcode.h \
  697. haveinline.h str.h
  698. fmt_ldapescape2.o: textcode/fmt_ldapescape2.c fmt.h byte.h textcode.h \
  699. haveinline.h
  700. fmt_quotedprintable.o: textcode/fmt_quotedprintable.c fmt.h byte.h \
  701. textcode.h haveinline.h str.h
  702. fmt_to_array.o: textcode/fmt_to_array.c array.h uint64.h textcode.h
  703. fmt_to_sa.o: textcode/fmt_to_sa.c stralloc.h textcode.h
  704. fmt_tofrom_array.o: textcode/fmt_tofrom_array.c array.h uint64.h \
  705. textcode.h
  706. fmt_urlencoded.o: textcode/fmt_urlencoded.c fmt.h byte.h textcode.h str.h \
  707. haveinline.h
  708. fmt_uuencoded.o: textcode/fmt_uuencoded.c fmt.h byte.h textcode.h \
  709. haveinline.h
  710. fmt_xml.o: textcode/fmt_xml.c fmt.h byte.h textcode.h str.h haveinline.h
  711. fmt_yenc.o: textcode/fmt_yenc.c fmt.h byte.h textcode.h
  712. scan_base64.o: textcode/scan_base64.c textcode.h haveinline.h
  713. scan_base64url.o: textcode/scan_base64url.c textcode.h haveinline.h
  714. scan_cescape.o: textcode/scan_cescape.c fmt.h byte.h textcode.h scan.h
  715. scan_hexdump.o: textcode/scan_hexdump.c fmt.h byte.h textcode.h scan.h
  716. scan_html.o: textcode/scan_html.c entities.h fmt.h byte.h textcode.h \
  717. haveinline.h scan.h case.h str.h
  718. scan_jsonescape.o: textcode/scan_jsonescape.c fmt.h byte.h textcode.h \
  719. scan.h
  720. scan_ldapescape.o: textcode/scan_ldapescape.c fmt.h byte.h textcode.h \
  721. scan.h
  722. scan_quotedprintable.o: textcode/scan_quotedprintable.c fmt.h byte.h \
  723. textcode.h scan.h
  724. scan_to_array.o: textcode/scan_to_array.c str.h array.h uint64.h \
  725. textcode.h
  726. scan_to_sa.o: textcode/scan_to_sa.c str.h stralloc.h textcode.h
  727. scan_tofrom_array.o: textcode/scan_tofrom_array.c str.h array.h uint64.h \
  728. textcode.h
  729. scan_urlencoded.o: textcode/scan_urlencoded.c fmt.h byte.h textcode.h \
  730. scan.h
  731. scan_uuencoded.o: textcode/scan_uuencoded.c textcode.h
  732. scan_yenc.o: textcode/scan_yenc.c fmt.h byte.h textcode.h
  733. uint16_pack.o: uint/uint16_pack.c uint16.h
  734. uint16_pack_big.o: uint/uint16_pack_big.c uint16.h
  735. uint16_read.o: uint/uint16_read.c uint16.h
  736. uint16_read_big.o: uint/uint16_read_big.c uint16.h
  737. uint16_unpack.o: uint/uint16_unpack.c uint16.h
  738. uint16_unpack_big.o: uint/uint16_unpack_big.c uint16.h
  739. uint32_pack.o: uint/uint32_pack.c uint32.h
  740. uint32_pack_big.o: uint/uint32_pack_big.c uint32.h
  741. uint32_read.o: uint/uint32_read.c uint32.h
  742. uint32_read_big.o: uint/uint32_read_big.c uint32.h
  743. uint32_unpack.o: uint/uint32_unpack.c uint32.h
  744. uint32_unpack_big.o: uint/uint32_unpack_big.c uint32.h
  745. uint64_pack.o: uint/uint64_pack.c uint64.h uint32.h
  746. uint64_pack_big.o: uint/uint64_pack_big.c uint64.h uint32.h
  747. uint64_read.o: uint/uint64_read.c uint64.h uint32.h
  748. uint64_read_big.o: uint/uint64_read_big.c uint64.h uint32.h
  749. uint64_unpack.o: uint/uint64_unpack.c uint64.h uint32.h
  750. uint64_unpack_big.o: uint/uint64_unpack_big.c uint64.h uint32.h
  751. iopause.o: unix/iopause.c taia.h tai.h uint64.h uint32.h iopause.h taia.h \
  752. select.h
  753. ndelay_off.o: unix/ndelay_off.c ndelay.h
  754. ndelay_on.o: unix/ndelay_on.c ndelay.h
  755. winsock2errno.o: unix/winsock2errno.c
  756. t.o: t.c fmt.h byte.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
  757. buffer.h ip4.h ip6.h mmap.h open.h textcode.h dns.h iopause.h taia.h \
  758. tai.h uint64.h case.h errmsg.h iob.h libowfat/io.h libowfat/uint64.h \
  759. libowfat/taia.h libowfat/array.h safemult.h iarray.h critbit.h CAS.h \
  760. io_internal.h libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h \
  761. havesigio.h
  762. BYTE_OBJS=byte_chr.o byte_copy.o byte_copyr.o byte_diff.o byte_equal_notimingattack.o byte_rchr.o byte_zero.o
  763. FMT_OBJS=fmt_8long.o fmt_8longlong.o fmt_asn1derlength.o fmt_asn1dertag.o fmt_double.o fmt_escapecharc.o fmt_escapecharhtml.o fmt_escapecharjson.o fmt_escapecharquotedprintable.o fmt_escapecharquotedprintableutf8.o fmt_escapecharxml.o fmt_fill.o fmt_httpdate.o fmt_human.o fmt_humank.o fmt_iso8601.o fmt_long.o fmt_longlong.o fmt_minus.o fmt_netstring.o fmt_pad.o fmt_pb_double.o fmt_pb_float.o fmt_pb_int.o fmt_pb_sint.o fmt_pb_string.o fmt_pb_tag.o fmt_pb_type0_sint.o fmt_pb_type1_double.o fmt_pb_type1_fixed64.o fmt_pb_type2_string.o fmt_pb_type5_fixed32.o fmt_pb_type5_float.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_utf8.o fmt_varint.o fmt_xlong.o fmt_xlonglong.o fmt_xmlescape.o
  764. SCAN_OBJS=scan_8int.o scan_8long.o scan_8longlong.o scan_8longn.o scan_8short.o scan_asn1derlength.o scan_asn1dertag.o scan_charsetnskip.o scan_double.o scan_fromhex.o scan_httpdate.o scan_int.o scan_iso8601.o scan_long.o scan_longlong.o scan_longn.o scan_netstring.o scan_noncharsetnskip.o scan_nonwhitenskip.o scan_pb_tag.o scan_pb_type0_sint.o scan_pb_type1_double.o scan_pb_type1_fixed64.o scan_pb_type2_stringlen.o scan_pb_type5_fixed32.o scan_pb_type5_float.o scan_plusminus.o scan_short.o scan_uint.o scan_ulong.o scan_ulonglong.o scan_ulongn.o scan_ushort.o scan_utf8.o scan_varint.o scan_whitenskip.o scan_xint.o scan_xlong.o scan_xlonglong.o scan_xlongn.o scan_xshort.o
  765. STR_OBJS=str_chr.o str_copy.o str_diff.o str_diffn.o str_len.o str_rchr.o str_start.o
  766. 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
  767. OPEN_OBJS=open_append.o open_excl.o open_read.o open_rw.o open_trunc.o open_write.o openreadclose.o readclose.o
  768. 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
  769. UNIX_OBJS=iopause.o ndelay_off.o ndelay_on.o winsock2errno.o
  770. 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_fastopen.o socket_fastopen_connect4.o socket_fastopen_connect6.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_quickack.o socket_recv4.o socket_recv6.o socket_remote4.o socket_remote6.o socket_sctp4.o socket_sctp4b.o socket_sctp6.o socket_sctp6b.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
  771. 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_free.o buffer_fromarray.o buffer_frombuf.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_munmap.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
  772. MMAP_OBJS=mmap_private.o mmap_read.o mmap_readat.o mmap_shared.o mmap_unmap.o
  773. 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
  774. TAI_OBJS=tai_add.o tai_now.o tai_pack.o tai_sub.o tai_uint.o tai_unpack.o
  775. 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
  776. CASE_OBJS=case_diffb.o case_diffs.o case_lowerb.o case_lowers.o case_starts.o
  777. 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
  778. 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 iarray_allocate.o iarray_free.o iarray_get.o iarray_init.o iarray_length.o
  779. 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_debugstring.o io_dontwantread.o io_dontwantwrite.o io_eagain.o io_eagain_read.o io_eagain_write.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_timedout.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
  780. TEXTCODE_OBJS=base64.o base64url.o fmt_base64.o fmt_base64url.o fmt_cescape.o fmt_foldwhitespace.o fmt_hexdump.o fmt_html.o fmt_html_tagarg.o fmt_jsonescape.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_xml.o fmt_yenc.o scan_base64.o scan_base64url.o scan_cescape.o scan_hexdump.o scan_html.o scan_jsonescape.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
  781. CDB_OBJS=cdb.o cdb_hash.o cdb_make.o cdb_traverse.o
  782. CRITBIT_OBJS=critbit.o
  783. byte.a: $(BYTE_OBJS)
  784. fmt.a: $(FMT_OBJS)
  785. scan.a: $(SCAN_OBJS)
  786. str.a: $(STR_OBJS)
  787. uint.a: $(UINT_OBJS)
  788. open.a: $(OPEN_OBJS)
  789. stralloc.a: $(STRALLOC_OBJS)
  790. unix.a: $(UNIX_OBJS)
  791. socket.a: $(SOCKET_OBJS)
  792. buffer.a: $(BUFFER_OBJS)
  793. mmap.a: $(MMAP_OBJS)
  794. textcode.a: $(TEXTCODE_OBJS)
  795. taia.a: $(TAIA_OBJS)
  796. tai.a: $(TAI_OBJS)
  797. dns.a: $(DNS_OBJS)
  798. case.a: $(CASE_OBJS)
  799. array.a: $(ARRAY_OBJS)
  800. mult.a: $(MULT_OBJS)
  801. io.a: $(IO_OBJS)
  802. cdb.a: $(CDB_OBJS)
  803. critbit.a: $(CRITBIT_OBJS)
  804. ALL_OBJS=$(DNS_OBJS) $(BYTE_OBJS) $(FMT_OBJS) $(SCAN_OBJS) \
  805. $(STR_OBJS) $(UINT_OBJS) $(OPEN_OBJS) $(STRALLOC_OBJS) $(UNIX_OBJS) \
  806. $(SOCKET_OBJS) $(BUFFER_OBJS) $(MMAP_OBJS) $(TEXTCODE_OBJS) \
  807. $(TAIA_OBJS) $(TAI_OBJS) $(CASE_OBJS) $(ARRAY_OBJS) $(MULT_OBJS) \
  808. $(IO_OBJS) $(CDB_OBJS) $(CRITBIT_OBJS)
  809. libowfat.a: $(ALL_OBJS)
  810. $(CROSS)ar cru $@ $(ALL_OBJS)
  811. -$(CROSS)ranlib $@
  812. CFLAGS+=-I.
  813. CFLAGS_OPT+=-I.
  814. %.o: byte/%.c
  815. $(DIET) $(CCC) -c $< $(CFLAGS_OPT)
  816. %.o:
  817. $(DIET) $(CCC) -c $< $(CFLAGS)
  818. %.a:
  819. $(CROSS)ar cru $@ $^
  820. -$(CROSS)ranlib $@
  821. t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
  822. buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \
  823. taia.h tai.h uint64.h case.h errmsg.h iob.h io.h array.h safemult.h \
  824. iarray.h io_internal.h haveepoll.h havekqueue.h havedevpoll.h \
  825. havesigio.h CAS.h
  826. t: t.o libowfat.a libsocket
  827. $(DIET) $(CCC) -g -o $@ t.o libowfat.a `cat libsocket` -lpthread $(LDFLAGS)
  828. .PHONY: all clean tar install rename
  829. clean:
  830. rm -f *.o *.obj *.a *.lib *.da *.bbg *.bb core t haveip6.h haven2i.h \
  831. havesl.h haveinline.h iopause.h select.h havekqueue.h haveepoll.h \
  832. libepoll havesigio.h havebsdsf.h havesendfile.h havescope.h havedevpoll.h \
  833. dep libsocket havealloca.h haveuint128.h entities.h ent havepread.h
  834. INCLUDES=buffer.h byte.h fmt.h ip4.h ip6.h mmap.h scan.h socket.h str.h stralloc.h \
  835. uint16.h uint32.h uint64.h open.h textcode.h tai.h taia.h dns.h iopause.h case.h \
  836. openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h \
  837. errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h va_narg.h isset.h \
  838. compiletimeassert.h critbit.h
  839. libowfat:
  840. -mkdir libowfat
  841. .PHONY: headers
  842. headers: libowfat $(INCLUDES)
  843. ln -f $(INCLUDES) libowfat/
  844. install-inc:
  845. install -d $(DESTDIR)$(INCLUDEDIR)/libowfat
  846. install -m 644 $(INCLUDES) $(DESTDIR)$(INCLUDEDIR)/libowfat
  847. install-lib: libowfat.a
  848. install -d $(DESTDIR)$(LIBDIR)
  849. install -m 644 libowfat.a $(DESTDIR)$(LIBDIR)
  850. install-man:
  851. install -d $(DESTDIR)$(MAN3DIR)
  852. install -m 644 $(wildcard */*.3) $(DESTDIR)$(MAN3DIR)
  853. install: headers install-inc install-man install-lib
  854. uninstall:
  855. rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
  856. rm -f $(INCLUDEDIR)/libowfat/*.h
  857. test -d $(INCLUDEDIR)/libowfat && rmdir $(INCLUDEDIR)/libowfat
  858. rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
  859. rm -f $(LIBDIR)/libowfat.a
  860. VERSION=libowfat-0.33
  861. CURNAME=libowfat-0.32
  862. tar: clean rename
  863. rm -f dep libdep
  864. cd ..; tar cvvf $(VERSION).tar.xz --use=xz --exclude CVS $(VERSION)
  865. rename:
  866. if test $(CURNAME) != $(VERSION); then cd .. && mv $(CURNAME) $(VERSION); fi
  867. haveip6.h: tryip6.c
  868. -rm -f $@
  869. if $(DIET) $(CCC) $(CFLAGS) -c tryip6.c >/dev/null 2>&1; then echo "#define LIBC_HAS_IP6"; fi > $@
  870. -rm -f tryip6.o
  871. havescope.h: tryscope.c
  872. -rm -f $@
  873. if $(DIET) $(CCC) $(CFLAGS) -c tryscope.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SCOPE_ID"; fi > $@
  874. -rm -f tryscope.o
  875. haven2i.h: tryn2i.c
  876. -rm -f $@
  877. if $(DIET) $(CCC) $(CFLAGS) -o t tryn2i.c >/dev/null 2>&1; then echo "#define HAVE_N2I"; fi > $@
  878. -rm -f t
  879. havesl.h: trysl.c
  880. -rm -f $@
  881. if ! $(DIET) $(CCC) $(CFLAGS) -o t trysl.c >/dev/null 2>&1; then echo "typedef int socklen_t;"; fi > $@
  882. -rm -f t
  883. haveinline.h: tryinline.c
  884. -rm -f $@
  885. if ! $(DIET) $(CCC) $(CFLAGS) -c tryinline.c >/dev/null 2>&1; then echo "#define inline"; fi > $@
  886. -rm -f tryinline.o
  887. havekqueue.h: trykqueue.c
  888. -rm -f $@
  889. if $(DIET) $(CCC) $(CFLAGS) -c trykqueue.c >/dev/null 2>&1; then echo "#define HAVE_KQUEUE"; fi > $@
  890. -rm -f trykqueue.o
  891. havebsdsf.h: trybsdsf.c
  892. -rm -f $@
  893. if $(DIET) $(CCC) $(CFLAGS) -o trybsdsf trybsdsf.c >/dev/null 2>&1; then echo "#define HAVE_BSDSENDFILE"; fi > $@
  894. -rm -f trybsdsf.o trybsdsf
  895. havesendfile.h: trysendfile.c
  896. -rm -f $@
  897. if $(DIET) $(CCC) $(CFLAGS) -c trysendfile.c >/dev/null 2>&1; then echo "#define HAVE_SENDFILE"; fi > $@
  898. -rm -f trysendfile.o
  899. haveepoll.h: tryepoll.c
  900. -rm -f $@
  901. if $(DIET) $(CCC) $(CFLAGS) -o tryepoll tryepoll.c >/dev/null 2>&1; then echo "#define HAVE_EPOLL 1"; else \
  902. if $(DIET) $(CCC) $(CFLAGS) -o tryepoll tryepoll.c -lepoll >/dev/null 2>&1; then echo "#define HAVE_EPOLL 2"; fi; fi > $@
  903. -rm -f tryepoll
  904. havedevpoll.h: trydevpoll.c
  905. -rm -f $@
  906. if $(DIET) $(CCC) $(CFLAGS) -c trydevpoll.c >/dev/null 2>&1; then echo "#define HAVE_DEVPOLL"; fi > $@
  907. -rm -f trydevpoll.o
  908. libepoll: haveepoll.h
  909. if test "z`cat haveepoll.h`" = "z#define HAVE_EPOLL 2"; then echo -lepoll; fi > $@
  910. havesigio.h: trysigio.c
  911. -rm -f $@
  912. if $(DIET) $(CCC) $(CFLAGS) -c trysigio.c >/dev/null 2>&1; then echo "#define HAVE_SIGIO"; fi > $@
  913. -rm -f trysigio.o
  914. havealloca.h: tryalloca.c
  915. -rm -f $@
  916. echo "#include <stdlib.h>" > $@
  917. if $(DIET) $(CCC) $(CFLAGS) -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include <alloca.h>"; fi >> $@
  918. if $(DIET) $(CCC) $(CFLAGS) -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include <malloc.h>"; fi >> $@
  919. -rm -f tryalloca.o
  920. haveuint128.h: tryuint128.c
  921. -rm -f $@
  922. if $(DIET) $(CCC) $(CFLAGS) -c tryuint128.c >/dev/null 2>&1; then echo "#define HAVE_UINT128"; fi > $@
  923. -rm -f tryuint128.o
  924. havepread.h: trypread.c
  925. -rm -f $@
  926. if $(DIET) $(CCC) $(CFLAGS) -c trypread.c >/dev/null 2>&1; then echo "#define HAVE_PREAD"; fi > $@
  927. -rm -f trypread.o
  928. iopause.h: iopause.h1 iopause.h2 trypoll.c
  929. -rm -f $@
  930. if $(DIET) $(CCC) $(CFLAGS) -o t trypoll.c >/dev/null 2>&1; then cp iopause.h2 iopause.h; else cp iopause.h1 iopause.h; fi
  931. -rm -f t
  932. select.h: select.h1 select.h2 trysysel.c
  933. -rm -f $@
  934. if $(DIET) $(CCC) $(CFLAGS) -c trysysel.c >/dev/null 2>&1; then cp select.h2 select.h; else cp select.h1 select.h; fi
  935. -rm -f trysysel.o
  936. libsocket: trysocket.c
  937. if $(DIET) $(CCC) $(CFLAGS) -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \
  938. if $(DIET) $(CCC) $(CFLAGS) -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \
  939. if $(DIET) $(CCC) $(CFLAGS) -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; \
  940. fi; fi; fi > blah
  941. if $(DIET) $(CCC) $(CFLAGS) -o trysocket trysendfile.c `cat blah`>/dev/null 2>&1; then cat blah; else \
  942. if $(DIET) $(CCC) $(CFLAGS) -o trysocket trysendfile.c -lsendfile `cat blah` >/dev/null 2>&1; then echo "-lsendfile"; cat blah; \
  943. fi; fi > libsocket
  944. rm -f blah trysocket
  945. socket_accept6.o socket_bind6.o socket_connect6.o socket_local6.o \
  946. socket_mchopcount6.o socket_mcjoin6.o socket_mcleave6.o socket_mcloop6.o \
  947. socket_recv6.o socket_remote6.o socket_sctp6b.o socket_send6.o \
  948. socket_tcp6b.o socket_tcp6.o socket_udp6.o: haveip6.h
  949. socket_accept6.o socket_connect6.o socket_local6.o socket_recv6.o \
  950. socket_remote6.o socket_send6.o: havescope.h
  951. socket_getifidx.o socket_getifname.o: haven2i.h
  952. socket_accept4.o socket_accept6.o socket_connected.o socket_local4.o \
  953. socket_local6.o socket_recv4.o socket_recv6.o socket_remote4.o \
  954. socket_remote6.o: havesl.h
  955. dns_nd6.o fmt_xlong.o scan_xlong.o fmt_ip6_flat.o $(TEXTCODE_OBJS): haveinline.h
  956. iob_send.o scan_ip6if.o: havealloca.h
  957. 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 havealloca.h haveuint128.h entities.h havepread.h
  958. $(CC) -I. -MM `ls */*.c | grep -v test` t.c | sed -e 's@ \./@ @g' > dep
  959. libdep:
  960. 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
  961. Makefile: GNUmakefile dep libdep
  962. echo "# do not edit! edit GNUmakefile instead" > $@
  963. sed '/startrip/,$$d' < GNUmakefile >> $@
  964. cat dep libdep >> $@
  965. sed -e '1,/stoprip/d' -e 's/ %.c$$//' \
  966. -e 's/^VERSION=.*/'VERSION=$(VERSION)/ \
  967. -e 's/^CURNAME=.*/'CURNAME=$(CURNAME)/ \
  968. -e 's///' < GNUmakefile >> $@
  969. windoze:
  970. $(MAKE) DIET= CROSS=i686-mingw32-
  971. windoze64:
  972. $(MAKE) DIET= CROSS=x86_64-mingw32-
  973. update:
  974. dl -n http://www.w3.org/TR/html5/entities.json
  975. entities.h: entities.json ent
  976. ./ent
  977. scan_html.o: entities.h