summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix von Leitner <felix-libowfat@fefe.de>2019-02-21 12:31:59 +0000
committerFelix von Leitner <felix-libowfat@fefe.de>2019-02-21 12:31:59 +0000
commit75b28ec8ba6911411eea9f4197b6f83b711d8177 (patch)
tree73b6f268ca52235568f9919ebc52905c0cf5047b
parent43983c9b5299fac5001eaa10e13f6f3b8cfa82fa (diff)
downloadlibowfat-75b28ec8ba6911411eea9f4197b6f83b711d8177.tar.gz
libowfat-75b28ec8ba6911411eea9f4197b6f83b711d8177.zip
make headers fix for bsd make
-rw-r--r--GNUmakefile6
-rw-r--r--Makefile383
2 files changed, 220 insertions, 169 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 8c600d1..ca3c18e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -214,10 +214,8 @@ libowfat:
-mkdir libowfat
.PHONY: headers
-headers: libowfat $(patsubst %.h,libowfat/%.h,$(INCLUDES))
-
-libowfat/%.h: %.h
- ln -f $< $@
+headers: libowfat
+ ln -f $(INCLUDES) libowfat/
install-inc:
install -d $(DESTDIR)$(INCLUDEDIR)/libowfat
diff --git a/Makefile b/Makefile
index 0d08da4..d6de89b 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ all: headers ent $(LIBS) libowfat.a libsocket t
pic pie:
$(MAKE) CC="gcc -fPIC" LDFLAGS="-fpie"
+picx32 piex32:
+ $(MAKE) CC="gcc -mx32 -fPIC" LDFLAGS="-fpie"
+
CROSS=
#CROSS=i686-mingw-
CC?=gcc
@@ -249,172 +252,223 @@ fmt_varint.o: fmt/fmt_varint.c fmt.h byte.h
fmt_xlong.o: fmt/fmt_xlong.c fmt.h byte.h haveinline.h
fmt_xlonglong.o: fmt/fmt_xlonglong.c fmt.h byte.h
fmt_xmlescape.o: fmt/fmt_xmlescape.c fmt.h byte.h
-io_appendfile.o: io/io_appendfile.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.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 iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_canread.o: io/io_canread.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_canwrite.o: io/io_canwrite.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_check.o: io/io_check.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_close.o: io/io_close.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_closeonexec.o: io/io_closeonexec.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_createfile.o: io/io_createfile.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_debugstring.o: io/io_debugstring.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h iarray.h fmt.h byte.h
-io_dontwantread.o: io/io_dontwantread.c io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_appendfile.o: io/io_appendfile.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_block.o: io/io_block.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+io_canread.o: io/io_canread.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_canwrite.o: io/io_canwrite.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_check.o: io/io_check.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+io_close.o: io/io_close.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+io_closeonexec.o: io/io_closeonexec.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_createfile.o: io/io_createfile.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_debugstring.o: io/io_debugstring.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h iarray.h fmt.h byte.h
+io_dontwantread.o: io/io_dontwantread.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h byte.h
-io_dontwantwrite.o: io/io_dontwantwrite.c io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_dontwantwrite.o: io/io_dontwantwrite.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h byte.h
-io_eagain.o: io/io_eagain.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_eagain_read.o: io/io_eagain_read.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_eagain_write.o: io/io_eagain_write.c io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_eagain.o: io/io_eagain.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+io_eagain_read.o: io/io_eagain_read.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h
-io_fd.o: io/io_fd.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
- array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h \
+io_eagain_write.o: io/io_eagain_write.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_fd.o: io/io_fd.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.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 iarray.h haveepoll.h havekqueue.h \
+io_finishandshutdown.o: io/io_finishandshutdown.c io_internal.h \
+ libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
+ libowfat/uint32.h libowfat/array.h libowfat/iarray.h haveepoll.h \
+ havekqueue.h havedevpoll.h havesigio.h
+io_getcookie.o: io/io_getcookie.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h
-io_getcookie.o: io/io_getcookie.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_mmapwritefile.o: io/io_mmapwritefile.c io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_mmapwritefile.o: io/io_mmapwritefile.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h iob.h havepread.h
-io_nonblock.o: io/io_nonblock.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_passfd.o: io/io_passfd.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_pipe.o: io/io_pipe.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
- array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
-io_readfile.o: io/io_readfile.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_readwritefile.o: io/io_readwritefile.c io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_nonblock.o: io/io_nonblock.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h
-io_receivefd.o: io/io_receivefd.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_sendfile.o: io/io_sendfile.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h havebsdsf.h havesendfile.h
-io_setcookie.o: io/io_setcookie.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_sigpipe.o: io/io_sigpipe.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_socketpair.o: io/io_socketpair.c windoze.h io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_passfd.o: io/io_passfd.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+io_pipe.o: io/io_pipe.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+io_readfile.o: io/io_readfile.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h
-io_timedout.o: io/io_timedout.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_timeout.o: io/io_timeout.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_timeouted.o: io/io_timeouted.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_tryread.o: io/io_tryread.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h byte.h
-io_tryreadtimeout.o: io/io_tryreadtimeout.c io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_readwritefile.o: io/io_readwritefile.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h
-io_trywrite.o: io/io_trywrite.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_trywritetimeout.o: io/io_trywritetimeout.c io_internal.h io.h uint64.h \
- taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
+io_receivefd.o: io/io_receivefd.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
havedevpoll.h havesigio.h
-io_wait.o: io/io_wait.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
- array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
-io_waitread.o: io/io_waitread.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_waituntil.o: io/io_waituntil.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h safemult.h uint16.h
-io_waituntil2.o: io/io_waituntil2.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_waitwrite.o: io/io_waitwrite.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-io_wantread.o: io/io_wantread.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h byte.h
-io_wantwrite.o: io/io_wantwrite.c io_internal.h io.h uint64.h taia.h \
- tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h byte.h
-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
-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
+io_sendfile.o: io/io_sendfile.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h havebsdsf.h havesendfile.h
+io_setcookie.o: io/io_setcookie.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_sigpipe.o: io/io_sigpipe.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_socketpair.o: io/io_socketpair.c windoze.h io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_timedout.o: io/io_timedout.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_timeout.o: io/io_timeout.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_timeouted.o: io/io_timeouted.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_tryread.o: io/io_tryread.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h byte.h
+io_tryreadtimeout.o: io/io_tryreadtimeout.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_trywrite.o: io/io_trywrite.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_trywritetimeout.o: io/io_trywritetimeout.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_wait.o: io/io_wait.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+io_waitread.o: io/io_waitread.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_waituntil.o: io/io_waituntil.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h safemult.h uint16.h uint32.h uint64.h
+io_waituntil2.o: io/io_waituntil2.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_waitwrite.o: io/io_waitwrite.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h
+io_wantread.o: io/io_wantread.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h byte.h
+io_wantwrite.o: io/io_wantwrite.c io_internal.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h libowfat/iarray.h haveepoll.h havekqueue.h \
+ havedevpoll.h havesigio.h byte.h
+iob_addbuf.o: io/iob_addbuf.c iob_internal.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h array.h
+iob_addbuf_free.o: io/iob_addbuf_free.c iob_internal.h iob.h \
+ libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
+ libowfat/uint32.h libowfat/array.h array.h
+iob_addbuf_internal.o: io/iob_addbuf_internal.c iob_internal.h iob.h \
+ libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
+ libowfat/uint32.h libowfat/array.h array.h
iob_addbuf_munmap.o: io/iob_addbuf_munmap.c mmap.h iob_internal.h iob.h \
- io.h uint64.h taia.h tai.h uint32.h array.h
-iob_addfile.o: io/iob_addfile.c iob_internal.h iob.h io.h uint64.h taia.h \
- tai.h uint32.h array.h
-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
-iob_adds.o: io/iob_adds.c str.h iob.h io.h uint64.h taia.h tai.h uint32.h \
- array.h
-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
-iob_bytesleft.o: io/iob_bytesleft.c iob.h io.h uint64.h taia.h tai.h \
- uint32.h array.h
-iob_free.o: io/iob_free.c iob_internal.h iob.h io.h uint64.h taia.h tai.h \
- uint32.h array.h
-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
-iob_prefetch.o: io/iob_prefetch.c iob_internal.h iob.h io.h uint64.h \
- taia.h tai.h uint32.h array.h
-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 io_internal.h io.h \
- uint64.h taia.h tai.h uint32.h array.h iarray.h haveepoll.h havekqueue.h \
- havedevpoll.h havesigio.h iob_internal.h iob.h
-iob_write.o: io/iob_write.c iob_internal.h iob.h io.h uint64.h taia.h \
- tai.h uint32.h array.h
-iom_abort.o: io/iom_abort.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-iom_add.o: io/iom_add.c io_internal.h io.h uint64.h taia.h tai.h uint32.h \
- array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
-iom_init.o: io/iom_init.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
-iom_wait.o: io/iom_wait.c io_internal.h io.h uint64.h taia.h tai.h \
- uint32.h array.h iarray.h haveepoll.h havekqueue.h havedevpoll.h \
- havesigio.h
+ libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
+ libowfat/uint32.h libowfat/array.h array.h
+iob_addfile.o: io/iob_addfile.c iob_internal.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h array.h
+iob_addfile_close.o: io/iob_addfile_close.c iob_internal.h iob.h \
+ libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
+ libowfat/uint32.h libowfat/array.h array.h
+iob_adds.o: io/iob_adds.c str.h iob.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h
+iob_adds_free.o: io/iob_adds_free.c str.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h
+iob_bytesleft.o: io/iob_bytesleft.c iob.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h
+iob_free.o: io/iob_free.c iob_internal.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h array.h
+iob_new.o: io/iob_new.c byte.h iob_internal.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h array.h
+iob_prefetch.o: io/iob_prefetch.c iob_internal.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h array.h
+iob_reset.o: io/iob_reset.c byte.h iob_internal.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h array.h
+iob_send.o: io/iob_send.c havebsdsf.h havealloca.h io_internal.h \
+ libowfat/io.h libowfat/uint64.h libowfat/taia.h libowfat/tai.h \
+ libowfat/uint32.h libowfat/array.h libowfat/iarray.h haveepoll.h \
+ havekqueue.h havedevpoll.h havesigio.h iob_internal.h iob.h array.h
+iob_write.o: io/iob_write.c iob_internal.h iob.h libowfat/io.h \
+ libowfat/uint64.h libowfat/taia.h libowfat/tai.h libowfat/uint32.h \
+ libowfat/array.h array.h
+iom_abort.o: io/iom_abort.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+iom_add.o: io/iom_add.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+iom_init.o: io/iom_init.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
+iom_wait.o: io/iom_wait.c io_internal.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/tai.h libowfat/uint32.h libowfat/array.h \
+ libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h havesigio.h
mmap_private.o: mmap/mmap_private.c open.h mmap.h
mmap_read.o: mmap/mmap_read.c open.h mmap.h
mmap_readat.o: mmap/mmap_readat.c open.h mmap.h
@@ -715,12 +769,13 @@ ndelay_on.o: unix/ndelay_on.c ndelay.h
winsock2errno.o: unix/winsock2errno.c
t.o: t.c fmt.h byte.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
buffer.h ip4.h ip6.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 \
- critbit.h CAS.h io_internal.h haveepoll.h havekqueue.h havedevpoll.h \
+ tai.h uint64.h case.h errmsg.h iob.h libowfat/io.h libowfat/uint64.h \
+ libowfat/taia.h libowfat/array.h safemult.h iarray.h critbit.h CAS.h \
+ io_internal.h libowfat/iarray.h haveepoll.h havekqueue.h havedevpoll.h \
havesigio.h
BYTE_OBJS=byte_chr.o byte_copy.o byte_copyr.o byte_diff.o byte_equal_notimingattack.o byte_rchr.o byte_zero.o
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
-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_utf8_sem.o scan_varint.o scan_whitenskip.o scan_xint.o scan_xlong.o scan_xlonglong.o scan_xlongn.o scan_xshort.o
+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
STR_OBJS=str_chr.o str_copy.o str_diff.o str_diffn.o str_len.o str_rchr.o str_start.o
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
@@ -735,7 +790,7 @@ DNS_OBJS=dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o dns_ip6.o dns_ipq.o dns_ipq6
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 iarray_allocate.o iarray_free.o iarray_get.o iarray_init.o iarray_length.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_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 iom_abort.o iom_add.o iom_init.o iom_wait.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_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
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
CDB_OBJS=cdb.o cdb_hash.o cdb_make.o cdb_traverse.o
CRITBIT_OBJS=critbit.o
@@ -792,7 +847,7 @@ t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
havesigio.h CAS.h
t: t.o libowfat.a libsocket
- $(DIET) $(CCC) -g -o $@ t.o libowfat.a `cat libsocket` -lpthread
+ $(DIET) $(CCC) -g -o $@ t.o libowfat.a `cat libsocket` -lpthread $(LDFLAGS)
.PHONY: all clean tar install rename
clean:
@@ -811,10 +866,8 @@ libowfat:
-mkdir libowfat
.PHONY: headers
-headers: libowfat $(patsubst %.h,libowfat/%.h,$(INCLUDES))
-
-libowfat/%.h: %.h
- ln -f $< $@
+headers: libowfat
+ ln -f $(INCLUDES) libowfat/
install-inc:
install -d $(DESTDIR)$(INCLUDEDIR)/libowfat
@@ -837,7 +890,7 @@ uninstall:
rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
rm -f $(LIBDIR)/libowfat.a
-VERSION=libowfat-0.32
+VERSION=libowfat-0.33
CURNAME=libowfat-0.32
tar: clean rename