# Don't edit Makefile!  Use conf-* for configuration.
#
# Generated by spac see http://untroubled.org/spac/

SHELL=/bin/sh

DEFAULT: all

adt/adt_sp.lo adt/adt_sp.o: ltcompile adt/adt_sp.c adt/common.h
	./ltcompile adt/adt_sp.c

adt/ghash_add.lo adt/ghash_add.o: ltcompile adt/ghash_add.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_add.c

adt/ghash_foreach.lo adt/ghash_foreach.o: ltcompile adt/ghash_foreach.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_foreach.c

adt/ghash_free.lo adt/ghash_free.o: ltcompile adt/ghash_free.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_free.c

adt/ghash_get.lo adt/ghash_get.o: ltcompile adt/ghash_get.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_get.c

adt/ghash_init.lo adt/ghash_init.o: ltcompile adt/ghash_init.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_init.c

adt/ghash_insert.lo adt/ghash_insert.o: ltcompile adt/ghash_insert.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_insert.c

adt/ghash_iter.lo adt/ghash_iter.o: ltcompile adt/ghash_iter.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_iter.c

adt/ghash_rebuild.lo adt/ghash_rebuild.o: ltcompile adt/ghash_rebuild.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_rebuild.c

adt/ghash_rehash.lo adt/ghash_rehash.o: ltcompile adt/ghash_rehash.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_rehash.c

adt/ghash_remove.lo adt/ghash_remove.o: ltcompile adt/ghash_remove.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_remove.c

adt/ghash_search.lo adt/ghash_search.o: ltcompile adt/ghash_search.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_search.c

adt/ghash_set.lo adt/ghash_set.o: ltcompile adt/ghash_set.c adt/ghash.h adt/common.h
	./ltcompile adt/ghash_set.c

adt/gqueue_pop.lo adt/gqueue_pop.o: ltcompile adt/gqueue_pop.c adt/gqueue.h adt/common.h
	./ltcompile adt/gqueue_pop.c

adt/gqueue_push.lo adt/gqueue_push.o: ltcompile adt/gqueue_push.c adt/gqueue.h adt/common.h
	./ltcompile adt/gqueue_push.c

adt/gqueue_top.lo adt/gqueue_top.o: ltcompile adt/gqueue_top.c adt/gqueue.h adt/common.h
	./ltcompile adt/gqueue_top.c

adt/gstack_pop.lo adt/gstack_pop.o: ltcompile adt/gstack_pop.c adt/gstack.h adt/common.h
	./ltcompile adt/gstack_pop.c

adt/gstack_push.lo adt/gstack_push.o: ltcompile adt/gstack_push.c adt/gstack.h adt/common.h
	./ltcompile adt/gstack_push.c

adt/gstack_top.lo adt/gstack_top.o: ltcompile adt/gstack_top.c adt/gstack.h adt/common.h
	./ltcompile adt/gstack_top.c

adt/hashb.lo adt/hashb.o: ltcompile adt/hashb.c adt/common.h
	./ltcompile adt/hashb.c

adt/hashs.lo adt/hashs.o: ltcompile adt/hashs.c adt/common.h
	./ltcompile adt/hashs.c

all: dotlibs sysdeps.h libraries bg-installer cli-generate selftests

base64/asc2bin.lo base64/asc2bin.o: ltcompile base64/asc2bin.c base64/base64.h str/str.h
	./ltcompile base64/asc2bin.c

base64/bin2asc.lo base64/bin2asc.o: ltcompile base64/bin2asc.c base64/base64.h str/str.h
	./ltcompile base64/bin2asc.c

base64/decode_line.lo base64/decode_line.o: ltcompile base64/decode_line.c base64/base64.h str/str.h
	./ltcompile base64/decode_line.c

base64/decode_part.lo base64/decode_part.o: ltcompile base64/decode_part.c base64/base64.h str/str.h
	./ltcompile base64/decode_part.c

base64/encode_line.lo base64/encode_line.o: ltcompile base64/encode_line.c base64/base64.h str/str.h
	./ltcompile base64/encode_line.c

base64/encode_part.lo base64/encode_part.o: ltcompile base64/encode_part.c base64/base64.h str/str.h
	./ltcompile base64/encode_part.c

bg-installer: bg-installer.o ltload libbg-cli.la libbg-msg.la libbg-path.la libbg-iobuf.la libbg-fmt.la libbg-str.la libbg-sysdeps.la
	./ltload bg-installer libbg-cli.la libbg-msg.la libbg-path.la libbg-iobuf.la libbg-fmt.la libbg-str.la libbg-sysdeps.la -static 

bg-installer.o: compile bg-installer.c sysdeps.h cli/cli.h fmt/number.h iobuf/ibuf.h iobuf/common.h iobuf/obuf.h iobuf/iobuf.h msg/msg.h msg/debug.h msg/wrap.h path/path.h str/str.h
	./compile bg-installer.c

cdb/cdb.lo cdb/cdb.o: ltcompile cdb/cdb.c cdb/cdb.h sysdeps.h
	./ltcompile cdb/cdb.c

cdb/cdbhash.lo cdb/cdbhash.o: ltcompile cdb/cdbhash.c cdb/cdb.h sysdeps.h
	./ltcompile cdb/cdbhash.c

cdb/find.lo cdb/find.o: ltcompile cdb/find.c cdb/cdb.h sysdeps.h uint32.h sysdeps.h uintnn.h
	./ltcompile cdb/find.c

cdb/get.lo cdb/get.o: ltcompile cdb/get.c cdb/cdb.h sysdeps.h cdb/str.h str/str.h
	./ltcompile cdb/get.c

cdb/getnext.lo cdb/getnext.o: ltcompile cdb/getnext.c cdb/cdb.h sysdeps.h cdb/str.h str/str.h
	./ltcompile cdb/getnext.c

cdb/make.lo cdb/make.o: ltcompile cdb/make.c cdb/cdb.h sysdeps.h cdb/make.h iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h sysdeps.h uint32.h sysdeps.h uintnn.h
	./ltcompile cdb/make.c

cdb/read.lo cdb/read.o: ltcompile cdb/read.c cdb/cdb.h sysdeps.h
	./ltcompile cdb/read.c

choose: warn-auto.sh choose.sh
	cat warn-auto.sh choose.sh >choose
	chmod 755 choose

clean: TARGETS
	rm -f `cat TARGETS`

clean-spac: clean AUTOFILES
	rm -f `cat AUTOFILES`

cli-generate: perl-head.pl cli-generate.pl
	cat perl-head.pl cli-generate.pl >cli-generate
	chmod 755 cli-generate

cli/help.lo cli/help.o: ltcompile cli/help.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h systime.h cli/cli.h cli/internal.h
	./ltcompile cli/help.c

cli/main.lo cli/main.o: ltcompile cli/main.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h systime.h cli/cli.h cli/internal.h
	./ltcompile cli/main.c

compile: conf-cc
	(  \
	  echo '#!/bin/sh'; \
	  echo 'source=$$1; shift'; \
	  echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
	  echo exec `head -n 1 conf-cc` -I.  '-o $${base}.o -c $$source $${1+"$$@"}'; \
	) >compile
	chmod 755 compile

crc-gentab: crc-gentab.o ltload libbg-msg.la libbg-iobuf.la libbg-sysdeps.la
	./ltload crc-gentab libbg-msg.la libbg-iobuf.la libbg-sysdeps.la -static 

crc-gentab.o: compile crc-gentab.c sysdeps.h iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./compile crc-gentab.c

crc/crc16_arc_table.c: crc-gentab
	./crc-gentab crc16_arc 16 0x8005 reflected >$@

crc/crc16_arc_table.lo crc/crc16_arc_table.o: ltcompile crc/crc16_arc_table.c
	./ltcompile crc/crc16_arc_table.c

crc/crc16_ccitt_table.c: crc-gentab
	./crc-gentab crc16_ccitt 16 0x1021 normal >$@

crc/crc16_ccitt_table.lo crc/crc16_ccitt_table.o: ltcompile crc/crc16_ccitt_table.c
	./ltcompile crc/crc16_ccitt_table.c

crc/crc16_xmodem_table.c: crc-gentab
	./crc-gentab crc16_xmodem 16 0x8408 reflected >$@

crc/crc16_xmodem_table.lo crc/crc16_xmodem_table.o: ltcompile crc/crc16_xmodem_table.c
	./ltcompile crc/crc16_xmodem_table.c

crc/crc32_table.c: crc-gentab
	./crc-gentab crc32 32 0x04C11DB7 reflected >$@

crc/crc32_table.lo crc/crc32_table.o: ltcompile crc/crc32_table.c
	./ltcompile crc/crc32_table.c

crc/crc32c_table.c: crc-gentab
	./crc-gentab crc32c 32 0x1EDC6F41 reflected >$@

crc/crc32c_table.lo crc/crc32c_table.o: ltcompile crc/crc32c_table.c
	./ltcompile crc/crc32c_table.c

crc/crc64_table.c: crc-gentab
	./crc-gentab crc64 64 0x42F0E1EBA9EA3693 normal >$@

crc/crc64_table.lo crc/crc64_table.o: ltcompile crc/crc64_table.c
	./ltcompile crc/crc64_table.c

crc/gcrc16fwd.lo crc/gcrc16fwd.o: ltcompile crc/gcrc16fwd.c crc/gcrc.h sysdeps.h crc/crc16_ccitt.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crc/gcrc16fwd.c

crc/gcrc16rfl.lo crc/gcrc16rfl.o: ltcompile crc/gcrc16rfl.c crc/gcrc.h sysdeps.h crc/crc16_arc.h crc/crc16_xmodem.h uint16.h sysdeps.h uintnn.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crc/gcrc16rfl.c

crc/gcrc32fwd.lo crc/gcrc32fwd.o: ltcompile crc/gcrc32fwd.c crc/gcrc.h sysdeps.h
	./ltcompile crc/gcrc32fwd.c

crc/gcrc32rfl.lo crc/gcrc32rfl.o: ltcompile crc/gcrc32rfl.c crc/gcrc.h sysdeps.h crc/crc32.h uint32.h sysdeps.h uintnn.h crc/crc32c.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crc/gcrc32rfl.c

crc/gcrc64fwd.lo crc/gcrc64fwd.o: ltcompile crc/gcrc64fwd.c crc/gcrc.h sysdeps.h crc/crc64.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crc/gcrc64fwd.c

crc/gcrc64rfl.lo crc/gcrc64rfl.o: ltcompile crc/gcrc64rfl.c crc/gcrc.h sysdeps.h
	./ltcompile crc/gcrc64rfl.c

crypt.lib: compile load
	@echo -n 'Checking for -lcrypt: '
	@echo 'main() { ; }' >trylib-lcrypt.c
	@{ ./compile trylib-lcrypt.c && ./load trylib-lcrypt -lcrypt; } >/dev/null 2>&1 \
	  && { echo -lcrypt >crypt.lib; echo yes; } \
	  || { echo -n >crypt.lib; echo no; }
	@rm -f trylib-lcrypt.c trylib-lcrypt.o trylib-lcrypt

crypto/hmac-md5.lo crypto/hmac-md5.o: ltcompile crypto/hmac-md5.c sysdeps.h crypto/hmac.h crypto/md5.h str/str.h
	./ltcompile crypto/hmac-md5.c

crypto/hmac-sha1.lo crypto/hmac-sha1.o: ltcompile crypto/hmac-sha1.c sysdeps.h crypto/hmac.h crypto/sha1.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crypto/hmac-sha1.c

crypto/hmac-sha256.lo crypto/hmac-sha256.o: ltcompile crypto/hmac-sha256.c crypto/hmac.h crypto/sha256.h sysdeps.h iobuf/obuf.h iobuf/common.h str/str.h
	./ltcompile crypto/hmac-sha256.c

crypto/hmac-sha384.lo crypto/hmac-sha384.o: ltcompile crypto/hmac-sha384.c sysdeps.h crypto/hmac.h crypto/sha384.h sysdeps.h crypto/sha512.h sysdeps.h iobuf/obuf.h iobuf/common.h str/str.h
	./ltcompile crypto/hmac-sha384.c

crypto/hmac-sha512.lo crypto/hmac-sha512.o: ltcompile crypto/hmac-sha512.c sysdeps.h crypto/hmac.h crypto/sha512.h sysdeps.h iobuf/obuf.h iobuf/common.h str/str.h
	./ltcompile crypto/hmac-sha512.c

crypto/hmac.lo crypto/hmac.o: ltcompile crypto/hmac.c sysdeps.h str/str.h crypto/hmac.h
	./ltcompile crypto/hmac.c

crypto/md4.lo crypto/md4.o: ltcompile crypto/md4.c sysdeps.h crypto/md4.h
	./ltcompile crypto/md4.c

crypto/md5-crypt.lo crypto/md5-crypt.o: ltcompile crypto/md5-crypt.c crypto/md5.h
	./ltcompile crypto/md5-crypt.c

crypto/md5.lo crypto/md5.o: ltcompile crypto/md5.c sysdeps.h crypto/md5.h str/str.h
	./ltcompile crypto/md5.c

crypto/sha1.lo crypto/sha1.o: ltcompile crypto/sha1.c crypto/sha1.h sysdeps.h uint32.h sysdeps.h uintnn.h uint64.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crypto/sha1.c

crypto/sha256.lo crypto/sha256.o: ltcompile crypto/sha256.c crypto/sha256.h sysdeps.h uint32.h sysdeps.h uintnn.h uint64.h sysdeps.h iobuf/obuf.h iobuf/common.h str/str.h
	./ltcompile crypto/sha256.c

crypto/sha384.lo crypto/sha384.o: ltcompile crypto/sha384.c sysdeps.h crypto/sha384.h sysdeps.h crypto/sha512.h sysdeps.h uint64.h sysdeps.h uintnn.h iobuf/obuf.h iobuf/common.h str/str.h
	./ltcompile crypto/sha384.c

crypto/sha512.lo crypto/sha512.o: ltcompile crypto/sha512.c sysdeps.h crypto/sha512.h sysdeps.h uint64.h sysdeps.h uintnn.h iobuf/obuf.h iobuf/common.h str/str.h
	./ltcompile crypto/sha512.c

crypto/surf.lo crypto/surf.o: ltcompile crypto/surf.c crypto/surf.h uint32.h sysdeps.h uintnn.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crypto/surf.c

crypto/surfrand.lo crypto/surfrand.o: ltcompile crypto/surfrand.c crypto/surfrand.h crypto/surf.h uint32.h sysdeps.h uintnn.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile crypto/surfrand.c

dict/add.lo dict/add.o: ltcompile dict/add.c dict/dict.h str/str.h uint32.h sysdeps.h uintnn.h
	./ltcompile dict/add.c

dict/dicthash.lo dict/dicthash.o: ltcompile dict/dicthash.c dict/dict.h str/str.h uint32.h sysdeps.h uintnn.h
	./ltcompile dict/dicthash.c

dict/foreach.lo dict/foreach.o: ltcompile dict/foreach.c dict/dict.h str/str.h uint32.h sysdeps.h uintnn.h
	./ltcompile dict/foreach.c

dict/free.lo dict/free.o: ltcompile dict/free.c dict/dict.h str/str.h uint32.h sysdeps.h uintnn.h
	./ltcompile dict/free.c

dict/get.lo dict/get.o: ltcompile dict/get.c dict/dict.h str/str.h uint32.h sysdeps.h uintnn.h
	./ltcompile dict/get.c

dict/init.lo dict/init.o: ltcompile dict/init.c dict/dict.h str/str.h uint32.h sysdeps.h uintnn.h
	./ltcompile dict/init.c

dict/load_list.lo dict/load_list.o: ltcompile dict/load_list.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h str/str.h dict/dict.h uint32.h sysdeps.h uintnn.h dict/load.h
	./ltcompile dict/load_list.c

dict/load_map.lo dict/load_map.o: ltcompile dict/load_map.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h str/str.h dict/dict.h uint32.h sysdeps.h uintnn.h dict/load.h
	./ltcompile dict/load_map.c

dict/str_free.lo dict/str_free.o: ltcompile dict/str_free.c str/str.h dict/dict.h uint32.h sysdeps.h uintnn.h
	./ltcompile dict/str_free.c

dl.lib: compile load
	@echo -n 'Checking for -ldl: '
	@echo 'main() { ; }' >trylib-ldl.c
	@{ ./compile trylib-ldl.c && ./load trylib-ldl -ldl; } >/dev/null 2>&1 \
	  && { echo -ldl >dl.lib; echo yes; } \
	  || { echo -n >dl.lib; echo no; }
	@rm -f trylib-ldl.c trylib-ldl.o trylib-ldl

dotlibs: crypt.lib dl.lib m.lib net.lib rt.lib s.lib shadow.lib socket.lib

fmt/char.lo fmt/char.o: ltcompile fmt/char.c fmt/misc.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile fmt/char.c

fmt/chars.lo fmt/chars.o: ltcompile fmt/chars.c str/str.h fmt/misc.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile fmt/chars.c

fmt/lcase.lo fmt/lcase.o: ltcompile fmt/lcase.c fmt/number.h
	./ltcompile fmt/lcase.c

fmt/multi.lo fmt/multi.o: ltcompile fmt/multi.c fmt/misc.h fmt/multi.h fmt/number.h str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile fmt/multi.c

fmt/pad.lo fmt/pad.o: ltcompile fmt/pad.c fmt/number.h
	./ltcompile fmt/pad.c

fmt/sdec.lo fmt/sdec.o: ltcompile fmt/sdec.c fmt/number.h
	./ltcompile fmt/sdec.c

fmt/sign_pad.lo fmt/sign_pad.o: ltcompile fmt/sign_pad.c fmt/number.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile fmt/sign_pad.c

fmt/slldec.lo fmt/slldec.o: ltcompile fmt/slldec.c fmt/number.h
	./ltcompile fmt/slldec.c

fmt/sllnum.lo fmt/sllnum.o: ltcompile fmt/sllnum.c fmt/number.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile fmt/sllnum.c

fmt/snum.lo fmt/snum.o: ltcompile fmt/snum.c fmt/number.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile fmt/snum.c

fmt/ucase.lo fmt/ucase.o: ltcompile fmt/ucase.c fmt/number.h
	./ltcompile fmt/ucase.c

fmt/udec.lo fmt/udec.o: ltcompile fmt/udec.c fmt/number.h
	./ltcompile fmt/udec.c

fmt/uhexl.lo fmt/uhexl.o: ltcompile fmt/uhexl.c fmt/number.h
	./ltcompile fmt/uhexl.c

fmt/uhexu.lo fmt/uhexu.o: ltcompile fmt/uhexu.c fmt/number.h
	./ltcompile fmt/uhexu.c

fmt/ulldec.lo fmt/ulldec.o: ltcompile fmt/ulldec.c fmt/number.h
	./ltcompile fmt/ulldec.c

fmt/ullhexl.lo fmt/ullhexl.o: ltcompile fmt/ullhexl.c fmt/number.h
	./ltcompile fmt/ullhexl.c

fmt/ullhexu.lo fmt/ullhexu.o: ltcompile fmt/ullhexu.c fmt/number.h
	./ltcompile fmt/ullhexu.c

fmt/ullnum.lo fmt/ullnum.o: ltcompile fmt/ullnum.c fmt/number.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile fmt/ullnum.c

fmt/unum.lo fmt/unum.o: ltcompile fmt/unum.c fmt/number.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile fmt/unum.c

install: bg-installer INSTHIER conf-bin conf-include conf-lib conf-man
	./bg-installer -v <INSTHIER
	./bg-installer -c <INSTHIER

instlib/installer.lo instlib/installer.o: ltcompile instlib/installer.c msg/msg.h msg/debug.h msg/wrap.h path/path.h str/str.h instlib/installer.h
	./ltcompile instlib/installer.c

instlib/instcheck.lo instlib/instcheck.o: ltcompile instlib/instcheck.c msg/msg.h msg/debug.h msg/wrap.h str/str.h instlib/installer.h
	./ltcompile instlib/instcheck.c

instlib/instmain.lo instlib/instmain.o: ltcompile instlib/instmain.c iobuf/obuf.h iobuf/common.h instlib/installer.h
	./ltcompile instlib/instmain.c

instlib/instshow.lo instlib/instshow.o: ltcompile instlib/instshow.c iobuf/obuf.h iobuf/common.h msg/msg.h msg/debug.h msg/wrap.h str/str.h instlib/installer.h
	./ltcompile instlib/instshow.c

iobuf/ibuf_copytofd.lo iobuf/ibuf_copytofd.o: ltcompile iobuf/ibuf_copytofd.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_copytofd.c

iobuf/ibuf_getc.lo iobuf/ibuf_getc.o: ltcompile iobuf/ibuf_getc.c iobuf/ibuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/ibuf_getc.c

iobuf/ibuf_getnetstring.lo iobuf/ibuf_getnetstring.o: ltcompile iobuf/ibuf_getnetstring.c iobuf/ibuf.h iobuf/common.h str/str.h selftest.c iobuf/iobuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile iobuf/ibuf_getnetstring.c

iobuf/ibuf_gets.lo iobuf/ibuf_gets.o: ltcompile iobuf/ibuf_gets.c iobuf/ibuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/ibuf_gets.c

iobuf/ibuf_getstr.lo iobuf/ibuf_getstr.o: ltcompile iobuf/ibuf_getstr.c iobuf/ibuf.h iobuf/common.h str/str.h
	./ltcompile iobuf/ibuf_getstr.c

iobuf/ibuf_getstr_crlf.lo iobuf/ibuf_getstr_crlf.o: ltcompile iobuf/ibuf_getstr_crlf.c iobuf/ibuf.h iobuf/common.h str/str.h selftest.c iobuf/iobuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile iobuf/ibuf_getstr_crlf.c

iobuf/ibuf_getu.lo iobuf/ibuf_getu.o: ltcompile iobuf/ibuf_getu.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_getu.c

iobuf/ibuf_init.lo iobuf/ibuf_init.o: ltcompile iobuf/ibuf_init.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_init.c

iobuf/ibuf_open.lo iobuf/ibuf_open.o: ltcompile iobuf/ibuf_open.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_open.c

iobuf/ibuf_openreadclose.lo iobuf/ibuf_openreadclose.o: ltcompile iobuf/ibuf_openreadclose.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h str/str.h
	./ltcompile iobuf/ibuf_openreadclose.c

iobuf/ibuf_peek.lo iobuf/ibuf_peek.o: ltcompile iobuf/ibuf_peek.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_peek.c

iobuf/ibuf_read.lo iobuf/ibuf_read.o: ltcompile iobuf/ibuf_read.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_read.c

iobuf/ibuf_readall.lo iobuf/ibuf_readall.o: ltcompile iobuf/ibuf_readall.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h str/str.h
	./ltcompile iobuf/ibuf_readall.c

iobuf/ibuf_refill.lo iobuf/ibuf_refill.o: ltcompile iobuf/ibuf_refill.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_refill.c

iobuf/ibuf_seek.lo iobuf/ibuf_seek.o: ltcompile iobuf/ibuf_seek.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_seek.c

iobuf/ibuf_status.lo iobuf/ibuf_status.o: ltcompile iobuf/ibuf_status.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_status.c

iobuf/ibuf_stdin.lo iobuf/ibuf_stdin.o: ltcompile iobuf/ibuf_stdin.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_stdin.c

iobuf/ibuf_tell.lo iobuf/ibuf_tell.o: ltcompile iobuf/ibuf_tell.c iobuf/ibuf.h iobuf/common.h
	./ltcompile iobuf/ibuf_tell.c

iobuf/iobuf_close.lo iobuf/iobuf_close.o: ltcompile iobuf/iobuf_close.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h
	./ltcompile iobuf/iobuf_close.c

iobuf/iobuf_copy.lo iobuf/iobuf_copy.o: ltcompile iobuf/iobuf_copy.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h
	./ltcompile iobuf/iobuf_copy.c

iobuf/iobuf_init.lo iobuf/iobuf_init.o: ltcompile iobuf/iobuf_init.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h selftest.c msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/iobuf_init.c

iobuf/iobuf_timeout.lo iobuf/iobuf_timeout.o: ltcompile iobuf/iobuf_timeout.c sysdeps.h iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h
	./ltcompile iobuf/iobuf_timeout.c

iobuf/obuf_close.lo iobuf/obuf_close.o: ltcompile iobuf/obuf_close.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_close.c

iobuf/obuf_copyfromfd.lo iobuf/obuf_copyfromfd.o: ltcompile iobuf/obuf_copyfromfd.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_copyfromfd.c

iobuf/obuf_digits.lo iobuf/obuf_digits.o: ltcompile iobuf/obuf_digits.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_digits.c

iobuf/obuf_endl.lo iobuf/obuf_endl.o: ltcompile iobuf/obuf_endl.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_endl.c

iobuf/obuf_flush.lo iobuf/obuf_flush.o: ltcompile iobuf/obuf_flush.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_flush.c

iobuf/obuf_init.lo iobuf/obuf_init.o: ltcompile iobuf/obuf_init.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_init.c

iobuf/obuf_open.lo iobuf/obuf_open.o: ltcompile iobuf/obuf_open.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_open.c

iobuf/obuf_pad.lo iobuf/obuf_pad.o: ltcompile iobuf/obuf_pad.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_pad.c

iobuf/obuf_put2s.lo iobuf/obuf_put2s.o: ltcompile iobuf/obuf_put2s.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_put2s.c

iobuf/obuf_put3s.lo iobuf/obuf_put3s.o: ltcompile iobuf/obuf_put3s.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_put3s.c

iobuf/obuf_put4s.lo iobuf/obuf_put4s.o: ltcompile iobuf/obuf_put4s.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_put4s.c

iobuf/obuf_put5s.lo iobuf/obuf_put5s.o: ltcompile iobuf/obuf_put5s.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_put5s.c

iobuf/obuf_put6s.lo iobuf/obuf_put6s.o: ltcompile iobuf/obuf_put6s.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_put6s.c

iobuf/obuf_put7s.lo iobuf/obuf_put7s.o: ltcompile iobuf/obuf_put7s.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_put7s.c

iobuf/obuf_putc.lo iobuf/obuf_putc.o: ltcompile iobuf/obuf_putc.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_putc.c

iobuf/obuf_putf.lo iobuf/obuf_putf.o: ltcompile iobuf/obuf_putf.c iobuf/obuf.h iobuf/common.h fmt/multi.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_putf.c

iobuf/obuf_putnetstring.lo iobuf/obuf_putnetstring.o: ltcompile iobuf/obuf_putnetstring.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_putnetstring.c

iobuf/obuf_putns.lo iobuf/obuf_putns.o: ltcompile iobuf/obuf_putns.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_putns.c

iobuf/obuf_putsflush.lo iobuf/obuf_putsflush.o: ltcompile iobuf/obuf_putsflush.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_putsflush.c

iobuf/obuf_putsllnumw.lo iobuf/obuf_putsllnumw.o: ltcompile iobuf/obuf_putsllnumw.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_putsllnumw.c

iobuf/obuf_putsnumw.lo iobuf/obuf_putsnumw.o: ltcompile iobuf/obuf_putsnumw.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_putsnumw.c

iobuf/obuf_putullnumw.lo iobuf/obuf_putullnumw.o: ltcompile iobuf/obuf_putullnumw.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_putullnumw.c

iobuf/obuf_putunumw.lo iobuf/obuf_putunumw.o: ltcompile iobuf/obuf_putunumw.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_putunumw.c

iobuf/obuf_seek.lo iobuf/obuf_seek.o: ltcompile iobuf/obuf_seek.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_seek.c

iobuf/obuf_sign_pad.lo iobuf/obuf_sign_pad.o: ltcompile iobuf/obuf_sign_pad.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_sign_pad.c

iobuf/obuf_stderr.lo iobuf/obuf_stderr.o: ltcompile iobuf/obuf_stderr.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_stderr.c

iobuf/obuf_stdout.lo iobuf/obuf_stdout.o: ltcompile iobuf/obuf_stdout.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_stdout.c

iobuf/obuf_sync.lo iobuf/obuf_sync.o: ltcompile iobuf/obuf_sync.c iobuf/obuf.h iobuf/common.h
	./ltcompile iobuf/obuf_sync.c

iobuf/obuf_write.lo iobuf/obuf_write.o: ltcompile iobuf/obuf_write.c iobuf/obuf.h iobuf/common.h selftest.c iobuf/iobuf.h iobuf/ibuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile iobuf/obuf_write.c

libbg-adt.la: makeshlib adt/adt_sp.lo adt/ghash_add.lo adt/ghash_foreach.lo adt/ghash_free.lo adt/ghash_get.lo adt/ghash_init.lo adt/ghash_insert.lo adt/ghash_iter.lo adt/ghash_rebuild.lo adt/ghash_rehash.lo adt/ghash_remove.lo adt/ghash_search.lo adt/ghash_set.lo adt/gqueue_pop.lo adt/gqueue_push.lo adt/gqueue_top.lo adt/gstack_pop.lo adt/gstack_push.lo adt/gstack_top.lo adt/hashb.lo adt/hashs.lo
	./makeshlib libbg-adt.la adt/adt_sp.lo adt/ghash_add.lo adt/ghash_foreach.lo adt/ghash_free.lo adt/ghash_get.lo adt/ghash_init.lo adt/ghash_insert.lo adt/ghash_iter.lo adt/ghash_rebuild.lo adt/ghash_rehash.lo adt/ghash_remove.lo adt/ghash_search.lo adt/ghash_set.lo adt/gqueue_pop.lo adt/gqueue_push.lo adt/gqueue_top.lo adt/gstack_pop.lo adt/gstack_push.lo adt/gstack_top.lo adt/hashb.lo adt/hashs.lo

libbg-base64.la: makeshlib base64/asc2bin.lo base64/bin2asc.lo base64/decode_line.lo base64/decode_part.lo base64/encode_line.lo base64/encode_part.lo
	./makeshlib libbg-base64.la base64/asc2bin.lo base64/bin2asc.lo base64/decode_line.lo base64/decode_part.lo base64/encode_line.lo base64/encode_part.lo

libbg-cdb.la: makeshlib cdb/cdb.lo cdb/cdbhash.lo cdb/find.lo cdb/getnext.lo cdb/get.lo cdb/make.lo cdb/read.lo
	./makeshlib libbg-cdb.la cdb/cdb.lo cdb/cdbhash.lo cdb/find.lo cdb/getnext.lo cdb/get.lo cdb/make.lo cdb/read.lo

libbg-cli.la: makeshlib cli/main.lo cli/help.lo
	./makeshlib libbg-cli.la cli/main.lo cli/help.lo

libbg-crc.la: makeshlib crc/crc16_arc_table.lo crc/crc16_ccitt_table.lo crc/crc16_xmodem_table.lo crc/crc32_table.lo crc/crc32c_table.lo crc/crc64_table.lo crc/gcrc16fwd.lo crc/gcrc16rfl.lo crc/gcrc32fwd.lo crc/gcrc32rfl.lo crc/gcrc64fwd.lo crc/gcrc64rfl.lo
	./makeshlib libbg-crc.la crc/crc16_arc_table.lo crc/crc16_ccitt_table.lo crc/crc16_xmodem_table.lo crc/crc32_table.lo crc/crc32c_table.lo crc/crc64_table.lo crc/gcrc16fwd.lo crc/gcrc16rfl.lo crc/gcrc32fwd.lo crc/gcrc32rfl.lo crc/gcrc64fwd.lo crc/gcrc64rfl.lo

libbg-crypto.la: makeshlib crypto/hmac.lo crypto/hmac-md5.lo crypto/hmac-sha1.lo crypto/hmac-sha256.lo crypto/hmac-sha384.lo crypto/hmac-sha512.lo crypto/md4.lo crypto/md5-crypt.lo crypto/md5.lo crypto/sha1.lo crypto/sha256.lo crypto/sha384.lo crypto/sha512.lo crypto/surf.lo crypto/surfrand.lo
	./makeshlib libbg-crypto.la crypto/hmac.lo crypto/hmac-md5.lo crypto/hmac-sha1.lo crypto/hmac-sha256.lo crypto/hmac-sha384.lo crypto/hmac-sha512.lo crypto/md4.lo crypto/md5-crypt.lo crypto/md5.lo crypto/sha1.lo crypto/sha256.lo crypto/sha384.lo crypto/sha512.lo crypto/surf.lo crypto/surfrand.lo

libbg-dict.la: makeshlib dict/add.lo dict/dicthash.lo dict/foreach.lo dict/free.lo dict/get.lo dict/init.lo dict/load_list.lo dict/load_map.lo dict/str_free.lo
	./makeshlib libbg-dict.la dict/add.lo dict/dicthash.lo dict/foreach.lo dict/free.lo dict/get.lo dict/init.lo dict/load_list.lo dict/load_map.lo dict/str_free.lo

libbg-fmt.la: makeshlib fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/pad.lo fmt/sign_pad.lo fmt/sdec.lo fmt/slldec.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/udec.lo fmt/ulldec.lo fmt/uhexl.lo fmt/uhexu.lo fmt/ullhexl.lo fmt/ullhexu.lo fmt/ullnum.lo fmt/unum.lo
	./makeshlib libbg-fmt.la fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/pad.lo fmt/sign_pad.lo fmt/sdec.lo fmt/slldec.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/udec.lo fmt/ulldec.lo fmt/uhexl.lo fmt/uhexu.lo fmt/ullhexl.lo fmt/ullhexu.lo fmt/ullnum.lo fmt/unum.lo

libbg-installer.la: makeshlib fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/sign_pad.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/ullnum.lo fmt/unum.lo instlib/installer.lo instlib/instmain.lo iobuf/iobuf_timeout.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_pad.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putunumw.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_write.lo msg/common.lo msg/commonf.lo msg/die.lo msg/dief.lo msg/oom.lo msg/wrap_exit.lo msg/wrap_str.lo path/mkdirs.lo path/mktemp.lo str/alloc.lo str/cat.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/copy.lo str/digits.lo
	./makeshlib libbg-installer.la fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/sign_pad.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/ullnum.lo fmt/unum.lo instlib/installer.lo instlib/instmain.lo iobuf/iobuf_timeout.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_pad.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putunumw.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_write.lo msg/common.lo msg/commonf.lo msg/die.lo msg/dief.lo msg/oom.lo msg/wrap_exit.lo msg/wrap_str.lo path/mkdirs.lo path/mktemp.lo str/alloc.lo str/cat.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/copy.lo str/digits.lo

libbg-instcheck.la: makeshlib fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/sign_pad.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/ullnum.lo fmt/unum.lo instlib/instcheck.lo instlib/instmain.lo iobuf/iobuf_timeout.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_pad.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putunumw.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_write.lo msg/common.lo msg/commonf.lo msg/die.lo msg/dief.lo msg/oom.lo msg/warnf.lo msg/wrap_exit.lo msg/wrap_str.lo str/alloc.lo str/cat.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/copy.lo str/digits.lo
	./makeshlib libbg-instcheck.la fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/sign_pad.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/ullnum.lo fmt/unum.lo instlib/instcheck.lo instlib/instmain.lo iobuf/iobuf_timeout.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_pad.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putunumw.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_write.lo msg/common.lo msg/commonf.lo msg/die.lo msg/dief.lo msg/oom.lo msg/warnf.lo msg/wrap_exit.lo msg/wrap_str.lo str/alloc.lo str/cat.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/copy.lo str/digits.lo

libbg-instshow.la: makeshlib fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/sign_pad.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/ullnum.lo fmt/unum.lo instlib/instmain.lo instlib/instshow.lo iobuf/iobuf_timeout.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_pad.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putunumw.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_write.lo msg/common.lo msg/commonf.lo msg/die.lo msg/dief.lo msg/oom.lo msg/wrap_exit.lo msg/wrap_str.lo str/alloc.lo str/cat.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/copy.lo str/digits.lo
	./makeshlib libbg-instshow.la fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/sign_pad.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/ullnum.lo fmt/unum.lo instlib/instmain.lo instlib/instshow.lo iobuf/iobuf_timeout.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_pad.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putunumw.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_write.lo msg/common.lo msg/commonf.lo msg/die.lo msg/dief.lo msg/oom.lo msg/wrap_exit.lo msg/wrap_str.lo str/alloc.lo str/cat.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/copy.lo str/digits.lo

libbg-iobuf.la: makeshlib iobuf/ibuf_copytofd.lo iobuf/ibuf_getc.lo iobuf/ibuf_getnetstring.lo iobuf/ibuf_gets.lo iobuf/ibuf_getstr_crlf.lo iobuf/ibuf_getstr.lo iobuf/ibuf_getu.lo iobuf/ibuf_init.lo iobuf/ibuf_open.lo iobuf/ibuf_openreadclose.lo iobuf/ibuf_peek.lo iobuf/ibuf_read.lo iobuf/ibuf_readall.lo iobuf/ibuf_refill.lo iobuf/ibuf_seek.lo iobuf/ibuf_status.lo iobuf/ibuf_stdin.lo iobuf/ibuf_tell.lo iobuf/iobuf_close.lo iobuf/iobuf_copy.lo iobuf/iobuf_init.lo iobuf/iobuf_timeout.lo iobuf/obuf_close.lo iobuf/obuf_copyfromfd.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_init.lo iobuf/obuf_open.lo iobuf/obuf_pad.lo iobuf/obuf_put2s.lo iobuf/obuf_put3s.lo iobuf/obuf_put4s.lo iobuf/obuf_put5s.lo iobuf/obuf_put6s.lo iobuf/obuf_put7s.lo iobuf/obuf_putf.lo iobuf/obuf_putns.lo iobuf/obuf_putc.lo iobuf/obuf_putnetstring.lo iobuf/obuf_putsflush.lo iobuf/obuf_putsllnumw.lo iobuf/obuf_putsnumw.lo iobuf/obuf_putullnumw.lo iobuf/obuf_putunumw.lo iobuf/obuf_seek.lo iobuf/obuf_sign_pad.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_sync.lo iobuf/obuf_write.lo
	./makeshlib libbg-iobuf.la iobuf/ibuf_copytofd.lo iobuf/ibuf_getc.lo iobuf/ibuf_getnetstring.lo iobuf/ibuf_gets.lo iobuf/ibuf_getstr_crlf.lo iobuf/ibuf_getstr.lo iobuf/ibuf_getu.lo iobuf/ibuf_init.lo iobuf/ibuf_open.lo iobuf/ibuf_openreadclose.lo iobuf/ibuf_peek.lo iobuf/ibuf_read.lo iobuf/ibuf_readall.lo iobuf/ibuf_refill.lo iobuf/ibuf_seek.lo iobuf/ibuf_status.lo iobuf/ibuf_stdin.lo iobuf/ibuf_tell.lo iobuf/iobuf_close.lo iobuf/iobuf_copy.lo iobuf/iobuf_init.lo iobuf/iobuf_timeout.lo iobuf/obuf_close.lo iobuf/obuf_copyfromfd.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_init.lo iobuf/obuf_open.lo iobuf/obuf_pad.lo iobuf/obuf_put2s.lo iobuf/obuf_put3s.lo iobuf/obuf_put4s.lo iobuf/obuf_put5s.lo iobuf/obuf_put6s.lo iobuf/obuf_put7s.lo iobuf/obuf_putf.lo iobuf/obuf_putns.lo iobuf/obuf_putc.lo iobuf/obuf_putnetstring.lo iobuf/obuf_putsflush.lo iobuf/obuf_putsllnumw.lo iobuf/obuf_putsnumw.lo iobuf/obuf_putullnumw.lo iobuf/obuf_putunumw.lo iobuf/obuf_seek.lo iobuf/obuf_sign_pad.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_sync.lo iobuf/obuf_write.lo

libbg-misc.la: makeshlib misc/random.lo misc/strtou.lo misc/ucspi.lo misc/utoa2.lo misc/utoa.lo
	./makeshlib libbg-misc.la misc/random.lo misc/strtou.lo misc/ucspi.lo misc/utoa2.lo misc/utoa.lo

libbg-msg.la: makeshlib msg/common.lo msg/commonf.lo msg/debug.lo msg/debug_bits.lo msg/debug_init.lo msg/debugf.lo msg/die.lo msg/dief.lo msg/error.lo msg/errorf.lo msg/show_pid.lo msg/wrap_alloc.lo msg/wrap_chdir.lo msg/wrap_exit.lo msg/wrap_str.lo msg/warn.lo msg/warnf.lo msg/oom.lo
	./makeshlib libbg-msg.la msg/common.lo msg/commonf.lo msg/debug.lo msg/debug_bits.lo msg/debug_init.lo msg/debugf.lo msg/die.lo msg/dief.lo msg/error.lo msg/errorf.lo msg/show_pid.lo msg/wrap_alloc.lo msg/wrap_chdir.lo msg/wrap_exit.lo msg/wrap_str.lo msg/warn.lo msg/warnf.lo msg/oom.lo

libbg-net.la: makeshlib net/accept4.lo net/accept6.lo net/acceptu.lo net/bind4.lo net/bind6.lo net/bindu.lo net/broadcast.lo net/connect4.lo net/connect4_timeout.lo net/connect6.lo net/connect6_timeout.lo net/connected.lo net/connectu.lo net/connectu_timeout.lo net/cork.lo net/getaddr4.lo net/getaddr6.lo net/ipv4_addr.lo net/ipv4_format.lo net/ipv4_scan.lo net/ipv6_addr.lo net/ipv6_format.lo net/ipv6_scan.lo net/linger.lo net/listen.lo net/notcpdelay.lo net/pairdgm.lo net/pairstr.lo net/recv4.lo net/recv6.lo net/recvfd.lo net/recvu.lo net/resolve_error.lo net/resolve_ipv4addr.lo net/resolve_ipv4name.lo net/reuse.lo net/send4.lo net/send6.lo net/sendfd.lo net/sendu.lo net/shutdown.lo net/tcp4.lo net/tcp6.lo net/udp4.lo net/udp6.lo net/uncork.lo net/unixdgm.lo net/unixstr.lo
	./makeshlib libbg-net.la net/accept4.lo net/accept6.lo net/acceptu.lo net/bind4.lo net/bind6.lo net/bindu.lo net/broadcast.lo net/connect4.lo net/connect4_timeout.lo net/connect6.lo net/connect6_timeout.lo net/connected.lo net/connectu.lo net/connectu_timeout.lo net/cork.lo net/getaddr4.lo net/getaddr6.lo net/ipv4_addr.lo net/ipv4_format.lo net/ipv4_scan.lo net/ipv6_addr.lo net/ipv6_format.lo net/ipv6_scan.lo net/linger.lo net/listen.lo net/notcpdelay.lo net/pairdgm.lo net/pairstr.lo net/recv4.lo net/recv6.lo net/recvfd.lo net/recvu.lo net/resolve_error.lo net/resolve_ipv4addr.lo net/resolve_ipv4name.lo net/reuse.lo net/send4.lo net/send6.lo net/sendfd.lo net/sendu.lo net/shutdown.lo net/tcp4.lo net/tcp6.lo net/udp4.lo net/udp6.lo net/uncork.lo net/unixdgm.lo net/unixstr.lo

libbg-path.la: makeshlib path/contains.lo path/fnmatch.lo path/match.lo path/merge.lo path/mkdirs.lo path/mktemp.lo
	./makeshlib libbg-path.la path/contains.lo path/fnmatch.lo path/match.lo path/merge.lo path/mkdirs.lo path/mktemp.lo

libbg-str.la: makeshlib str/alloc.lo str/buildmap.lo str/case_glob.lo str/case_match.lo str/case_start.lo str/cat.lo str/cat2s.lo str/cat3s.lo str/cat4s.lo str/cat5s.lo str/cat6s.lo str/catf.lo str/catiw.lo str/catiwll.lo str/catns.lo str/catsllnum.lo str/catsnum.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/catuwll.lo str/catxw.lo str/catxwll.lo str/cmp.lo str/copy.lo str/copy2s.lo str/copy3s.lo str/copy4s.lo str/copy5s.lo str/copy6s.lo str/copyf.lo str/copyns.lo str/count.lo str/countof.lo str/cut.lo str/diff.lo str/digits.lo str/env_find.lo str/env_from_array.lo str/env_from_string.lo str/env_get.lo str/env_make_array.lo str/env_put.lo str/env_set.lo str/env_unset.lo str/findnext.lo str/findnextof.lo str/findprev.lo str/findprevof.lo str/free.lo str/glob.lo str/init.lo str/iter_advance.lo str/iter_start.lo str/iter_valid.lo str/join.lo str/lower.lo str/lstrip.lo str/match.lo str/rstrip.lo str/sort.lo str/splice.lo str/start.lo str/subst.lo str/truncate.lo str/upper.lo str/xlate.lo
	./makeshlib libbg-str.la str/alloc.lo str/buildmap.lo str/case_glob.lo str/case_match.lo str/case_start.lo str/cat.lo str/cat2s.lo str/cat3s.lo str/cat4s.lo str/cat5s.lo str/cat6s.lo str/catf.lo str/catiw.lo str/catiwll.lo str/catns.lo str/catsllnum.lo str/catsnum.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/catuwll.lo str/catxw.lo str/catxwll.lo str/cmp.lo str/copy.lo str/copy2s.lo str/copy3s.lo str/copy4s.lo str/copy5s.lo str/copy6s.lo str/copyf.lo str/copyns.lo str/count.lo str/countof.lo str/cut.lo str/diff.lo str/digits.lo str/env_find.lo str/env_from_array.lo str/env_from_string.lo str/env_get.lo str/env_make_array.lo str/env_put.lo str/env_set.lo str/env_unset.lo str/findnext.lo str/findnextof.lo str/findprev.lo str/findprevof.lo str/free.lo str/glob.lo str/init.lo str/iter_advance.lo str/iter_start.lo str/iter_valid.lo str/join.lo str/lower.lo str/lstrip.lo str/match.lo str/rstrip.lo str/sort.lo str/splice.lo str/start.lo str/subst.lo str/truncate.lo str/upper.lo str/xlate.lo

libbg-sysdeps.la: makeshlib sys/clock_gettime.lo sys/getpeereid.lo sys/iopoll.lo sys/setenv.lo uint16/get.lo uint16/pack.lo uint16/unpack.lo uint32/get_lsb.lo uint32/get_msb.lo uint32/pack_lsb.lo uint32/pack_msb.lo uint32/unpack_lsb.lo uint32/unpack_msb.lo uint64/get_lsb.lo uint64/get_msb.lo uint64/pack_lsb.lo uint64/pack_msb.lo uint64/unpack_lsb.lo uint64/unpack_msb.lo sys/unsetenv.lo
	./makeshlib libbg-sysdeps.la sys/clock_gettime.lo sys/getpeereid.lo sys/iopoll.lo sys/setenv.lo uint16/get.lo uint16/pack.lo uint16/unpack.lo uint32/get_lsb.lo uint32/get_msb.lo uint32/pack_lsb.lo uint32/pack_msb.lo uint32/unpack_lsb.lo uint32/unpack_msb.lo uint64/get_lsb.lo uint64/get_msb.lo uint64/pack_lsb.lo uint64/pack_msb.lo uint64/unpack_lsb.lo uint64/unpack_msb.lo sys/unsetenv.lo

libbg-unix.la: makeshlib unix/cloexec_off.lo unix/cloexec_on.lo unix/fcntl_fd_off.lo unix/fcntl_fd_on.lo unix/fcntl_fl_off.lo unix/fcntl_fl_on.lo unix/nonblock_off.lo unix/nonblock_on.lo unix/selfpipe.lo unix/signalfd.lo unix/sig_alarm.lo unix/sig_all.lo unix/sig_block.lo unix/sig_bug.lo unix/sig_catch.lo unix/sig_child.lo unix/sig_hup.lo unix/sig_int.lo unix/sig_misc.lo unix/sig_pipe.lo unix/sig_quit.lo unix/sig_suspend.lo unix/sig_term.lo unix/trigger_set.lo unix/trigger_pull.lo
	./makeshlib libbg-unix.la unix/cloexec_off.lo unix/cloexec_on.lo unix/fcntl_fd_off.lo unix/fcntl_fd_on.lo unix/fcntl_fl_off.lo unix/fcntl_fl_on.lo unix/nonblock_off.lo unix/nonblock_on.lo unix/selfpipe.lo unix/signalfd.lo unix/sig_alarm.lo unix/sig_all.lo unix/sig_block.lo unix/sig_bug.lo unix/sig_catch.lo unix/sig_child.lo unix/sig_hup.lo unix/sig_int.lo unix/sig_misc.lo unix/sig_pipe.lo unix/sig_quit.lo unix/sig_suspend.lo unix/sig_term.lo unix/trigger_set.lo unix/trigger_pull.lo

libbg.la: makeshlib Makefile adt/adt_sp.lo adt/ghash_add.lo adt/ghash_foreach.lo adt/ghash_free.lo adt/ghash_get.lo adt/ghash_init.lo adt/ghash_insert.lo adt/ghash_iter.lo adt/ghash_rebuild.lo adt/ghash_rehash.lo adt/ghash_remove.lo adt/ghash_search.lo adt/ghash_set.lo adt/gqueue_pop.lo adt/gqueue_push.lo adt/gqueue_top.lo adt/gstack_pop.lo adt/gstack_push.lo adt/gstack_top.lo adt/hashb.lo adt/hashs.lo base64/asc2bin.lo base64/bin2asc.lo base64/decode_line.lo base64/decode_part.lo base64/encode_line.lo base64/encode_part.lo cdb/cdb.lo cdb/cdbhash.lo cdb/find.lo cdb/get.lo cdb/getnext.lo cdb/make.lo cdb/read.lo crc/crc16_arc_table.lo crc/crc16_ccitt_table.lo crc/crc16_xmodem_table.lo crc/crc32_table.lo crc/crc32c_table.lo crc/crc64_table.lo crc/gcrc16fwd.lo crc/gcrc16rfl.lo crc/gcrc32fwd.lo crc/gcrc32rfl.lo crc/gcrc64fwd.lo crc/gcrc64rfl.lo crypto/hmac-md5.lo crypto/hmac-sha1.lo crypto/hmac-sha256.lo crypto/hmac-sha384.lo crypto/hmac-sha512.lo crypto/hmac.lo crypto/md4.lo crypto/md5-crypt.lo crypto/md5.lo crypto/sha1.lo crypto/sha256.lo crypto/sha384.lo crypto/sha512.lo crypto/surf.lo crypto/surfrand.lo dict/add.lo dict/dicthash.lo dict/foreach.lo dict/free.lo dict/get.lo dict/init.lo dict/load_list.lo dict/load_map.lo dict/str_free.lo fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/pad.lo fmt/sdec.lo fmt/sign_pad.lo fmt/slldec.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/udec.lo fmt/uhexl.lo fmt/uhexu.lo fmt/ulldec.lo fmt/ullhexl.lo fmt/ullhexu.lo fmt/ullnum.lo fmt/unum.lo iobuf/ibuf_copytofd.lo iobuf/ibuf_getc.lo iobuf/ibuf_getnetstring.lo iobuf/ibuf_gets.lo iobuf/ibuf_getstr.lo iobuf/ibuf_getstr_crlf.lo iobuf/ibuf_getu.lo iobuf/ibuf_init.lo iobuf/ibuf_open.lo iobuf/ibuf_openreadclose.lo iobuf/ibuf_peek.lo iobuf/ibuf_read.lo iobuf/ibuf_readall.lo iobuf/ibuf_refill.lo iobuf/ibuf_seek.lo iobuf/ibuf_status.lo iobuf/ibuf_stdin.lo iobuf/ibuf_tell.lo iobuf/iobuf_close.lo iobuf/iobuf_copy.lo iobuf/iobuf_init.lo iobuf/iobuf_timeout.lo iobuf/obuf_close.lo iobuf/obuf_copyfromfd.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_init.lo iobuf/obuf_open.lo iobuf/obuf_pad.lo iobuf/obuf_put2s.lo iobuf/obuf_put3s.lo iobuf/obuf_put4s.lo iobuf/obuf_put5s.lo iobuf/obuf_put6s.lo iobuf/obuf_put7s.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putnetstring.lo iobuf/obuf_putns.lo iobuf/obuf_putsflush.lo iobuf/obuf_putsllnumw.lo iobuf/obuf_putsnumw.lo iobuf/obuf_putullnumw.lo iobuf/obuf_putunumw.lo iobuf/obuf_seek.lo iobuf/obuf_sign_pad.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_sync.lo iobuf/obuf_write.lo misc/random.lo misc/strtou.lo misc/ucspi.lo misc/utoa.lo misc/utoa2.lo msg/common.lo msg/commonf.lo msg/debug.lo msg/debug_bits.lo msg/debug_init.lo msg/debugf.lo msg/die.lo msg/dief.lo msg/error.lo msg/errorf.lo msg/oom.lo msg/show_pid.lo msg/warn.lo msg/warnf.lo msg/wrap_alloc.lo msg/wrap_chdir.lo msg/wrap_exit.lo msg/wrap_str.lo net/accept4.lo net/accept6.lo net/acceptu.lo net/bind4.lo net/bind6.lo net/bindu.lo net/broadcast.lo net/connect4.lo net/connect4_timeout.lo net/connect6.lo net/connect6_timeout.lo net/connected.lo net/connectu.lo net/connectu_timeout.lo net/cork.lo net/getaddr4.lo net/getaddr6.lo net/ipv4_addr.lo net/ipv4_format.lo net/ipv4_scan.lo net/ipv6_addr.lo net/ipv6_format.lo net/ipv6_scan.lo net/linger.lo net/listen.lo net/notcpdelay.lo net/pairdgm.lo net/pairstr.lo net/recv4.lo net/recv6.lo net/recvfd.lo net/recvu.lo net/resolve_error.lo net/resolve_ipv4addr.lo net/resolve_ipv4name.lo net/reuse.lo net/send4.lo net/send6.lo net/sendfd.lo net/sendu.lo net/shutdown.lo net/tcp4.lo net/tcp6.lo net/udp4.lo net/udp6.lo net/uncork.lo net/unixdgm.lo net/unixstr.lo path/contains.lo path/fnmatch.lo path/match.lo path/merge.lo path/mkdirs.lo path/mktemp.lo str/alloc.lo str/buildmap.lo str/case_glob.lo str/case_match.lo str/case_start.lo str/cat.lo str/cat2s.lo str/cat3s.lo str/cat4s.lo str/cat5s.lo str/cat6s.lo str/catf.lo str/catiw.lo str/catiwll.lo str/catns.lo str/catsllnum.lo str/catsnum.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/catuwll.lo str/catxw.lo str/catxwll.lo str/cmp.lo str/copy.lo str/copy2s.lo str/copy3s.lo str/copy4s.lo str/copy5s.lo str/copy6s.lo str/copyf.lo str/copyns.lo str/count.lo str/countof.lo str/cut.lo str/diff.lo str/digits.lo str/env_find.lo str/env_from_array.lo str/env_from_string.lo str/env_get.lo str/env_make_array.lo str/env_put.lo str/env_set.lo str/env_unset.lo str/findnext.lo str/findnextof.lo str/findprev.lo str/findprevof.lo str/free.lo str/glob.lo str/init.lo str/iter_advance.lo str/iter_start.lo str/iter_valid.lo str/join.lo str/lower.lo str/lstrip.lo str/match.lo str/rstrip.lo str/sort.lo str/splice.lo str/start.lo str/subst.lo str/truncate.lo str/upper.lo str/xlate.lo sys/clock_gettime.lo sys/getpeereid.lo sys/iopoll.lo sys/setenv.lo sys/unsetenv.lo uint16/get.lo uint16/pack.lo uint16/unpack.lo uint32/get_lsb.lo uint32/get_msb.lo uint32/pack_lsb.lo uint32/pack_msb.lo uint32/unpack_lsb.lo uint32/unpack_msb.lo uint64/get_lsb.lo uint64/get_msb.lo uint64/pack_lsb.lo uint64/pack_msb.lo uint64/unpack_lsb.lo uint64/unpack_msb.lo unix/cloexec_off.lo unix/cloexec_on.lo unix/fcntl_fd_off.lo unix/fcntl_fd_on.lo unix/fcntl_fl_off.lo unix/fcntl_fl_on.lo unix/nonblock_off.lo unix/nonblock_on.lo unix/selfpipe.lo unix/sig_alarm.lo unix/sig_all.lo unix/sig_block.lo unix/sig_bug.lo unix/sig_catch.lo unix/sig_child.lo unix/sig_hup.lo unix/sig_int.lo unix/sig_misc.lo unix/sig_pipe.lo unix/sig_quit.lo unix/sig_suspend.lo unix/sig_term.lo unix/signalfd.lo unix/trigger_pull.lo unix/trigger_set.lo vmailmgr/req_arg.lo vmailmgr/req_init.lo vmailmgr/req_write.lo vmailmgr/resp_read.lo vmailmgr/vpwentry_export.lo vmailmgr/vpwentry_free.lo vmailmgr/vpwentry_import.lo
	./makeshlib libbg.la adt/adt_sp.lo adt/ghash_add.lo adt/ghash_foreach.lo adt/ghash_free.lo adt/ghash_get.lo adt/ghash_init.lo adt/ghash_insert.lo adt/ghash_iter.lo adt/ghash_rebuild.lo adt/ghash_rehash.lo adt/ghash_remove.lo adt/ghash_search.lo adt/ghash_set.lo adt/gqueue_pop.lo adt/gqueue_push.lo adt/gqueue_top.lo adt/gstack_pop.lo adt/gstack_push.lo adt/gstack_top.lo adt/hashb.lo adt/hashs.lo base64/asc2bin.lo base64/bin2asc.lo base64/decode_line.lo base64/decode_part.lo base64/encode_line.lo base64/encode_part.lo cdb/cdb.lo cdb/cdbhash.lo cdb/find.lo cdb/get.lo cdb/getnext.lo cdb/make.lo cdb/read.lo crc/crc16_arc_table.lo crc/crc16_ccitt_table.lo crc/crc16_xmodem_table.lo crc/crc32_table.lo crc/crc32c_table.lo crc/crc64_table.lo crc/gcrc16fwd.lo crc/gcrc16rfl.lo crc/gcrc32fwd.lo crc/gcrc32rfl.lo crc/gcrc64fwd.lo crc/gcrc64rfl.lo crypto/hmac-md5.lo crypto/hmac-sha1.lo crypto/hmac-sha256.lo crypto/hmac-sha384.lo crypto/hmac-sha512.lo crypto/hmac.lo crypto/md4.lo crypto/md5-crypt.lo crypto/md5.lo crypto/sha1.lo crypto/sha256.lo crypto/sha384.lo crypto/sha512.lo crypto/surf.lo crypto/surfrand.lo dict/add.lo dict/dicthash.lo dict/foreach.lo dict/free.lo dict/get.lo dict/init.lo dict/load_list.lo dict/load_map.lo dict/str_free.lo fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/pad.lo fmt/sdec.lo fmt/sign_pad.lo fmt/slldec.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/udec.lo fmt/uhexl.lo fmt/uhexu.lo fmt/ulldec.lo fmt/ullhexl.lo fmt/ullhexu.lo fmt/ullnum.lo fmt/unum.lo iobuf/ibuf_copytofd.lo iobuf/ibuf_getc.lo iobuf/ibuf_getnetstring.lo iobuf/ibuf_gets.lo iobuf/ibuf_getstr.lo iobuf/ibuf_getstr_crlf.lo iobuf/ibuf_getu.lo iobuf/ibuf_init.lo iobuf/ibuf_open.lo iobuf/ibuf_openreadclose.lo iobuf/ibuf_peek.lo iobuf/ibuf_read.lo iobuf/ibuf_readall.lo iobuf/ibuf_refill.lo iobuf/ibuf_seek.lo iobuf/ibuf_status.lo iobuf/ibuf_stdin.lo iobuf/ibuf_tell.lo iobuf/iobuf_close.lo iobuf/iobuf_copy.lo iobuf/iobuf_init.lo iobuf/iobuf_timeout.lo iobuf/obuf_close.lo iobuf/obuf_copyfromfd.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_init.lo iobuf/obuf_open.lo iobuf/obuf_pad.lo iobuf/obuf_put2s.lo iobuf/obuf_put3s.lo iobuf/obuf_put4s.lo iobuf/obuf_put5s.lo iobuf/obuf_put6s.lo iobuf/obuf_put7s.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putnetstring.lo iobuf/obuf_putns.lo iobuf/obuf_putsflush.lo iobuf/obuf_putsllnumw.lo iobuf/obuf_putsnumw.lo iobuf/obuf_putullnumw.lo iobuf/obuf_putunumw.lo iobuf/obuf_seek.lo iobuf/obuf_sign_pad.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_sync.lo iobuf/obuf_write.lo misc/random.lo misc/strtou.lo misc/ucspi.lo misc/utoa.lo misc/utoa2.lo msg/common.lo msg/commonf.lo msg/debug.lo msg/debug_bits.lo msg/debug_init.lo msg/debugf.lo msg/die.lo msg/dief.lo msg/error.lo msg/errorf.lo msg/oom.lo msg/show_pid.lo msg/warn.lo msg/warnf.lo msg/wrap_alloc.lo msg/wrap_chdir.lo msg/wrap_exit.lo msg/wrap_str.lo net/accept4.lo net/accept6.lo net/acceptu.lo net/bind4.lo net/bind6.lo net/bindu.lo net/broadcast.lo net/connect4.lo net/connect4_timeout.lo net/connect6.lo net/connect6_timeout.lo net/connected.lo net/connectu.lo net/connectu_timeout.lo net/cork.lo net/getaddr4.lo net/getaddr6.lo net/ipv4_addr.lo net/ipv4_format.lo net/ipv4_scan.lo net/ipv6_addr.lo net/ipv6_format.lo net/ipv6_scan.lo net/linger.lo net/listen.lo net/notcpdelay.lo net/pairdgm.lo net/pairstr.lo net/recv4.lo net/recv6.lo net/recvfd.lo net/recvu.lo net/resolve_error.lo net/resolve_ipv4addr.lo net/resolve_ipv4name.lo net/reuse.lo net/send4.lo net/send6.lo net/sendfd.lo net/sendu.lo net/shutdown.lo net/tcp4.lo net/tcp6.lo net/udp4.lo net/udp6.lo net/uncork.lo net/unixdgm.lo net/unixstr.lo path/contains.lo path/fnmatch.lo path/match.lo path/merge.lo path/mkdirs.lo path/mktemp.lo str/alloc.lo str/buildmap.lo str/case_glob.lo str/case_match.lo str/case_start.lo str/cat.lo str/cat2s.lo str/cat3s.lo str/cat4s.lo str/cat5s.lo str/cat6s.lo str/catf.lo str/catiw.lo str/catiwll.lo str/catns.lo str/catsllnum.lo str/catsnum.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/catuwll.lo str/catxw.lo str/catxwll.lo str/cmp.lo str/copy.lo str/copy2s.lo str/copy3s.lo str/copy4s.lo str/copy5s.lo str/copy6s.lo str/copyf.lo str/copyns.lo str/count.lo str/countof.lo str/cut.lo str/diff.lo str/digits.lo str/env_find.lo str/env_from_array.lo str/env_from_string.lo str/env_get.lo str/env_make_array.lo str/env_put.lo str/env_set.lo str/env_unset.lo str/findnext.lo str/findnextof.lo str/findprev.lo str/findprevof.lo str/free.lo str/glob.lo str/init.lo str/iter_advance.lo str/iter_start.lo str/iter_valid.lo str/join.lo str/lower.lo str/lstrip.lo str/match.lo str/rstrip.lo str/sort.lo str/splice.lo str/start.lo str/subst.lo str/truncate.lo str/upper.lo str/xlate.lo sys/clock_gettime.lo sys/getpeereid.lo sys/iopoll.lo sys/setenv.lo sys/unsetenv.lo uint16/get.lo uint16/pack.lo uint16/unpack.lo uint32/get_lsb.lo uint32/get_msb.lo uint32/pack_lsb.lo uint32/pack_msb.lo uint32/unpack_lsb.lo uint32/unpack_msb.lo uint64/get_lsb.lo uint64/get_msb.lo uint64/pack_lsb.lo uint64/pack_msb.lo uint64/unpack_lsb.lo uint64/unpack_msb.lo unix/cloexec_off.lo unix/cloexec_on.lo unix/fcntl_fd_off.lo unix/fcntl_fd_on.lo unix/fcntl_fl_off.lo unix/fcntl_fl_on.lo unix/nonblock_off.lo unix/nonblock_on.lo unix/selfpipe.lo unix/sig_alarm.lo unix/sig_all.lo unix/sig_block.lo unix/sig_bug.lo unix/sig_catch.lo unix/sig_child.lo unix/sig_hup.lo unix/sig_int.lo unix/sig_misc.lo unix/sig_pipe.lo unix/sig_quit.lo unix/sig_suspend.lo unix/sig_term.lo unix/signalfd.lo unix/trigger_pull.lo unix/trigger_set.lo vmailmgr/req_arg.lo vmailmgr/req_init.lo vmailmgr/req_write.lo vmailmgr/resp_read.lo vmailmgr/vpwentry_export.lo vmailmgr/vpwentry_free.lo vmailmgr/vpwentry_import.lo

libpwcmp-module.la: makeshlib pwcmp/module.lo
	./makeshlib libpwcmp-module.la pwcmp/module.lo

libpwcmp.la: makeshlib pwcmp/client.lo pwcmp/hex_encode.lo
	./makeshlib libpwcmp.la pwcmp/client.lo pwcmp/hex_encode.lo

libraries: libbg.la libbg-sysdeps.la libbg-cli.la libbg-installer.la libbg-iobuf.la libbg-unix.la libbg-path.la libbg-misc.la libbg-sysdeps.la libbg-base64.la libbg-cdb.la libbg-net.la libpwcmp-module.la libpwcmp.la libbg-adt.la libbg-fmt.la libbg-instshow.la libbg-crypto.la libbg-crc.la libbg-msg.la libbg-str.la libbg-dict.la libbg-instcheck.la libvmailmgr.la

libvmailmgr.la: makeshlib vmailmgr/req_arg.lo vmailmgr/req_init.lo vmailmgr/req_write.lo vmailmgr/resp_read.lo vmailmgr/vpwentry_export.lo vmailmgr/vpwentry_free.lo vmailmgr/vpwentry_import.lo
	./makeshlib libvmailmgr.la vmailmgr/req_arg.lo vmailmgr/req_init.lo vmailmgr/req_write.lo vmailmgr/resp_read.lo vmailmgr/vpwentry_export.lo vmailmgr/vpwentry_free.lo vmailmgr/vpwentry_import.lo

load: conf-ld
	(  \
	  echo '#!/bin/sh';\
	  echo 'main="$$1"; shift';\
	  echo exec `head -n 1 conf-ld` -L.  '-o "$$main" "$$main.o" $${1+"$$@"}' ; \
	) >load
	chmod 755 load

ltcompile: conf-cc
	(  \
	  if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi; \
	  echo '#!/bin/sh'; \
	  echo 'source=$$1; shift'; \
	  echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
	  echo exec libtool --mode=compile --silent $$tag `head -n 1 conf-cc` -I.  '-o $${base}.lo -c $$source $${1+"$$@"}'; \
	) >ltcompile
	chmod 755 ltcompile

ltload: conf-ld
	(  \
	  if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi; \
	  echo '#!/bin/sh';\
	  echo 'main="$$1"; shift';\
	  echo exec libtool --mode=link --silent $$tag `head -n 1 conf-ld` -L.  '-o "$$main" "$$main.o" $${1+"$$@"}' ; \
	) >ltload
	chmod 755 ltload

m.lib: compile load
	@echo -n 'Checking for -lm: '
	@echo 'main() { ; }' >trylib-lm.c
	@{ ./compile trylib-lm.c && ./load trylib-lm -lm; } >/dev/null 2>&1 \
	  && { echo -lm >m.lib; echo yes; } \
	  || { echo -n >m.lib; echo no; }
	@rm -f trylib-lm.c trylib-lm.o trylib-lm

makeshlib: conf-ld conf-lib LIBVERSION Makefile
	( if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi; \
	  echo '#!/bin/sh'; \
	  echo 'lib="$$1"; shift';\
	  echo 'rm -f "$$lib"';\
	  echo libtool --mode=link --silent $$tag `head -n 1 conf-ld` '-o "$$lib" -rpath' `head -n 1 conf-lib` -version-info `head -n 1 LIBVERSION` '$${1+"$$@"}';\
	) >makeshlib
	chmod 755 makeshlib

misc/random.lo misc/random.o: ltcompile misc/random.c sysdeps.h systime.h misc/misc.h sysdeps.h
	./ltcompile misc/random.c

misc/strtou.lo misc/strtou.o: ltcompile misc/strtou.c misc/misc.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile misc/strtou.c

misc/ucspi.lo misc/ucspi.o: ltcompile misc/ucspi.c misc/ucspi.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile misc/ucspi.c

misc/utoa.lo misc/utoa.o: ltcompile misc/utoa.c misc/misc.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile misc/utoa.c

misc/utoa2.lo misc/utoa2.o: ltcompile misc/utoa2.c misc/misc.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile misc/utoa2.c

msg/common.lo msg/common.o: ltcompile msg/common.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h selftest.c str/str.h
	./ltcompile msg/common.c

msg/commonf.lo msg/commonf.o: ltcompile msg/commonf.c iobuf/obuf.h iobuf/common.h msg/msg.h msg/debug.h selftest.c iobuf/iobuf.h iobuf/ibuf.h str/str.h
	./ltcompile msg/commonf.c

msg/debug.lo msg/debug.o: ltcompile msg/debug.c msg/msg.h msg/debug.h
	./ltcompile msg/debug.c

msg/debug_bits.lo msg/debug_bits.o: ltcompile msg/debug_bits.c msg/msg.h msg/debug.h
	./ltcompile msg/debug_bits.c

msg/debug_init.lo msg/debug_init.o: ltcompile msg/debug_init.c msg/msg.h msg/debug.h
	./ltcompile msg/debug_init.c

msg/debugf.lo msg/debugf.o: ltcompile msg/debugf.c msg/msg.h msg/debug.h
	./ltcompile msg/debugf.c

msg/die.lo msg/die.o: ltcompile msg/die.c msg/msg.h msg/debug.h
	./ltcompile msg/die.c

msg/dief.lo msg/dief.o: ltcompile msg/dief.c msg/msg.h msg/debug.h
	./ltcompile msg/dief.c

msg/error.lo msg/error.o: ltcompile msg/error.c msg/msg.h msg/debug.h
	./ltcompile msg/error.c

msg/errorf.lo msg/errorf.o: ltcompile msg/errorf.c msg/msg.h msg/debug.h
	./ltcompile msg/errorf.c

msg/oom.lo msg/oom.o: ltcompile msg/oom.c msg/msg.h msg/debug.h
	./ltcompile msg/oom.c

msg/show_pid.lo msg/show_pid.o: ltcompile msg/show_pid.c msg/msg.h msg/debug.h
	./ltcompile msg/show_pid.c

msg/warn.lo msg/warn.o: ltcompile msg/warn.c msg/msg.h msg/debug.h
	./ltcompile msg/warn.c

msg/warnf.lo msg/warnf.o: ltcompile msg/warnf.c msg/msg.h msg/debug.h
	./ltcompile msg/warnf.c

msg/wrap_alloc.lo msg/wrap_alloc.o: ltcompile msg/wrap_alloc.c msg/msg.h msg/debug.h msg/wrap.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h str/str.h
	./ltcompile msg/wrap_alloc.c

msg/wrap_chdir.lo msg/wrap_chdir.o: ltcompile msg/wrap_chdir.c msg/msg.h msg/debug.h msg/wrap.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h str/str.h
	./ltcompile msg/wrap_chdir.c

msg/wrap_exit.lo msg/wrap_exit.o: ltcompile msg/wrap_exit.c msg/msg.h msg/debug.h msg/wrap.h
	./ltcompile msg/wrap_exit.c

msg/wrap_str.lo msg/wrap_str.o: ltcompile msg/wrap_str.c msg/msg.h msg/debug.h msg/wrap.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h str/str.h
	./ltcompile msg/wrap_str.c

net.lib: compile load
	@echo -n 'Checking for -lnet: '
	@echo 'main() { ; }' >trylib-lnet.c
	@{ ./compile trylib-lnet.c && ./load trylib-lnet -lnet; } >/dev/null 2>&1 \
	  && { echo -lnet >net.lib; echo yes; } \
	  || { echo -n >net.lib; echo no; }
	@rm -f trylib-lnet.c trylib-lnet.o trylib-lnet

net/accept4.lo net/accept4.o: ltcompile net/accept4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/accept4.c

net/accept6.lo net/accept6.o: ltcompile net/accept6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/accept6.c

net/acceptu.lo net/acceptu.o: ltcompile net/acceptu.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/acceptu.c

net/bind4.lo net/bind4.o: ltcompile net/bind4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/bind4.c

net/bind6.lo net/bind6.o: ltcompile net/bind6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/bind6.c

net/bindu.lo net/bindu.o: ltcompile net/bindu.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/bindu.c

net/broadcast.lo net/broadcast.o: ltcompile net/broadcast.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/broadcast.c

net/connect4.lo net/connect4.o: ltcompile net/connect4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile net/connect4.c

net/connect4_timeout.lo net/connect4_timeout.o: ltcompile net/connect4_timeout.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h unix/nonblock.h
	./ltcompile net/connect4_timeout.c

net/connect6.lo net/connect6.o: ltcompile net/connect6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/connect6.c

net/connect6_timeout.lo net/connect6_timeout.o: ltcompile net/connect6_timeout.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h unix/nonblock.h
	./ltcompile net/connect6_timeout.c

net/connected.lo net/connected.o: ltcompile net/connected.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/connected.c

net/connectu.lo net/connectu.o: ltcompile net/connectu.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/connectu.c

net/connectu_timeout.lo net/connectu_timeout.o: ltcompile net/connectu_timeout.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h unix/nonblock.h
	./ltcompile net/connectu_timeout.c

net/cork.lo net/cork.o: ltcompile net/cork.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/cork.c

net/getaddr4.lo net/getaddr4.o: ltcompile net/getaddr4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/getaddr4.c

net/getaddr6.lo net/getaddr6.o: ltcompile net/getaddr6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/getaddr6.c

net/ipv4_addr.lo net/ipv4_addr.o: ltcompile net/ipv4_addr.c net/ipv4.h sysdeps.h
	./ltcompile net/ipv4_addr.c

net/ipv4_format.lo net/ipv4_format.o: ltcompile net/ipv4_format.c net/ipv4.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile net/ipv4_format.c

net/ipv4_scan.lo net/ipv4_scan.o: ltcompile net/ipv4_scan.c net/ipv4.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile net/ipv4_scan.c

net/ipv6_addr.lo net/ipv6_addr.o: ltcompile net/ipv6_addr.c net/ipv6.h sysdeps.h
	./ltcompile net/ipv6_addr.c

net/ipv6_format.lo net/ipv6_format.o: ltcompile net/ipv6_format.c net/ipv6.h sysdeps.h net/ipv4.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile net/ipv6_format.c

net/ipv6_scan.lo net/ipv6_scan.o: ltcompile net/ipv6_scan.c net/ipv6.h sysdeps.h net/ipv4.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile net/ipv6_scan.c

net/linger.lo net/linger.o: ltcompile net/linger.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/linger.c

net/listen.lo net/listen.o: ltcompile net/listen.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/listen.c

net/notcpdelay.lo net/notcpdelay.o: ltcompile net/notcpdelay.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/notcpdelay.c

net/pairdgm.lo net/pairdgm.o: ltcompile net/pairdgm.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/pairdgm.c

net/pairstr.lo net/pairstr.o: ltcompile net/pairstr.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/pairstr.c

net/recv4.lo net/recv4.o: ltcompile net/recv4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/recv4.c

net/recv6.lo net/recv6.o: ltcompile net/recv6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/recv6.c

net/recvfd.lo net/recvfd.o: ltcompile net/recvfd.c net/cmsg.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/recvfd.c

net/recvu.lo net/recvu.o: ltcompile net/recvu.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/recvu.c

net/resolve_error.lo net/resolve_error.o: ltcompile net/resolve_error.c net/resolve.h net/ipv4.h sysdeps.h
	./ltcompile net/resolve_error.c

net/resolve_ipv4addr.lo net/resolve_ipv4addr.o: ltcompile net/resolve_ipv4addr.c net/resolve.h net/ipv4.h sysdeps.h
	./ltcompile net/resolve_ipv4addr.c

net/resolve_ipv4name.lo net/resolve_ipv4name.o: ltcompile net/resolve_ipv4name.c net/resolve.h net/ipv4.h sysdeps.h
	./ltcompile net/resolve_ipv4name.c

net/reuse.lo net/reuse.o: ltcompile net/reuse.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/reuse.c

net/send4.lo net/send4.o: ltcompile net/send4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/send4.c

net/send6.lo net/send6.o: ltcompile net/send6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/send6.c

net/sendfd.lo net/sendfd.o: ltcompile net/sendfd.c net/cmsg.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/sendfd.c

net/sendu.lo net/sendu.o: ltcompile net/sendu.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/sendu.c

net/shutdown.lo net/shutdown.o: ltcompile net/shutdown.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/shutdown.c

net/tcp4.lo net/tcp4.o: ltcompile net/tcp4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile net/tcp4.c

net/tcp6.lo net/tcp6.o: ltcompile net/tcp6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/tcp6.c

net/udp4.lo net/udp4.o: ltcompile net/udp4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/udp4.c

net/udp6.lo net/udp6.o: ltcompile net/udp6.c sysdeps.h net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/udp6.c

net/uncork.lo net/uncork.o: ltcompile net/uncork.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/uncork.c

net/unixdgm.lo net/unixdgm.o: ltcompile net/unixdgm.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/unixdgm.c

net/unixstr.lo net/unixstr.o: ltcompile net/unixstr.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h
	./ltcompile net/unixstr.c

path/contains.lo path/contains.o: ltcompile path/contains.c path/path.h str/str.h
	./ltcompile path/contains.c

path/fnmatch.lo path/fnmatch.o: ltcompile path/fnmatch.c path/path.h str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile path/fnmatch.c

path/match.lo path/match.o: ltcompile path/match.c sysdeps.h str/str.h str/iter.h path/path.h msg/msg.h msg/debug.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h
	./ltcompile path/match.c

path/merge.lo path/merge.o: ltcompile path/merge.c path/path.h str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile path/merge.c

path/mkdirs.lo path/mkdirs.o: ltcompile path/mkdirs.c sysdeps.h path/path.h str/str.h
	./ltcompile path/mkdirs.c

path/mktemp.lo path/mktemp.o: ltcompile path/mktemp.c systime.h path/path.h str/str.h
	./ltcompile path/mktemp.c

perl-head.pl: 
	( set -e; PATH="/bin:/usr/bin:/usr/local/bin:$$PATH"; export PATH; \
	  perl=`which perl`; \
	  echo "#! $$perl"; \
	  echo "# WARNING: This file was auto-generated. Do not edit!"; \
	  echo ) >perl-head.pl

pwcmp/client.lo pwcmp/client.o: ltcompile pwcmp/client.c sysdeps.h pwcmp/client.h
	./ltcompile pwcmp/client.c

pwcmp/hex_encode.lo pwcmp/hex_encode.o: ltcompile pwcmp/hex_encode.c pwcmp/hex.h
	./ltcompile pwcmp/hex_encode.c

pwcmp/module.lo pwcmp/module.o: ltcompile pwcmp/module.c pwcmp/module.h
	./ltcompile pwcmp/module.c

rt.lib: compile load
	@echo -n 'Checking for -lrt: '
	@echo 'main() { ; }' >trylib-lrt.c
	@{ ./compile trylib-lrt.c && ./load trylib-lrt -lrt; } >/dev/null 2>&1 \
	  && { echo -lrt >rt.lib; echo yes; } \
	  || { echo -n >rt.lib; echo no; }
	@rm -f trylib-lrt.c trylib-lrt.o trylib-lrt

s.lib: compile load
	@echo -n 'Checking for -ls: '
	@echo 'main() { ; }' >trylib-ls.c
	@{ ./compile trylib-ls.c && ./load trylib-ls -ls; } >/dev/null 2>&1 \
	  && { echo -ls >s.lib; echo yes; } \
	  || { echo -n >s.lib; echo no; }
	@rm -f trylib-ls.c trylib-ls.o trylib-ls

selftests: selftests.sh sysdeps.h libbg-sysdeps.la libbg.la
	sh selftests.sh

shadow.lib: compile load
	@echo -n 'Checking for -lshadow: '
	@echo 'main() { ; }' >trylib-lshadow.c
	@{ ./compile trylib-lshadow.c && ./load trylib-lshadow -lshadow; } >/dev/null 2>&1 \
	  && { echo -lshadow >shadow.lib; echo yes; } \
	  || { echo -n >shadow.lib; echo no; }
	@rm -f trylib-lshadow.c trylib-lshadow.o trylib-lshadow

socket.lib: compile load
	@echo -n 'Checking for socket libraries: '
	@echo 'main() { ; }' >trylib-lsocket.c
	@{ ./compile trylib-lsocket.c && ./load trylib-lsocket -lsocket -lnsl; } >/dev/null 2>&1 \
	  && { echo -lsocket -lnsl >socket.lib; echo -lsocket -lnsl; } \
	  || { : >socket.lib; echo no; }
	@rm -f trylib-lsocket.c trylib-lsocket.o trylib-lsocket

str/alloc.lo str/alloc.o: ltcompile str/alloc.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/alloc.c

str/buildmap.lo str/buildmap.o: ltcompile str/buildmap.c str/str.h
	./ltcompile str/buildmap.c

str/case_glob.lo str/case_glob.o: ltcompile str/case_glob.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/case_glob.c

str/case_match.lo str/case_match.o: ltcompile str/case_match.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/case_match.c

str/case_start.lo str/case_start.o: ltcompile str/case_start.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/case_start.c

str/cat.lo str/cat.o: ltcompile str/cat.c str/str.h
	./ltcompile str/cat.c

str/cat2s.lo str/cat2s.o: ltcompile str/cat2s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/cat2s.c

str/cat3s.lo str/cat3s.o: ltcompile str/cat3s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/cat3s.c

str/cat4s.lo str/cat4s.o: ltcompile str/cat4s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/cat4s.c

str/cat5s.lo str/cat5s.o: ltcompile str/cat5s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/cat5s.c

str/cat6s.lo str/cat6s.o: ltcompile str/cat6s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/cat6s.c

str/catf.lo str/catf.o: ltcompile str/catf.c str/str.h fmt/multi.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/catf.c

str/catiw.lo str/catiw.o: ltcompile str/catiw.c str/str.h
	./ltcompile str/catiw.c

str/catiwll.lo str/catiwll.o: ltcompile str/catiwll.c str/str.h
	./ltcompile str/catiwll.c

str/catns.lo str/catns.o: ltcompile str/catns.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/catns.c

str/catsllnum.lo str/catsllnum.o: ltcompile str/catsllnum.c str/str.h
	./ltcompile str/catsllnum.c

str/catsnum.lo str/catsnum.o: ltcompile str/catsnum.c str/str.h
	./ltcompile str/catsnum.c

str/catullnum.lo str/catullnum.o: ltcompile str/catullnum.c str/str.h
	./ltcompile str/catullnum.c

str/catunum.lo str/catunum.o: ltcompile str/catunum.c str/str.h
	./ltcompile str/catunum.c

str/catuw.lo str/catuw.o: ltcompile str/catuw.c str/str.h
	./ltcompile str/catuw.c

str/catuwll.lo str/catuwll.o: ltcompile str/catuwll.c str/str.h
	./ltcompile str/catuwll.c

str/catxw.lo str/catxw.o: ltcompile str/catxw.c str/str.h
	./ltcompile str/catxw.c

str/catxwll.lo str/catxwll.o: ltcompile str/catxwll.c str/str.h
	./ltcompile str/catxwll.c

str/cmp.lo str/cmp.o: ltcompile str/cmp.c str/str.h
	./ltcompile str/cmp.c

str/copy.lo str/copy.o: ltcompile str/copy.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copy.c

str/copy2s.lo str/copy2s.o: ltcompile str/copy2s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copy2s.c

str/copy3s.lo str/copy3s.o: ltcompile str/copy3s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copy3s.c

str/copy4s.lo str/copy4s.o: ltcompile str/copy4s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copy4s.c

str/copy5s.lo str/copy5s.o: ltcompile str/copy5s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copy5s.c

str/copy6s.lo str/copy6s.o: ltcompile str/copy6s.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copy6s.c

str/copyf.lo str/copyf.o: ltcompile str/copyf.c str/str.h fmt/multi.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copyf.c

str/copyns.lo str/copyns.o: ltcompile str/copyns.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/copyns.c

str/count.lo str/count.o: ltcompile str/count.c str/str.h
	./ltcompile str/count.c

str/countof.lo str/countof.o: ltcompile str/countof.c str/str.h
	./ltcompile str/countof.c

str/cut.lo str/cut.o: ltcompile str/cut.c str/str.h
	./ltcompile str/cut.c

str/diff.lo str/diff.o: ltcompile str/diff.c str/str.h
	./ltcompile str/diff.c

str/digits.lo str/digits.o: ltcompile str/digits.c str/str.h
	./ltcompile str/digits.c

str/env_find.lo str/env_find.o: ltcompile str/env_find.c str/str.h str/iter.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_find.c

str/env_from_array.lo str/env_from_array.o: ltcompile str/env_from_array.c str/str.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_from_array.c

str/env_from_string.lo str/env_from_string.o: ltcompile str/env_from_string.c str/str.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_from_string.c

str/env_get.lo str/env_get.o: ltcompile str/env_get.c str/str.h str/iter.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_get.c

str/env_make_array.lo str/env_make_array.o: ltcompile str/env_make_array.c str/str.h str/iter.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_make_array.c

str/env_put.lo str/env_put.o: ltcompile str/env_put.c str/str.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_put.c

str/env_set.lo str/env_set.o: ltcompile str/env_set.c str/str.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_set.c

str/env_unset.lo str/env_unset.o: ltcompile str/env_unset.c str/str.h str/env.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/env_unset.c

str/findnext.lo str/findnext.o: ltcompile str/findnext.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/findnext.c

str/findnextof.lo str/findnextof.o: ltcompile str/findnextof.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/findnextof.c

str/findprev.lo str/findprev.o: ltcompile str/findprev.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/findprev.c

str/findprevof.lo str/findprevof.o: ltcompile str/findprevof.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/findprevof.c

str/free.lo str/free.o: ltcompile str/free.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/free.c

str/glob.lo str/glob.o: ltcompile str/glob.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/glob.c

str/init.lo str/init.o: ltcompile str/init.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/init.c

str/iter_advance.lo str/iter_advance.o: ltcompile str/iter_advance.c str/iter.h str/str.h
	./ltcompile str/iter_advance.c

str/iter_start.lo str/iter_start.o: ltcompile str/iter_start.c str/iter.h str/str.h
	./ltcompile str/iter_start.c

str/iter_valid.lo str/iter_valid.o: ltcompile str/iter_valid.c str/iter.h str/str.h
	./ltcompile str/iter_valid.c

str/join.lo str/join.o: ltcompile str/join.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/join.c

str/lower.lo str/lower.o: ltcompile str/lower.c str/str.h
	./ltcompile str/lower.c

str/lstrip.lo str/lstrip.o: ltcompile str/lstrip.c str/str.h
	./ltcompile str/lstrip.c

str/match.lo str/match.o: ltcompile str/match.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/match.c

str/rstrip.lo str/rstrip.o: ltcompile str/rstrip.c str/str.h
	./ltcompile str/rstrip.c

str/sort.lo str/sort.o: ltcompile str/sort.c str/str.h
	./ltcompile str/sort.c

str/splice.lo str/splice.o: ltcompile str/splice.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/splice.c

str/start.lo str/start.o: ltcompile str/start.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/start.c

str/subst.lo str/subst.o: ltcompile str/subst.c str/str.h
	./ltcompile str/subst.c

str/truncate.lo str/truncate.o: ltcompile str/truncate.c str/str.h
	./ltcompile str/truncate.c

str/upper.lo str/upper.o: ltcompile str/upper.c str/str.h
	./ltcompile str/upper.c

str/xlate.lo str/xlate.o: ltcompile str/xlate.c str/str.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h
	./ltcompile str/xlate.c

sys/clock_gettime.lo sys/clock_gettime.o: ltcompile sys/clock_gettime.c sysdeps.h
	./ltcompile sys/clock_gettime.c

sys/getpeereid.lo sys/getpeereid.o: ltcompile sys/getpeereid.c sysdeps.h
	./ltcompile sys/getpeereid.c

sys/iopoll.lo sys/iopoll.o: ltcompile sys/iopoll.c sysdeps.h
	./ltcompile sys/iopoll.c

sys/setenv.lo sys/setenv.o: ltcompile sys/setenv.c sysdeps.h
	./ltcompile sys/setenv.c

sys/unsetenv.lo sys/unsetenv.o: ltcompile sys/unsetenv.c sysdeps.h
	./ltcompile sys/unsetenv.c

sysdeps.h: Makefile choose compile load sysdeps-head.h sysdeps-tail.h systime.h sys/tryattribute.c sys/hasattribute.h0 sys/hasattribute.h1 sys/tryclockgettime.c sys/hasclockgettime.h0 sys/hasclockgettime.h1 sys/trydaylight.c sys/hasdaylight.h0 sys/hasdaylight.h1 sys/trydeprecated.c sys/hasdeprecated.h0 sys/hasdeprecated.h1 sys/trydirent.c sys/hasdirent.h0 sys/hasdirent.h1 sys/trydirentino.c sys/hasdirentino.h0 sys/hasdirentino.h1 sys/trydirenttype.c sys/hasdirenttype.h0 sys/hasdirenttype.h1 sys/trydl.c sys/hasdl.h0 sys/hasdl.h1 sys/tryendian.c sys/hasendian.h0 sys/hasendian.h1 sys/tryflock.c sys/hasflock.h0 sys/hasflock.h1 sys/trygetpeereid.c sys/hasgetpeereid.h0 sys/hasgetpeereid.h1 sys/tryinline.c sys/hasinline.h0 sys/hasinline.h1 sys/tryipv6.c sys/hasipv6.h0 sys/hasipv6.h1 sys/trymkfifo.c sys/hasmkfifo.h0 sys/hasmkfifo.h1 sys/trynamedpipebug.c sys/hasnamedpipebug.h0 sys/hasnamedpipebug.h1 sys/trypeercred.c sys/haspeercred.h0 sys/haspeercred.h1 sys/trypoll.c sys/haspoll.h0 sys/haspoll.h1 sys/trysendfile.c sys/hassendfile.h0 sys/hassendfile.h1 sys/trysetenv.c sys/hassetenv.h0 sys/hassetenv.h1 sys/trysigaction.c sys/hassigaction.h0 sys/hassigaction.h1 sys/trysigprocmask.c sys/hassigprocmask.h0 sys/hassigprocmask.h1 sys/tryspnam.c sys/hasspnam.h0 sys/hasspnam.h1 sys/trysysselect.c sys/hassysselect.h0 sys/hassysselect.h1 sys/trytimespec.c sys/hastimespec.h0 sys/hastimespec.h1 sys/tryulong32.c sys/hasulong32.h0 sys/hasulong32.h1 sys/tryulong64.c sys/hasulong64.h0 sys/hasulong64.h1 sys/tryunaligned.c sys/hasunaligned.h0 sys/hasunaligned.h1 sys/tryunsetenv.c sys/hasunsetenv.h0 sys/hasunsetenv.h1 sys/tryuserpw.c sys/hasuserpw.h0 sys/hasuserpw.h1 sys/tryvfork.c sys/hasvfork.h0 sys/hasvfork.h1 sys/trywaitp.c sys/haswaitp.h0 sys/haswaitp.h1 sys/tryzlib.c sys/haszlib.h0 sys/haszlib.h1 systime.h dl.lib rt.lib
	( set -e; \
	  cat sysdeps-head.h; \
	  ./choose c   attribute; \
	  ./choose cl  daylight; \
	  ./choose c   deprecated; \
	  ./choose clr ulong32; \
	  ./choose clr ulong64; \
	  ./choose clr endian; \
	  ./choose c   dirent; \
	  ./choose c   direntino; \
	  ./choose c   direnttype; \
	  ./choose cl  dl `cat dl.lib`; \
	  ./choose c   ipv6; \
	  ./choose cl  vfork; \
	  ./choose cl  getpeereid; \
	  ./choose cl  flock; \
	  ./choose cl  peercred; \
	  ./choose cl  sendfile; \
	  ./choose cl  sigaction; \
	  ./choose cl  sigprocmask; \
	  ./choose cl  spnam; \
	  ./choose cl  userpw; \
	  ./choose cl  waitp; \
	  ./choose c   zlib; \
	  ./choose clr poll; \
	  ./choose c   sysselect; \
	  ./choose cl  setenv; \
	  ./choose c   timespec; \
	  ./choose cl  clockgettime `cat rt.lib`; \
	  ./choose cl  unsetenv; \
	  ./choose clr unaligned; \
	  ./choose cl  mkfifo; \
	  ./choose clr namedpipebug; \
	  ./choose c   inline; \
	  cat sysdeps-tail.h; \
	) >sysdeps.h

systime.h: compile sys/trysystime.c sys/trytime.c
	( ( ./compile sys/trysystime.c >/dev/null 2>&1 && \
	    echo '#include <sys/time.h>' ); \
	  ( ./compile sys/trytime.c >/dev/null 2>&1 && \
	    echo '#include <time.h>' ) ) >systime.h
	rm -f sys/trysystime.o sys/trytime.o

uint16/get.lo uint16/get.o: ltcompile uint16/get.c uint16.h sysdeps.h uintnn.h
	./ltcompile uint16/get.c

uint16/pack.lo uint16/pack.o: ltcompile uint16/pack.c uint16.h sysdeps.h uintnn.h
	./ltcompile uint16/pack.c

uint16/unpack.lo uint16/unpack.o: ltcompile uint16/unpack.c uint16.h sysdeps.h uintnn.h
	./ltcompile uint16/unpack.c

uint32/get_lsb.lo uint32/get_lsb.o: ltcompile uint32/get_lsb.c uint32.h sysdeps.h uintnn.h
	./ltcompile uint32/get_lsb.c

uint32/get_msb.lo uint32/get_msb.o: ltcompile uint32/get_msb.c uint32.h sysdeps.h uintnn.h
	./ltcompile uint32/get_msb.c

uint32/pack_lsb.lo uint32/pack_lsb.o: ltcompile uint32/pack_lsb.c uint32.h sysdeps.h uintnn.h
	./ltcompile uint32/pack_lsb.c

uint32/pack_msb.lo uint32/pack_msb.o: ltcompile uint32/pack_msb.c uint32.h sysdeps.h uintnn.h
	./ltcompile uint32/pack_msb.c

uint32/unpack_lsb.lo uint32/unpack_lsb.o: ltcompile uint32/unpack_lsb.c uint32.h sysdeps.h uintnn.h
	./ltcompile uint32/unpack_lsb.c

uint32/unpack_msb.lo uint32/unpack_msb.o: ltcompile uint32/unpack_msb.c uint32.h sysdeps.h uintnn.h
	./ltcompile uint32/unpack_msb.c

uint64/get_lsb.lo uint64/get_lsb.o: ltcompile uint64/get_lsb.c uint64.h sysdeps.h uintnn.h uint32.h sysdeps.h
	./ltcompile uint64/get_lsb.c

uint64/get_msb.lo uint64/get_msb.o: ltcompile uint64/get_msb.c uint64.h sysdeps.h uintnn.h uint32.h sysdeps.h
	./ltcompile uint64/get_msb.c

uint64/pack_lsb.lo uint64/pack_lsb.o: ltcompile uint64/pack_lsb.c uint64.h sysdeps.h uintnn.h uint32.h sysdeps.h
	./ltcompile uint64/pack_lsb.c

uint64/pack_msb.lo uint64/pack_msb.o: ltcompile uint64/pack_msb.c uint64.h sysdeps.h uintnn.h uint32.h sysdeps.h
	./ltcompile uint64/pack_msb.c

uint64/unpack_lsb.lo uint64/unpack_lsb.o: ltcompile uint64/unpack_lsb.c uint64.h sysdeps.h uintnn.h uint32.h sysdeps.h
	./ltcompile uint64/unpack_lsb.c

uint64/unpack_msb.lo uint64/unpack_msb.o: ltcompile uint64/unpack_msb.c uint64.h sysdeps.h uintnn.h uint32.h sysdeps.h
	./ltcompile uint64/unpack_msb.c

unix/cloexec_off.lo unix/cloexec_off.o: ltcompile unix/cloexec_off.c unix/fcntl.h unix/cloexec.h
	./ltcompile unix/cloexec_off.c

unix/cloexec_on.lo unix/cloexec_on.o: ltcompile unix/cloexec_on.c unix/fcntl.h unix/cloexec.h
	./ltcompile unix/cloexec_on.c

unix/fcntl_fd_off.lo unix/fcntl_fd_off.o: ltcompile unix/fcntl_fd_off.c unix/fcntl.h
	./ltcompile unix/fcntl_fd_off.c

unix/fcntl_fd_on.lo unix/fcntl_fd_on.o: ltcompile unix/fcntl_fd_on.c unix/fcntl.h
	./ltcompile unix/fcntl_fd_on.c

unix/fcntl_fl_off.lo unix/fcntl_fl_off.o: ltcompile unix/fcntl_fl_off.c unix/fcntl.h
	./ltcompile unix/fcntl_fl_off.c

unix/fcntl_fl_on.lo unix/fcntl_fl_on.o: ltcompile unix/fcntl_fl_on.c unix/fcntl.h
	./ltcompile unix/fcntl_fl_on.c

unix/nonblock_off.lo unix/nonblock_off.o: ltcompile unix/nonblock_off.c unix/fcntl.h unix/nonblock.h
	./ltcompile unix/nonblock_off.c

unix/nonblock_on.lo unix/nonblock_on.o: ltcompile unix/nonblock_on.c unix/fcntl.h unix/nonblock.h
	./ltcompile unix/nonblock_on.c

unix/selfpipe.lo unix/selfpipe.o: ltcompile unix/selfpipe.c sysdeps.h unix/cloexec.h unix/nonblock.h unix/sig.h unix/selfpipe.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile unix/selfpipe.c

unix/sig_alarm.lo unix/sig_alarm.o: ltcompile unix/sig_alarm.c unix/sig.h
	./ltcompile unix/sig_alarm.c

unix/sig_all.lo unix/sig_all.o: ltcompile unix/sig_all.c unix/sig.h sysdeps.h
	./ltcompile unix/sig_all.c

unix/sig_block.lo unix/sig_block.o: ltcompile unix/sig_block.c unix/sig.h sysdeps.h
	./ltcompile unix/sig_block.c

unix/sig_bug.lo unix/sig_bug.o: ltcompile unix/sig_bug.c unix/sig.h
	./ltcompile unix/sig_bug.c

unix/sig_catch.lo unix/sig_catch.o: ltcompile unix/sig_catch.c unix/sig.h sysdeps.h
	./ltcompile unix/sig_catch.c

unix/sig_child.lo unix/sig_child.o: ltcompile unix/sig_child.c unix/sig.h
	./ltcompile unix/sig_child.c

unix/sig_hup.lo unix/sig_hup.o: ltcompile unix/sig_hup.c unix/sig.h
	./ltcompile unix/sig_hup.c

unix/sig_int.lo unix/sig_int.o: ltcompile unix/sig_int.c unix/sig.h
	./ltcompile unix/sig_int.c

unix/sig_misc.lo unix/sig_misc.o: ltcompile unix/sig_misc.c unix/sig.h
	./ltcompile unix/sig_misc.c

unix/sig_pipe.lo unix/sig_pipe.o: ltcompile unix/sig_pipe.c unix/sig.h
	./ltcompile unix/sig_pipe.c

unix/sig_quit.lo unix/sig_quit.o: ltcompile unix/sig_quit.c unix/sig.h
	./ltcompile unix/sig_quit.c

unix/sig_suspend.lo unix/sig_suspend.o: ltcompile unix/sig_suspend.c unix/sig.h sysdeps.h
	./ltcompile unix/sig_suspend.c

unix/sig_term.lo unix/sig_term.o: ltcompile unix/sig_term.c unix/sig.h
	./ltcompile unix/sig_term.c

unix/signalfd.lo unix/signalfd.o: ltcompile unix/signalfd.c sysdeps.h unix/cloexec.h unix/nonblock.h unix/sig.h unix/signalfd.h selftest.c iobuf/iobuf.h iobuf/common.h iobuf/ibuf.h iobuf/obuf.h msg/msg.h msg/debug.h str/str.h
	./ltcompile unix/signalfd.c

unix/trigger_pull.lo unix/trigger_pull.o: ltcompile unix/trigger_pull.c sysdeps.h unix/fcntl.h unix/trigger.h sysdeps.h
	./ltcompile unix/trigger_pull.c

unix/trigger_set.lo unix/trigger_set.o: ltcompile unix/trigger_set.c sysdeps.h unix/fcntl.h unix/trigger.h sysdeps.h
	./ltcompile unix/trigger_set.c

vmailmgr/req_arg.lo vmailmgr/req_arg.o: ltcompile vmailmgr/req_arg.c vmailmgr/client.h str/str.h
	./ltcompile vmailmgr/req_arg.c

vmailmgr/req_init.lo vmailmgr/req_init.o: ltcompile vmailmgr/req_init.c vmailmgr/client.h str/str.h
	./ltcompile vmailmgr/req_init.c

vmailmgr/req_write.lo vmailmgr/req_write.o: ltcompile vmailmgr/req_write.c vmailmgr/client.h str/str.h
	./ltcompile vmailmgr/req_write.c

vmailmgr/resp_read.lo vmailmgr/resp_read.o: ltcompile vmailmgr/resp_read.c vmailmgr/client.h str/str.h
	./ltcompile vmailmgr/resp_read.c

vmailmgr/vpwentry_export.lo vmailmgr/vpwentry_export.o: ltcompile vmailmgr/vpwentry_export.c vmailmgr/vpwentry.h str/str.h
	./ltcompile vmailmgr/vpwentry_export.c

vmailmgr/vpwentry_free.lo vmailmgr/vpwentry_free.o: ltcompile vmailmgr/vpwentry_free.c vmailmgr/vpwentry.h str/str.h
	./ltcompile vmailmgr/vpwentry_free.c

vmailmgr/vpwentry_import.lo vmailmgr/vpwentry_import.o: ltcompile vmailmgr/vpwentry_import.c systime.h misc/misc.h sysdeps.h vmailmgr/vpwentry.h str/str.h
	./ltcompile vmailmgr/vpwentry_import.c

