You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

806 lines
42 KiB
Makefile

# do not edit! edit GNUmakefile instead
# Warning! There is no real "make install" support.
# The include files are named after the djb, i.e. pretty generic. They
# will probably conflict with other headers. That's why I install them
# in /opt/diet, where they are in the default search path for my diet libc
# work but don't conflict with anything there. YMMV.
prefix=/opt/diet
LIBDIR=${prefix}/lib
INCLUDEDIR=${prefix}/include
MAN3DIR=${prefix}/man/man3
LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \
19 years ago
buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
19 years ago
textcode.a cdb.a
all: $(LIBS) libowfat.a libsocket t
19 years ago
CROSS=
#CROSS=i686-mingw-
CC=$(CROSS)gcc
CFLAGS=-pipe -W -Wall -O2 -fomit-frame-pointer
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
20 years ago
# CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
19 years ago
CFLAGS += -D_REENTRANT
array_allocate.o: array/array_allocate.c likely.h safemult.h uint16.h \
uint32.h uint64.h array.h byte.h
array_bytes.o: array/array_bytes.c array.h uint64.h
array_cat.o: array/array_cat.c array.h uint64.h byte.h
array_cat0.o: array/array_cat0.c array.h uint64.h
array_catb.o: array/array_catb.c array.h uint64.h byte.h
array_cate.o: array/array_cate.c array.h uint64.h
array_cats.o: array/array_cats.c array.h uint64.h str.h
array_cats0.o: array/array_cats0.c array.h uint64.h str.h
array_equal.o: array/array_equal.c byte.h array.h uint64.h
array_fail.o: array/array_fail.c array.h uint64.h
array_get.o: array/array_get.c likely.h safemult.h uint16.h uint32.h \
uint64.h array.h
array_length.o: array/array_length.c array.h uint64.h
array_reset.o: array/array_reset.c array.h uint64.h
array_start.o: array/array_start.c array.h uint64.h
array_trunc.o: array/array_trunc.c array.h uint64.h
array_truncate.o: array/array_truncate.c likely.h safemult.h uint16.h \
uint32.h uint64.h array.h
iarray_allocate.o: array/iarray_allocate.c likely.h iarray.h uint64.h
iarray_free.o: array/iarray_free.c iarray.h uint64.h
16 years ago
iarray_get.o: array/iarray_get.c iarray.h uint64.h
iarray_init.o: array/iarray_init.c iarray.h uint64.h
buffer_0.o: buffer/buffer_0.c buffer.h
buffer_0small.o: buffer/buffer_0small.c buffer.h
buffer_1.o: buffer/buffer_1.c buffer.h
buffer_1small.o: buffer/buffer_1small.c buffer.h
buffer_2.o: buffer/buffer_2.c buffer.h
buffer_close.o: buffer/buffer_close.c buffer.h
buffer_feed.o: buffer/buffer_feed.c buffer.h
buffer_flush.o: buffer/buffer_flush.c buffer.h
buffer_fromsa.o: buffer/buffer_fromsa.c stralloc.h buffer.h
buffer_get.o: buffer/buffer_get.c byte.h buffer.h
buffer_get_new_token_sa.o: buffer/buffer_get_new_token_sa.c stralloc.h \
buffer.h
buffer_get_new_token_sa_pred.o: buffer/buffer_get_new_token_sa_pred.c \
stralloc.h buffer.h
19 years ago
buffer_get_token.o: buffer/buffer_get_token.c byte.h buffer.h scan.h
buffer_get_token_pred.o: buffer/buffer_get_token_pred.c byte.h buffer.h \
scan.h
buffer_get_token_sa.o: buffer/buffer_get_token_sa.c byte.h stralloc.h \
buffer.h
buffer_get_token_sa_pred.o: buffer/buffer_get_token_sa_pred.c byte.h \
stralloc.h buffer.h
buffer_getc.o: buffer/buffer_getc.c byte.h buffer.h
buffer_getline.o: buffer/buffer_getline.c buffer.h
buffer_getline_sa.o: buffer/buffer_getline_sa.c stralloc.h buffer.h
buffer_getn.o: buffer/buffer_getn.c byte.h buffer.h
19 years ago
buffer_getnewline_sa.o: buffer/buffer_getnewline_sa.c stralloc.h buffer.h
buffer_init.o: buffer/buffer_init.c buffer.h
buffer_init_free.o: buffer/buffer_init_free.c buffer.h
buffer_mmapread.o: buffer/buffer_mmapread.c buffer.h mmap.h
buffer_peek.o: buffer/buffer_peek.c buffer.h
buffer_put.o: buffer/buffer_put.c byte.h buffer.h
buffer_put8long.o: buffer/buffer_put8long.c buffer.h fmt.h
buffer_putalign.o: buffer/buffer_putalign.c byte.h buffer.h
buffer_puterror.o: buffer/buffer_puterror.c buffer.h
buffer_puterror2.o: buffer/buffer_puterror2.c buffer.h
buffer_putflush.o: buffer/buffer_putflush.c buffer.h
buffer_putlong.o: buffer/buffer_putlong.c buffer.h fmt.h
buffer_putlonglong.o: buffer/buffer_putlonglong.c buffer.h fmt.h
buffer_putm_internal.o: buffer/buffer_putm_internal.c buffer.h
buffer_putm_internal_flush.o: buffer/buffer_putm_internal_flush.c \
buffer.h
buffer_putnlflush.o: buffer/buffer_putnlflush.c str.h buffer.h
buffer_puts.o: buffer/buffer_puts.c str.h buffer.h
buffer_putsa.o: buffer/buffer_putsa.c stralloc.h buffer.h
buffer_putsaflush.o: buffer/buffer_putsaflush.c stralloc.h buffer.h
buffer_putsalign.o: buffer/buffer_putsalign.c str.h buffer.h
buffer_putsflush.o: buffer/buffer_putsflush.c str.h buffer.h
buffer_putspace.o: buffer/buffer_putspace.c str.h buffer.h
buffer_putulong.o: buffer/buffer_putulong.c buffer.h fmt.h
buffer_putulonglong.o: buffer/buffer_putulonglong.c buffer.h fmt.h
buffer_putxlong.o: buffer/buffer_putxlong.c buffer.h fmt.h
buffer_seek.o: buffer/buffer_seek.c buffer.h
buffer_stubborn.o: buffer/buffer_stubborn.c buffer.h
buffer_stubborn2.o: buffer/buffer_stubborn2.c buffer.h
16 years ago
buffer_tosa.o: buffer/buffer_tosa.c stralloc.h buffer.h
errmsg_iam.o: buffer/errmsg_iam.c errmsg.h
19 years ago
errmsg_info.o: buffer/errmsg_info.c errmsg.h errmsg_int.h str.h
errmsg_infosys.o: buffer/errmsg_infosys.c errmsg.h errmsg_int.h str.h
errmsg_puts.o: buffer/errmsg_puts.c errmsg.h errmsg_int.h str.h
errmsg_warn.o: buffer/errmsg_warn.c errmsg.h errmsg_int.h str.h
errmsg_warnsys.o: buffer/errmsg_warnsys.c errmsg.h errmsg_int.h str.h
errmsg_write.o: buffer/errmsg_write.c errmsg.h errmsg_int.h
byte_chr.o: byte/byte_chr.c byte.h
byte_copy.o: byte/byte_copy.c byte.h
byte_copyr.o: byte/byte_copyr.c byte.h
byte_diff.o: byte/byte_diff.c byte.h
byte_rchr.o: byte/byte_rchr.c byte.h
byte_zero.o: byte/byte_zero.c byte.h
case_diffb.o: case/case_diffb.c case.h
case_diffs.o: case/case_diffs.c case.h
case_lowerb.o: case/case_lowerb.c case.h
case_lowers.o: case/case_lowers.c case.h
case_starts.o: case/case_starts.c case.h
cdb.o: cdb/cdb.c byte.h cdb.h uint32.h uint64.h
cdb_hash.o: cdb/cdb_hash.c cdb.h uint32.h uint64.h
cdb_make.o: cdb/cdb_make.c cdb.h uint32.h uint64.h cdb_make.h buffer.h
cdb_traverse.o: cdb/cdb_traverse.c cdb.h uint32.h uint64.h
19 years ago
dns_dfd.o: dns/dns_dfd.c byte.h dns.h stralloc.h iopause.h taia.h tai.h \
uint64.h uint32.h
19 years ago
dns_domain.o: dns/dns_domain.c case.h byte.h dns.h stralloc.h iopause.h \
taia.h tai.h uint64.h uint32.h
19 years ago
dns_dtda.o: dns/dns_dtda.c stralloc.h dns.h stralloc.h iopause.h taia.h \
tai.h uint64.h uint32.h
19 years ago
dns_ip.o: dns/dns_ip.c stralloc.h uint16.h byte.h dns.h stralloc.h \
iopause.h taia.h tai.h uint64.h uint32.h
19 years ago
dns_ip6.o: dns/dns_ip6.c stralloc.h uint16.h byte.h dns.h stralloc.h \
iopause.h taia.h tai.h uint64.h uint32.h ip4.h ip6.h byte.h
19 years ago
dns_ipq.o: dns/dns_ipq.c stralloc.h case.h byte.h str.h dns.h stralloc.h \
iopause.h taia.h tai.h uint64.h uint32.h
dns_ipq6.o: dns/dns_ipq6.c stralloc.h case.h byte.h str.h dns.h \
stralloc.h iopause.h taia.h tai.h uint64.h uint32.h
19 years ago
dns_mx.o: dns/dns_mx.c stralloc.h byte.h uint16.h dns.h stralloc.h \
iopause.h taia.h tai.h uint64.h uint32.h
19 years ago
dns_name.o: dns/dns_name.c stralloc.h uint16.h byte.h dns.h stralloc.h \
iopause.h taia.h tai.h uint64.h uint32.h ip6.h byte.h
19 years ago
dns_nd.o: dns/dns_nd.c byte.h fmt.h dns.h stralloc.h iopause.h taia.h \
tai.h uint64.h uint32.h
19 years ago
dns_nd6.o: dns/dns_nd6.c byte.h fmt.h dns.h stralloc.h iopause.h taia.h \
tai.h uint64.h uint32.h haveinline.h
19 years ago
dns_packet.o: dns/dns_packet.c dns.h stralloc.h iopause.h taia.h tai.h \
uint64.h uint32.h
19 years ago
dns_random.o: dns/dns_random.c dns.h stralloc.h iopause.h taia.h tai.h \
uint64.h uint32.h taia.h uint32.h
16 years ago
dns_rcip.o: dns/dns_rcip.c taia.h tai.h uint64.h uint32.h openreadclose.h \
stralloc.h byte.h ip4.h ip6.h byte.h dns.h iopause.h taia.h
16 years ago
dns_rcrw.o: dns/dns_rcrw.c taia.h tai.h uint64.h uint32.h byte.h str.h \
openreadclose.h stralloc.h dns.h iopause.h taia.h
16 years ago
dns_resolve.o: dns/dns_resolve.c iopause.h taia.h tai.h uint64.h uint32.h \
taia.h byte.h dns.h stralloc.h iopause.h ip6.h byte.h
19 years ago
dns_sortip.o: dns/dns_sortip.c byte.h dns.h stralloc.h iopause.h taia.h \
tai.h uint64.h uint32.h
19 years ago
dns_sortip6.o: dns/dns_sortip6.c byte.h dns.h stralloc.h iopause.h taia.h \
tai.h uint64.h uint32.h
19 years ago
dns_transmit.o: dns/dns_transmit.c socket.h uint16.h uint32.h byte.h \
uint16.h dns.h stralloc.h iopause.h taia.h tai.h uint64.h ip6.h byte.h
19 years ago
dns_txt.o: dns/dns_txt.c stralloc.h uint16.h byte.h dns.h stralloc.h \
iopause.h taia.h tai.h uint64.h uint32.h
19 years ago
buffer_getline.o: examples/buffer_getline.c stralloc.h buffer.h io.h \
uint64.h taia.h tai.h uint32.h errmsg.h
byte.o: examples/byte.c byte.h buffer.h
str.o: examples/str.c str.h buffer.h
fmt_8long.o: fmt/fmt_8long.c fmt.h
fmt_8longlong.o: fmt/fmt_8longlong.c fmt.h
fmt_double.o: fmt/fmt_double.c fmt.h
fmt_fill.o: fmt/fmt_fill.c fmt.h
fmt_httpdate.o: fmt/fmt_httpdate.c fmt.h byte.h
fmt_human.o: fmt/fmt_human.c fmt.h
fmt_humank.o: fmt/fmt_humank.c fmt.h
fmt_long.o: fmt/fmt_long.c fmt.h
fmt_longlong.o: fmt/fmt_longlong.c fmt.h
fmt_minus.o: fmt/fmt_minus.c fmt.h
fmt_pad.o: fmt/fmt_pad.c fmt.h
fmt_plusminus.o: fmt/fmt_plusminus.c fmt.h
fmt_str.o: fmt/fmt_str.c fmt.h
fmt_strm_internal.o: fmt/fmt_strm_internal.c fmt.h
fmt_strn.o: fmt/fmt_strn.c fmt.h
fmt_tohex.o: fmt/fmt_tohex.c fmt.h
fmt_ulong.o: fmt/fmt_ulong.c fmt.h
fmt_ulong0.o: fmt/fmt_ulong0.c fmt.h
fmt_ulonglong.o: fmt/fmt_ulonglong.c fmt.h
fmt_xlong.o: fmt/fmt_xlong.c fmt.h haveinline.h
fmt_xlonglong.o: fmt/fmt_xlonglong.c fmt.h
19 years ago
io_appendfile.o: io/io_appendfile.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
io_block.o: io/io_block.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_canread.o: io/io_canread.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_canwrite.o: io/io_canwrite.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_check.o: io/io_check.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_close.o: io/io_close.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_closeonexec.o: io/io_closeonexec.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_createfile.o: io/io_createfile.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
20 years ago
io_dontwantread.o: io/io_dontwantread.c io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h byte.h
19 years ago
io_dontwantwrite.o: io/io_dontwantwrite.c io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h byte.h
19 years ago
io_eagain.o: io/io_eagain.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
16 years ago
io_fd.o: io/io_fd.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h byte.h
io_finishandshutdown.o: io/io_finishandshutdown.c io_internal.h io.h \
uint64.h taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h
19 years ago
io_getcookie.o: io/io_getcookie.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_mmapwritefile.o: io/io_mmapwritefile.c io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h iob.h
19 years ago
io_nonblock.o: io/io_nonblock.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_passfd.o: io/io_passfd.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
16 years ago
io_pipe.o: io/io_pipe.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_readfile.o: io/io_readfile.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_readwritefile.o: io/io_readwritefile.c io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_receivefd.o: io/io_receivefd.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_sendfile.o: io/io_sendfile.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
havebsdsf.h havesendfile.h
19 years ago
io_setcookie.o: io/io_setcookie.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_sigpipe.o: io/io_sigpipe.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_socketpair.o: io/io_socketpair.c windoze.h io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
io_starteventloop.o: io/io_starteventloop.c io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_timeout.o: io/io_timeout.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_timeouted.o: io/io_timeouted.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_tryread.o: io/io_tryread.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
byte.h
19 years ago
io_tryreadtimeout.o: io/io_tryreadtimeout.c io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_trywrite.o: io/io_trywrite.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_trywritetimeout.o: io/io_trywritetimeout.c io_internal.h io.h uint64.h \
taia.h tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
16 years ago
io_wait.o: io/io_wait.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
16 years ago
io_waitread.o: io/io_waitread.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
19 years ago
io_waituntil.o: io/io_waituntil.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h safemult.h uint16.h
19 years ago
io_waituntil2.o: io/io_waituntil2.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_waitwrite.o: io/io_waitwrite.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
19 years ago
io_wantread.o: io/io_wantread.c io_internal.h io.h uint64.h taia.h tai.h \
uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
byte.h
19 years ago
io_wantwrite.o: io/io_wantwrite.c io_internal.h io.h uint64.h taia.h \
tai.h uint32.h array.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h byte.h
19 years ago
iob_addbuf.o: io/iob_addbuf.c iob_internal.h iob.h io.h uint64.h taia.h \
tai.h uint32.h array.h
iob_addbuf_free.o: io/iob_addbuf_free.c iob_internal.h iob.h io.h \
uint64.h taia.h tai.h uint32.h array.h
19 years ago
iob_addbuf_internal.o: io/iob_addbuf_internal.c iob_internal.h iob.h io.h \
uint64.h taia.h tai.h uint32.h array.h
iob_addbuf_munmap.o: io/iob_addbuf_munmap.c iob_internal.h iob.h io.h \
uint64.h taia.h tai.h uint32.h array.h
19 years ago
iob_addfile.o: io/iob_addfile.c iob_internal.h iob.h io.h uint64.h taia.h \
tai.h uint32.h array.h
19 years ago
iob_addfile_close.o: io/iob_addfile_close.c iob_internal.h iob.h io.h \
uint64.h taia.h tai.h uint32.h array.h
16 years ago
iob_adds.o: io/iob_adds.c str.h iob.h io.h uint64.h taia.h tai.h uint32.h \
array.h
19 years ago
iob_adds_free.o: io/iob_adds_free.c str.h iob.h io.h uint64.h taia.h \
tai.h uint32.h array.h
18 years ago
iob_bytesleft.o: io/iob_bytesleft.c iob.h io.h uint64.h taia.h tai.h \
uint32.h array.h
19 years ago
iob_free.o: io/iob_free.c iob_internal.h iob.h io.h uint64.h taia.h tai.h \
uint32.h array.h
19 years ago
iob_new.o: io/iob_new.c byte.h iob_internal.h iob.h io.h uint64.h taia.h \
tai.h uint32.h array.h
19 years ago
iob_prefetch.o: io/iob_prefetch.c iob_internal.h iob.h io.h uint64.h \
taia.h tai.h uint32.h array.h
19 years ago
iob_reset.o: io/iob_reset.c byte.h iob_internal.h iob.h io.h uint64.h \
taia.h tai.h uint32.h array.h
iob_send.o: io/iob_send.c havebsdsf.h havealloca.h iob_internal.h iob.h \
io.h uint64.h taia.h tai.h uint32.h array.h
19 years ago
iob_write.o: io/iob_write.c iob_internal.h iob.h io.h uint64.h taia.h \
tai.h uint32.h array.h
mmap_private.o: mmap/mmap_private.c open.h mmap.h
mmap_read.o: mmap/mmap_read.c open.h mmap.h
mmap_shared.o: mmap/mmap_shared.c open.h mmap.h
mmap_unmap.o: mmap/mmap_unmap.c open.h mmap.h
imult16.o: mult/imult16.c safemult.h uint16.h uint32.h uint64.h
imult32.o: mult/imult32.c safemult.h uint16.h uint32.h uint64.h
16 years ago
imult64.o: mult/imult64.c safemult.h uint16.h uint32.h uint64.h
range_arrayinbuf.o: mult/range_arrayinbuf.c rangecheck.h safemult.h \
uint16.h uint32.h uint64.h
range_str2inbuf.o: mult/range_str2inbuf.c rangecheck.h
range_str4inbuf.o: mult/range_str4inbuf.c rangecheck.h
range_strinbuf.o: mult/range_strinbuf.c rangecheck.h
umult16.o: mult/umult16.c safemult.h uint16.h uint32.h uint64.h
umult32.o: mult/umult32.c safemult.h uint16.h uint32.h uint64.h
16 years ago
umult64.o: mult/umult64.c safemult.h uint16.h uint32.h uint64.h
open_append.o: open/open_append.c open.h
open_excl.o: open/open_excl.c open.h
open_read.o: open/open_read.c open.h
open_rw.o: open/open_rw.c open.h
open_trunc.o: open/open_trunc.c open.h
open_write.o: open/open_write.c open.h
openreadclose.o: open/openreadclose.c open.h readclose.h stralloc.h \
openreadclose.h
readclose.o: open/readclose.c readclose.h stralloc.h
scan_8int.o: scan/scan_8int.c scan.h
scan_8long.o: scan/scan_8long.c scan.h
scan_8short.o: scan/scan_8short.c scan.h
scan_charsetnskip.o: scan/scan_charsetnskip.c scan.h
scan_double.o: scan/scan_double.c scan.h
scan_fromhex.o: scan/scan_fromhex.c scan.h
scan_httpdate.o: scan/scan_httpdate.c scan.h byte.h case.h
scan_int.o: scan/scan_int.c scan.h
scan_long.o: scan/scan_long.c scan.h
scan_longlong.o: scan/scan_longlong.c scan.h
scan_noncharsetnskip.o: scan/scan_noncharsetnskip.c scan.h
scan_nonwhitenskip.o: scan/scan_nonwhitenskip.c scan.h
scan_plusminus.o: scan/scan_plusminus.c scan.h
scan_short.o: scan/scan_short.c scan.h
scan_uint.o: scan/scan_uint.c scan.h
scan_ulong.o: scan/scan_ulong.c scan.h
scan_ulonglong.o: scan/scan_ulonglong.c scan.h
scan_ushort.o: scan/scan_ushort.c scan.h
scan_whitenskip.o: scan/scan_whitenskip.c scan.h
scan_xint.o: scan/scan_xint.c scan.h
scan_xlong.o: scan/scan_xlong.c scan.h
scan_xlonglong.o: scan/scan_xlonglong.c scan.h
scan_xshort.o: scan/scan_xshort.c scan.h
fmt_ip4.o: socket/fmt_ip4.c fmt.h ip4.h
19 years ago
fmt_ip6.o: socket/fmt_ip6.c fmt.h byte.h ip4.h ip6.h byte.h uint32.h
fmt_ip6_flat.o: socket/fmt_ip6_flat.c ip6.h byte.h uint32.h haveinline.h
fmt_ip6c.o: socket/fmt_ip6c.c fmt.h byte.h ip4.h ip6.h byte.h uint32.h
fmt_ip6if.o: socket/fmt_ip6if.c ip6.h byte.h uint32.h str.h fmt.h \
socket.h uint16.h
19 years ago
fmt_ip6ifc.o: socket/fmt_ip6ifc.c fmt.h byte.h ip4.h ip6.h byte.h \
uint32.h
init.o: socket/init.c
scan_ip4.o: socket/scan_ip4.c scan.h ip4.h
19 years ago
scan_ip6.o: socket/scan_ip6.c scan.h ip4.h ip6.h byte.h uint32.h
scan_ip6_flat.o: socket/scan_ip6_flat.c scan.h
scan_ip6if.o: socket/scan_ip6if.c ip6.h byte.h uint32.h byte.h socket.h \
uint16.h havealloca.h
19 years ago
socket_accept4.o: socket/socket_accept4.c windoze.h socket.h uint16.h \
uint32.h havesl.h
socket_accept6.o: socket/socket_accept6.c windoze.h byte.h socket.h \
uint16.h uint32.h ip6.h byte.h haveip6.h havesl.h havescope.h
19 years ago
socket_bind4.o: socket/socket_bind4.c windoze.h byte.h uint16.h uint32.h \
socket.h uint16.h uint32.h
socket_bind4_reuse.o: socket/socket_bind4_reuse.c socket.h uint16.h \
uint32.h windoze.h
19 years ago
socket_bind6.o: socket/socket_bind6.c haveip6.h windoze.h ip6.h byte.h \
uint32.h byte.h socket.h uint16.h
socket_bind6_reuse.o: socket/socket_bind6_reuse.c socket.h uint16.h \
uint32.h windoze.h
19 years ago
socket_broadcast.o: socket/socket_broadcast.c socket.h uint16.h uint32.h \
windoze.h
19 years ago
socket_connect4.o: socket/socket_connect4.c windoze.h byte.h socket.h \
uint16.h uint32.h uint16.h uint32.h
19 years ago
socket_connect6.o: socket/socket_connect6.c windoze.h byte.h socket.h \
uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h ip4.h havescope.h
19 years ago
socket_connected.o: socket/socket_connected.c socket.h uint16.h uint32.h \
havesl.h
socket_deferaccept.o: socket/socket_deferaccept.c socket.h uint16.h \
uint32.h
19 years ago
socket_getifidx.o: socket/socket_getifidx.c socket.h uint16.h uint32.h \
haven2i.h
19 years ago
socket_getifname.o: socket/socket_getifname.c socket.h uint16.h uint32.h \
haven2i.h
socket_ip4loopback.o: socket/socket_ip4loopback.c
socket_listen.o: socket/socket_listen.c socket.h uint16.h uint32.h \
windoze.h
socket_local4.o: socket/socket_local4.c windoze.h byte.h socket.h \
uint16.h uint32.h havesl.h
socket_local6.o: socket/socket_local6.c windoze.h byte.h socket.h \
uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h havesl.h havescope.h
socket_mchopcount6.o: socket/socket_mchopcount6.c windoze.h socket.h \
uint16.h uint32.h byte.h haveip6.h ip6.h byte.h
19 years ago
socket_mcjoin4.o: socket/socket_mcjoin4.c windoze.h socket.h uint16.h \
uint32.h byte.h
19 years ago
socket_mcjoin6.o: socket/socket_mcjoin6.c windoze.h socket.h uint16.h \
uint32.h byte.h haveip6.h ip6.h byte.h
19 years ago
socket_mcleave4.o: socket/socket_mcleave4.c windoze.h socket.h uint16.h \
uint32.h byte.h
19 years ago
socket_mcleave6.o: socket/socket_mcleave6.c windoze.h socket.h uint16.h \
uint32.h byte.h haveip6.h ip6.h byte.h
19 years ago
socket_mcloop4.o: socket/socket_mcloop4.c windoze.h socket.h uint16.h \
uint32.h
19 years ago
socket_mcloop6.o: socket/socket_mcloop6.c windoze.h socket.h uint16.h \
uint32.h haveip6.h
socket_mcttl4.o: socket/socket_mcttl4.c windoze.h socket.h uint16.h \
uint32.h
socket_noipv6.o: socket/socket_noipv6.c
socket_recv4.o: socket/socket_recv4.c windoze.h socket.h uint16.h \
uint32.h havesl.h
19 years ago
socket_recv6.o: socket/socket_recv6.c windoze.h byte.h socket.h uint16.h \
uint32.h ip6.h byte.h haveip6.h havesl.h havescope.h
socket_remote4.o: socket/socket_remote4.c windoze.h byte.h socket.h \
uint16.h uint32.h havesl.h havescope.h
socket_remote6.o: socket/socket_remote6.c windoze.h byte.h socket.h \
uint16.h uint32.h ip6.h byte.h haveip6.h uint32.h havesl.h havescope.h
socket_sctp4.o: socket/socket_sctp4.c socket.h uint16.h uint32.h ndelay.h
socket_sctp4b.o: socket/socket_sctp4b.c windoze.h socket.h uint16.h \
uint32.h ndelay.h
socket_sctp6.o: socket/socket_sctp6.c socket.h uint16.h uint32.h ndelay.h
socket_sctp6b.o: socket/socket_sctp6b.c windoze.h haveip6.h socket.h \
uint16.h uint32.h ndelay.h
19 years ago
socket_send4.o: socket/socket_send4.c windoze.h byte.h socket.h uint16.h \
uint32.h
19 years ago
socket_send6.o: socket/socket_send6.c windoze.h byte.h socket.h uint16.h \
uint32.h ip6.h byte.h haveip6.h ip4.h havescope.h
19 years ago
socket_tcp4.o: socket/socket_tcp4.c socket.h uint16.h uint32.h ndelay.h
socket_tcp4b.o: socket/socket_tcp4b.c windoze.h socket.h uint16.h \
uint32.h ndelay.h
19 years ago
socket_tcp6.o: socket/socket_tcp6.c socket.h uint16.h uint32.h ndelay.h
socket_tcp6b.o: socket/socket_tcp6b.c windoze.h haveip6.h socket.h \
uint16.h uint32.h ndelay.h
19 years ago
socket_tryreservein.o: socket/socket_tryreservein.c windoze.h socket.h \
uint16.h uint32.h
socket_udp4.o: socket/socket_udp4.c windoze.h socket.h uint16.h uint32.h \
ndelay.h
19 years ago
socket_udp6.o: socket/socket_udp6.c windoze.h haveip6.h socket.h uint16.h \
uint32.h ndelay.h
socket_v4mappedprefix.o: socket/socket_v4mappedprefix.c
socket_v6any.o: socket/socket_v6any.c
socket_v6loopback.o: socket/socket_v6loopback.c
str_chr.o: str/str_chr.c str.h
str_copy.o: str/str_copy.c str.h
str_diff.o: str/str_diff.c byte.h
str_diffn.o: str/str_diffn.c byte.h
str_len.o: str/str_len.c str.h
str_rchr.o: str/str_rchr.c str.h
str_start.o: str/str_start.c str.h
stralloc_append.o: stralloc/stralloc_append.c stralloc.h
stralloc_cat.o: stralloc/stralloc_cat.c stralloc.h str.h
stralloc_catb.o: stralloc/stralloc_catb.c byte.h stralloc.h
stralloc_catlong0.o: stralloc/stralloc_catlong0.c stralloc.h fmt.h
stralloc_catm_internal.o: stralloc/stralloc_catm_internal.c stralloc.h
stralloc_cats.o: stralloc/stralloc_cats.c stralloc.h str.h
stralloc_catulong0.o: stralloc/stralloc_catulong0.c stralloc.h fmt.h
stralloc_chomp.o: stralloc/stralloc_chomp.c stralloc.h
stralloc_chop.o: stralloc/stralloc_chop.c stralloc.h
stralloc_copy.o: stralloc/stralloc_copy.c stralloc.h str.h
stralloc_copyb.o: stralloc/stralloc_copyb.c byte.h stralloc.h
stralloc_copys.o: stralloc/stralloc_copys.c stralloc.h str.h
stralloc_diff.o: stralloc/stralloc_diff.c stralloc.h byte.h str.h
stralloc_diffs.o: stralloc/stralloc_diffs.c stralloc.h byte.h str.h
stralloc_free.o: stralloc/stralloc_free.c stralloc.h
stralloc_init.o: stralloc/stralloc_init.c stralloc.h
stralloc_ready.o: stralloc/stralloc_ready.c stralloc.h
stralloc_readyplus.o: stralloc/stralloc_readyplus.c stralloc.h
19 years ago
stralloc_starts.o: stralloc/stralloc_starts.c stralloc.h byte.h str.h
stralloc_zero.o: stralloc/stralloc_zero.c stralloc.h
tai_add.o: tai/tai_add.c tai.h uint64.h
tai_now.o: tai/tai_now.c tai.h uint64.h
tai_pack.o: tai/tai_pack.c tai.h uint64.h
tai_sub.o: tai/tai_sub.c tai.h uint64.h
tai_uint.o: tai/tai_uint.c tai.h uint64.h
tai_unpack.o: tai/tai_unpack.c tai.h uint64.h
16 years ago
taia_add.o: taia/taia_add.c taia.h tai.h uint64.h uint32.h
taia_addsec.o: taia/taia_addsec.c taia.h tai.h uint64.h uint32.h
taia_approx.o: taia/taia_approx.c taia.h tai.h uint64.h uint32.h
taia_frac.o: taia/taia_frac.c taia.h tai.h uint64.h uint32.h
taia_half.o: taia/taia_half.c taia.h tai.h uint64.h uint32.h
taia_less.o: taia/taia_less.c taia.h tai.h uint64.h uint32.h
taia_now.o: taia/taia_now.c taia.h tai.h uint64.h uint32.h
taia_pack.o: taia/taia_pack.c taia.h tai.h uint64.h uint32.h
taia_sub.o: taia/taia_sub.c taia.h tai.h uint64.h uint32.h
taia_tai.o: taia/taia_tai.c taia.h tai.h uint64.h uint32.h
taia_uint.o: taia/taia_uint.c taia.h tai.h uint64.h uint32.h
taia_unpack.o: taia/taia_unpack.c taia.h tai.h uint64.h uint32.h
base64.o: textcode/base64.c
fmt_base64.o: textcode/fmt_base64.c fmt.h textcode.h haveinline.h
19 years ago
fmt_cescape.o: textcode/fmt_cescape.c fmt.h textcode.h str.h haveinline.h
fmt_foldwhitespace.o: textcode/fmt_foldwhitespace.c fmt.h textcode.h \
str.h haveinline.h
19 years ago
fmt_hexdump.o: textcode/fmt_hexdump.c fmt.h textcode.h str.h haveinline.h
fmt_html.o: textcode/fmt_html.c fmt.h textcode.h str.h haveinline.h
fmt_ldapescape.o: textcode/fmt_ldapescape.c fmt.h textcode.h haveinline.h \
str.h
18 years ago
fmt_ldapescape2.o: textcode/fmt_ldapescape2.c fmt.h textcode.h \
haveinline.h
19 years ago
fmt_quotedprintable.o: textcode/fmt_quotedprintable.c fmt.h textcode.h \
haveinline.h str.h
fmt_to_array.o: textcode/fmt_to_array.c array.h uint64.h textcode.h
fmt_to_sa.o: textcode/fmt_to_sa.c stralloc.h textcode.h
fmt_tofrom_array.o: textcode/fmt_tofrom_array.c array.h uint64.h \
textcode.h
fmt_urlencoded.o: textcode/fmt_urlencoded.c fmt.h textcode.h str.h \
haveinline.h
19 years ago
fmt_uuencoded.o: textcode/fmt_uuencoded.c fmt.h textcode.h haveinline.h
fmt_yenc.o: textcode/fmt_yenc.c fmt.h textcode.h
scan_base64.o: textcode/scan_base64.c textcode.h haveinline.h
scan_cescape.o: textcode/scan_cescape.c fmt.h textcode.h scan.h
scan_hexdump.o: textcode/scan_hexdump.c fmt.h textcode.h scan.h
19 years ago
scan_html.o: textcode/scan_html.c fmt.h textcode.h haveinline.h case.h
scan_ldapescape.o: textcode/scan_ldapescape.c fmt.h textcode.h scan.h
19 years ago
scan_quotedprintable.o: textcode/scan_quotedprintable.c fmt.h textcode.h \
scan.h
scan_to_array.o: textcode/scan_to_array.c str.h array.h uint64.h \
textcode.h
scan_to_sa.o: textcode/scan_to_sa.c str.h stralloc.h textcode.h
19 years ago
scan_tofrom_array.o: textcode/scan_tofrom_array.c str.h array.h uint64.h \
textcode.h
19 years ago
scan_urlencoded.o: textcode/scan_urlencoded.c fmt.h textcode.h scan.h
scan_uuencoded.o: textcode/scan_uuencoded.c textcode.h
scan_yenc.o: textcode/scan_yenc.c fmt.h textcode.h
uint16_pack.o: uint/uint16_pack.c uint16.h
uint16_pack_big.o: uint/uint16_pack_big.c uint16.h
uint16_read.o: uint/uint16_read.c uint16.h
uint16_read_big.o: uint/uint16_read_big.c uint16.h
uint16_unpack.o: uint/uint16_unpack.c uint16.h
uint16_unpack_big.o: uint/uint16_unpack_big.c uint16.h
uint32_pack.o: uint/uint32_pack.c uint32.h
uint32_pack_big.o: uint/uint32_pack_big.c uint32.h
uint32_read.o: uint/uint32_read.c uint32.h
uint32_read_big.o: uint/uint32_read_big.c uint32.h
uint32_unpack.o: uint/uint32_unpack.c uint32.h
uint32_unpack_big.o: uint/uint32_unpack_big.c uint32.h
16 years ago
uint64_pack.o: uint/uint64_pack.c uint64.h uint32.h
uint64_pack_big.o: uint/uint64_pack_big.c uint64.h uint32.h
uint64_read.o: uint/uint64_read.c uint64.h uint32.h
uint64_read_big.o: uint/uint64_read_big.c uint64.h uint32.h
uint64_unpack.o: uint/uint64_unpack.c uint64.h uint32.h
uint64_unpack_big.o: uint/uint64_unpack_big.c uint64.h uint32.h
16 years ago
iopause.o: unix/iopause.c taia.h tai.h uint64.h uint32.h iopause.h taia.h \
select.h
ndelay_off.o: unix/ndelay_off.c ndelay.h
ndelay_on.o: unix/ndelay_on.c ndelay.h
winsock2errno.o: unix/winsock2errno.c
t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \
taia.h tai.h uint64.h case.h errmsg.h iob.h io.h array.h safemult.h \
iarray.h CAS.h io_internal.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
BYTE_OBJS=byte_chr.o byte_copy.o byte_copyr.o byte_diff.o byte_rchr.o byte_zero.o
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
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
STR_OBJS=str_chr.o str_copy.o str_diff.o str_diffn.o str_len.o str_rchr.o str_start.o
16 years ago
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
OPEN_OBJS=open_append.o open_excl.o open_read.o open_rw.o open_trunc.o open_write.o openreadclose.o readclose.o
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
UNIX_OBJS=iopause.o ndelay_off.o ndelay_on.o winsock2errno.o
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
16 years ago
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
MMAP_OBJS=mmap_private.o mmap_read.o mmap_shared.o mmap_unmap.o
19 years ago
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
TAI_OBJS=tai_add.o tai_now.o tai_pack.o tai_sub.o tai_uint.o tai_unpack.o
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
CASE_OBJS=case_diffb.o case_diffs.o case_lowerb.o case_lowers.o case_starts.o
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
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
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
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
19 years ago
CDB_OBJS=cdb.o cdb_hash.o cdb_make.o cdb_traverse.o
byte.a: $(BYTE_OBJS)
fmt.a: $(FMT_OBJS)
scan.a: $(SCAN_OBJS)
str.a: $(STR_OBJS)
uint.a: $(UINT_OBJS)
open.a: $(OPEN_OBJS)
stralloc.a: $(STRALLOC_OBJS)
unix.a: $(UNIX_OBJS)
socket.a: $(SOCKET_OBJS)
buffer.a: $(BUFFER_OBJS)
mmap.a: $(MMAP_OBJS)
textcode.a: $(TEXTCODE_OBJS)
taia.a: $(TAIA_OBJS)
tai.a: $(TAI_OBJS)
dns.a: $(DNS_OBJS)
case.a: $(CASE_OBJS)
array.a: $(ARRAY_OBJS)
mult.a: $(MULT_OBJS)
io.a: $(IO_OBJS)
19 years ago
cdb.a: $(CDB_OBJS)
ALL_OBJS=$(DNS_OBJS) $(BYTE_OBJS) $(FMT_OBJS) $(SCAN_OBJS) \
$(STR_OBJS) $(UINT_OBJS) $(OPEN_OBJS) $(STRALLOC_OBJS) $(UNIX_OBJS) \
$(SOCKET_OBJS) $(BUFFER_OBJS) $(MMAP_OBJS) $(TEXTCODE_OBJS) \
$(TAIA_OBJS) $(TAI_OBJS) $(CASE_OBJS) $(ARRAY_OBJS) $(MULT_OBJS) \
$(IO_OBJS) $(CDB_OBJS)
libowfat.a: $(ALL_OBJS)
19 years ago
$(CROSS)ar cr $@ $(ALL_OBJS)
-$(CROSS)ranlib $@
CFLAGS+=-I.
%.o:
$(DIET) $(CC) -c $< $(CFLAGS)
%.a:
ar cr $@ $^
-ranlib $@
t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \
taia.h tai.h uint64.h case.h errmsg.h iob.h io.h array.h safemult.h \
iarray.h io_internal.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h CAS.h
t: t.o libowfat.a libsocket
$(DIET) $(CC) -g -o $@ t.o libowfat.a `cat libsocket` -lpthread
.PHONY: all clean tar install rename
clean:
rm -f *.o *.a *.da *.bbg *.bb core t haveip6.h haven2i.h \
havesl.h haveinline.h iopause.h select.h havekqueue.h haveepoll.h \
libepoll havesigio.h havebsdsf.h havesendfile.h havescope.h havedevpoll.h \
dep libsocket havealloca.h
INCLUDES=buffer.h byte.h fmt.h ip4.h ip6.h mmap.h scan.h socket.h str.h stralloc.h \
uint16.h uint32.h uint64.h open.h textcode.h tai.h taia.h dns.h iopause.h case.h \
openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h \
errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h
install-inc:
install -d $(INCLUDEDIR)
install -m 644 $(INCLUDES) $(INCLUDEDIR)
install-lib: libowfat.a
install -d $(LIBDIR)
install -m 644 libowfat.a $(LIBDIR)
install-man:
install -d $(MAN3DIR)
install -m 644 $(wildcard */*.3) $(MAN3DIR)
install: install-inc install-man install-lib
uninstall:
rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
rm -f $(LIBDIR)/libowfat.a
16 years ago
VERSION=libowfat-0.29
CURNAME=libowfat-0.28
tar: clean rename
rm -f dep libdep
cd ..; tar cvvf $(VERSION).tar.bz2 --use=bzip2 --exclude CVS $(VERSION)
rename:
if test $(CURNAME) != $(VERSION); then cd .. && mv $(CURNAME) $(VERSION); fi
haveip6.h: tryip6.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -c tryip6.c >/dev/null 2>&1; then echo "#define LIBC_HAS_IP6"; fi > $@
-rm -f tryip6.o
havescope.h: tryscope.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -c tryscope.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SCOPE_ID"; fi > $@
-rm -f tryscope.o
haven2i.h: tryn2i.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -o t tryn2i.c >/dev/null 2>&1; then echo "#define HAVE_N2I"; fi > $@
-rm -f t
havesl.h: trysl.c
-rm -f $@
if ! $(DIET) $(CC) $(CFLAGS) -o t trysl.c >/dev/null 2>&1; then echo "typedef int socklen_t;"; fi > $@
-rm -f t
haveinline.h: tryinline.c
-rm -f $@
if ! $(DIET) $(CC) $(CFLAGS) -c tryinline.c >/dev/null 2>&1; then echo "#define inline"; fi > $@
-rm -f tryinline.o
havekqueue.h: trykqueue.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -c trykqueue.c >/dev/null 2>&1; then echo "#define HAVE_KQUEUE"; fi > $@
-rm -f trykqueue.o
havebsdsf.h: trybsdsf.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -o trybsdsf trybsdsf.c >/dev/null 2>&1; then echo "#define HAVE_BSDSENDFILE"; fi > $@
-rm -f trybsdsf.o trybsdsf
havesendfile.h: trysendfile.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -c trysendfile.c >/dev/null 2>&1; then echo "#define HAVE_SENDFILE"; fi > $@
-rm -f trysendfile.o
haveepoll.h: tryepoll.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -o tryepoll tryepoll.c >/dev/null 2>&1; then echo "#define HAVE_EPOLL 1"; else \
if $(DIET) $(CC) $(CFLAGS) -o tryepoll tryepoll.c -lepoll >/dev/null 2>&1; then echo "#define HAVE_EPOLL 2"; fi; fi > $@
-rm -f tryepoll
havedevpoll.h: trydevpoll.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -c trydevpoll.c >/dev/null 2>&1; then echo "#define HAVE_DEVPOLL"; fi > $@
-rm -f trydevpoll.o
libepoll: haveepoll.h
if test "z`cat haveepoll.h`" = "z#define HAVE_EPOLL 2"; then echo -lepoll; fi > $@
havesigio.h: trysigio.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -c trysigio.c >/dev/null 2>&1; then echo "#define HAVE_SIGIO"; fi > $@
-rm -f trysigio.o
21 years ago
havealloca.h: tryalloca.c
-rm -f $@
echo "#include <stdlib.h>" > $@
19 years ago
if $(DIET) $(CC) $(CFLAGS) -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include <alloca.h>"; fi >> $@
if $(DIET) $(CC) $(CFLAGS) -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include <malloc.h>"; fi >> $@
21 years ago
-rm -f tryalloca.o
iopause.h: iopause.h1 iopause.h2 trypoll.c
-rm -f $@
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
-rm -f t
select.h: select.h1 select.h2 trysysel.c
-rm -f $@
if $(DIET) $(CC) $(CFLAGS) -c trysysel.c >/dev/null 2>&1; then cp select.h2 select.h; else cp select.h1 select.h; fi
-rm -f trysysel.o
libsocket: trysocket.c
if $(DIET) $(CC) $(CFLAGS) -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \
if $(DIET) $(CC) $(CFLAGS) -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \
if $(DIET) $(CC) $(CFLAGS) -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; \
fi; fi; fi > blah
if $(DIET) $(CC) $(CFLAGS) -o trysocket trysendfile.c `cat blah`>/dev/null 2>&1; then cat blah; else \
if $(DIET) $(CC) $(CFLAGS) -o trysocket trysendfile.c -lsendfile `cat blah` >/dev/null 2>&1; then echo "-lsendfile"; cat blah; \
fi; fi > libsocket
rm -f blah trysocket
socket_accept6.o socket_connect6.o socket_local6.o socket_mchopcount6.o \
socket_mcjoin6.o socket_mcleave6.o socket_mcloop6.o socket_recv6.o \
socket_remote6.o socket_send6.o socket_tcp6.o socket_udp6.o: haveip6.h havescope.h
socket_getifidx.o socket_getifname.o: haven2i.h
socket_accept4.o socket_accept6.o socket_connected.o socket_local4.o \
socket_local6.o socket_recv4.o socket_recv6.o socket_remote4.o \
socket_remote6.o: havesl.h
dns_nd6.o fmt_xlong.o scan_xlong.o fmt_ip6_flat.o $(TEXTCODE_OBJS): haveinline.h
iob_send.o scan_ip6if.o: havealloca.h
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
20 years ago
gcc -I. -MM `ls */*.c | grep -v test` t.c | sed -e 's@ \./@ @g' > dep
libdep:
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
Makefile: GNUmakefile dep libdep
echo "# do not edit! edit GNUmakefile instead" > $@
sed '/startrip/,$$d' < GNUmakefile >> $@
cat dep libdep >> $@
sed -e '1,/stoprip/d' -e 's/ %.c$$//' \
-e 's/^VERSION=.*/'VERSION=$(VERSION)/ \
-e 's/^CURNAME=.*/'CURNAME=$(CURNAME)/ \
-e 's///' < GNUmakefile >> $@
19 years ago
windoze:
$(MAKE) DIET= CROSS=i686-mingw32-