SHELL	= /bin/sh
SRCS	= alldig.c allprint.c argv.c argv_split.c attr_clnt.c attr_print0.c \
	attr_print64.c attr_print_plain.c attr_scan0.c attr_scan64.c \
	attr_scan_plain.c auto_clnt.c base64_code.c basename.c binhash.c \
	chroot_uid.c cidr_match.c clean_env.c close_on_exec.c concatenate.c \
	ctable.c dict.c dict_alloc.c dict_cdb.c dict_cidr.c dict_db.c \
	dict_dbm.c dict_debug.c dict_env.c dict_ht.c dict_ni.c dict_nis.c \
	dict_nisplus.c dict_open.c dict_pcre.c dict_regexp.c dict_sdbm.c \
	dict_static.c dict_tcp.c dict_unix.c dir_forest.c doze.c dummy_read.c \
	dummy_write.c duplex_pipe.c environ.c events.c exec_command.c \
	fifo_listen.c fifo_trigger.c file_limit.c find_inet.c fsspace.c \
	fullname.c get_domainname.c get_hostname.c hex_code.c hex_quote.c \
	host_port.c htable.c inet_addr_host.c inet_addr_list.c \
	inet_addr_local.c inet_connect.c inet_listen.c inet_proto.c \
	inet_trigger.c line_wrap.c lowercase.c lstat_as.c mac_expand.c \
	mac_parse.c make_dirs.c mask_addr.c match_list.c match_ops.c msg.c \
	msg_output.c msg_syslog.c msg_vstream.c mvect.c myaddrinfo.c myflock.c \
	mymalloc.c myrand.c mystrtok.c name_code.c name_mask.c netstring.c \
	neuter.c non_blocking.c nvtable.c open_as.c open_limit.c open_lock.c \
	peekfd.c percentm.c posix_signals.c printable.c rand_sleep.c \
	read_wait.c readable.c readlline.c ring.c safe_getenv.c safe_open.c \
	sane_accept.c sane_connect.c sane_link.c sane_rename.c \
	sane_socketpair.c sane_time.c scan_dir.c set_eugid.c set_ugid.c \
	sigdelay.c skipblanks.c sock_addr.c spawn_command.c split_at.c \
	split_nameval.c stat_as.c strcasecmp.c stream_connect.c \
	stream_listen.c stream_recv_fd.c stream_send_fd.c stream_trigger.c \
	sys_compat.c timed_connect.c timed_read.c timed_wait.c timed_write.c \
	translit.c trimblanks.c unescape.c unix_connect.c unix_listen.c \
	unix_recv_fd.c unix_send_fd.c unix_trigger.c unsafe.c uppercase.c \
	username.c valid_hostname.c vbuf.c vbuf_print.c vstream.c \
	vstream_popen.c vstring.c vstring_vstream.c watchdog.c writable.c \
	write_buf.c write_wait.c sane_basename.c format_tv.c allspace.c \
	allascii.c load_file.c killme_after.c vstream_tweak.c upass_connect.c \
	upass_listen.c upass_trigger.c edit_file.c inet_windowsize.c \
	unix_pass_fd_fix.c dict_cache.c valid_utf_8.c dict_thash.c
OBJS	= alldig.o allprint.o argv.o argv_split.o attr_clnt.o attr_print0.o \
	attr_print64.o attr_print_plain.o attr_scan0.o attr_scan64.o \
	attr_scan_plain.o auto_clnt.o base64_code.o basename.o binhash.o \
	chroot_uid.o cidr_match.o clean_env.o close_on_exec.o concatenate.o \
	ctable.o dict.o dict_alloc.o dict_cdb.o dict_cidr.o dict_db.o \
	dict_dbm.o dict_debug.o dict_env.o dict_ht.o dict_ni.o dict_nis.o \
	dict_nisplus.o dict_open.o dict_pcre.o dict_regexp.o dict_sdbm.o \
	dict_static.o dict_tcp.o dict_unix.o dir_forest.o doze.o dummy_read.o \
	dummy_write.o duplex_pipe.o environ.o events.o exec_command.o \
	fifo_listen.o fifo_trigger.o file_limit.o find_inet.o fsspace.o \
	fullname.o get_domainname.o get_hostname.o hex_code.o hex_quote.o \
	host_port.o htable.o inet_addr_host.o inet_addr_list.o \
	inet_addr_local.o inet_connect.o inet_listen.o inet_proto.o \
	inet_trigger.o line_wrap.o lowercase.o lstat_as.o mac_expand.o \
	mac_parse.o make_dirs.o mask_addr.o match_list.o match_ops.o msg.o \
	msg_output.o msg_syslog.o msg_vstream.o mvect.o myaddrinfo.o myflock.o \
	mymalloc.o myrand.o mystrtok.o name_code.o name_mask.o netstring.o \
	neuter.o non_blocking.o nvtable.o open_as.o open_limit.o open_lock.o \
	peekfd.o percentm.o posix_signals.o printable.o rand_sleep.o \
	read_wait.o readable.o readlline.o ring.o safe_getenv.o safe_open.o \
	sane_accept.o sane_connect.o sane_link.o sane_rename.o \
	sane_socketpair.o sane_time.o scan_dir.o set_eugid.o set_ugid.o \
	sigdelay.o skipblanks.o sock_addr.o spawn_command.o split_at.o \
	split_nameval.o stat_as.o $(STRCASE) stream_connect.o \
	stream_listen.o stream_recv_fd.o stream_send_fd.o stream_trigger.o \
	sys_compat.o timed_connect.o timed_read.o timed_wait.o timed_write.o \
	translit.o trimblanks.o unescape.o unix_connect.o unix_listen.o \
	unix_recv_fd.o unix_send_fd.o unix_trigger.o unsafe.o uppercase.o \
	username.o valid_hostname.o vbuf.o vbuf_print.o vstream.o \
	vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o \
	write_buf.o write_wait.o sane_basename.o format_tv.o allspace.o \
	allascii.o load_file.o killme_after.o vstream_tweak.o upass_connect.o \
	upass_listen.o upass_trigger.o edit_file.o inet_windowsize.o \
	unix_pass_fd_fix.o dict_cache.o valid_utf_8.o dict_thash.o
HDRS	= argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h \
	chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h \
	dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h \
	dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h \
	dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h \
	events.h exec_command.h find_inet.h fsspace.h fullname.h \
	get_domainname.h get_hostname.h hex_code.h hex_quote.h host_port.h \
	htable.h inet_addr_host.h inet_addr_list.h inet_addr_local.h \
	inet_proto.h iostuff.h line_wrap.h listen.h lstat_as.h mac_expand.h \
	mac_parse.h make_dirs.h mask_addr.h match_list.h match_ops.h msg.h \
	msg_output.h msg_syslog.h msg_vstream.h mvect.h myaddrinfo.h myflock.h \
	mymalloc.h myrand.h name_code.h name_mask.h netstring.h nvtable.h \
	open_as.h open_lock.h percentm.h posix_signals.h readlline.h ring.h \
	safe.h safe_open.h sane_accept.h sane_connect.h sane_fsops.h \
	sane_socketpair.h sane_time.h scan_dir.h set_eugid.h set_ugid.h \
	sigdelay.h sock_addr.h spawn_command.h split_at.h stat_as.h \
	stringops.h sys_defs.h timed_connect.h timed_wait.h trigger.h \
	username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h vstring.h \
	vstring_vstream.h watchdog.h format_tv.h load_file.h killme_after.h \
	edit_file.h dict_cache.h dict_thash.h
TESTSRC	= fifo_open.c fifo_rdwr_bug.c fifo_rdonly_bug.c select_bug.c \
	stream_test.c dup2_pass_on_exec.c test_send_fd test_recv_fd
DEFS	= -I. -D$(SYSTYPE)
CFLAGS	= $(DEBUG) $(OPT) $(DEFS)
FILES	= Makefile $(SRCS) $(HDRS)
INCL	=
LIB	= libutil.a
TESTPROG= dict_open dup2_pass_on_exec events exec_command fifo_open \
	fifo_rdonly_bug fifo_rdwr_bug fifo_trigger fsspace fullname \
	inet_addr_host inet_addr_local mac_parse make_dirs msg_syslog \
	mystrtok sigdelay translit valid_hostname vstream_popen \
	vstring vstring_vstream doze select_bug stream_test mac_expand \
	watchdog unescape hex_quote name_mask rand_sleep sane_time ctable \
	inet_addr_list attr_print64 attr_scan64 base64_code attr_print0 \
	attr_scan0 host_port attr_scan_plain attr_print_plain htable \
	unix_recv_fd unix_send_fd stream_recv_fd stream_send_fd hex_code \
	myaddrinfo myaddrinfo4 inet_proto sane_basename format_tv \
	test_send_fd test_recv_fd valid_utf_8

LIB_DIR	= ../../lib
INC_DIR	= ../../include

.c.o:;	$(CC) $(CFLAGS) -c $*.c

all: $(LIB)

$(OBJS): ../../conf/makedefs.out

Makefile: Makefile.in
	cat ../../conf/makedefs.out $? >$@

test:	$(TESTPROG)

$(LIB):	$(OBJS)
	$(AR) $(ARFL) $(LIB) $?
	$(RANLIB) $(LIB)

$(LIB_DIR)/$(LIB): $(LIB)
	cp $(LIB) $(LIB_DIR)
	$(RANLIB) $(LIB_DIR)/$(LIB)

update: $(LIB_DIR)/$(LIB) $(HDRS)
	-for i in $(HDRS); \
	do \
	  cmp -s $$i $(INC_DIR)/$$i 2>/dev/null || cp $$i $(INC_DIR); \
	done
	cd $(INC_DIR); chmod 644 $(HDRS)

printfck: $(OBJS) $(PROG)
	rm -rf printfck
	mkdir printfck
	cp *.h printfck
	sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
	set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
	cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`

shar:
	@shar $(FILES)

lint:
	lint $(SRCS)

clean:
	rm -f *.o $(LIB) *core $(TESTPROG) junk $(MAKES) *.tmp
	rm -rf printfck

tidy:	clean

dup2_pass_on_exec: dup2_pass_on_exec.c
	$(CC) $(CFLAGS) -o $@ $@.c $(SYSLIBS)

vstring: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

msg_syslog: msg_syslog.c $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

vstring_vstream: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

valid_hostname: valid_hostname.c $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

events: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

dict_open: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

fullname: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

inet_addr_local: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

inet_addr_host: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

fifo_open: fifo_open.c
	$(CC) $(CFLAGS) -o $@ $@.c $(SYSLIBS)

sigdelay: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

mystrtok: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

fifo_rdwr_bug: fifo_rdwr_bug.c $(LIB)
	$(CC) $(CFLAGS)  -o $@ $@.c $(LIB) $(SYSLIBS)

fifo_rdonly_bug: fifo_rdonly_bug.c $(LIB)
	$(CC) $(CFLAGS)  -o $@ $@.c $(LIB) $(SYSLIBS)

select_bug: select_bug.c $(LIB)
	$(CC) $(CFLAGS)  -o $@ $@.c $(LIB) $(SYSLIBS)

translit: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

fsspace: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

exec_command: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

make_dirs: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

mac_parse: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

vstream_popen: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

fifo_trigger: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

doze: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

mac_expand: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

watchdog: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

unescape: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

hex_quote: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

name_mask: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

rand_sleep: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

sane_time: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

ctable: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

inet_addr_list: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

attr_print64: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

attr_scan64: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

base64_code: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

attr_print0: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

attr_scan0: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

host_port: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

attr_scan_plain: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

attr_print_plain: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

htable: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

unix_recv_fd:  $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

unix_send_fd:  $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

stream_recv_fd:  $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

stream_send_fd:  $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

hex_code: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

myaddrinfo: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

myaddrinfo4: $(LIB)
	mv myaddrinfo.o junk
	$(CC) $(CFLAGS) -DTEST -DEMULATE_IPV4_ADDRINFO -o $@ myaddrinfo.c $(LIB) $(SYSLIBS)
	mv junk myaddrinfo.o

inet_proto: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

sane_basename: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

stream_test: stream_test.c $(LIB)
	$(CC) $(CFLAGS)  -o $@ $@.c $(LIB) $(SYSLIBS)

gcctest: gccw.c gccw.ref
	rm -f gccw.o
	make gccw.o 2>&1 | sed "s/\`/'/g; s/return-/return /" | sort >gccw.tmp
	diff gccw.ref gccw.tmp
	rm -f gccw.o gccw.tmp

format_tv: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

valid_utf_8: $(LIB)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(SYSLIBS)
	mv junk $@.o

tests: valid_hostname_test mac_expand_test dict_test unescape_test \
	hex_quote_test ctable_test inet_addr_list_test base64_code_test \
	attr_scan64_test attr_scan0_test dict_pcre_test host_port_test \
	dict_cidr_test attr_scan_plain_test htable_test hex_code_test \
	myaddrinfo_test format_tv_test

root_tests:

valid_hostname_test: valid_hostname valid_hostname.in valid_hostname.ref
	./valid_hostname <valid_hostname.in 2>valid_hostname.tmp
	diff valid_hostname.ref valid_hostname.tmp
	rm -f valid_hostname.tmp

mac_expand_test: mac_expand mac_expand.in mac_expand.ref
	./mac_expand <mac_expand.in >mac_expand.tmp 2>&1
	diff mac_expand.ref mac_expand.tmp
	rm -f mac_expand.tmp

unescape_test: unescape unescape.in unescape.ref
	./unescape <unescape.in | od -cb >unescape.tmp
	diff -b unescape.ref unescape.tmp
	rm -f unescape.tmp

hex_quote_test: hex_quote
	./hex_quote <hex_quote.c | od -cb >hex_quote.tmp
	od -cb <hex_quote.c >hex_quote.ref
	cmp hex_quote.ref hex_quote.tmp
	rm -f hex_quote.ref hex_quote.tmp

ctable_test: ctable
	./ctable <ctable.in >ctable.tmp 2>&1
	diff ctable.ref ctable.tmp
	rm -f ctable.tmp

# On Linux, following test may require "modprobe ipv6" to enable IPv6.

inet_addr_list_test: inet_addr_list
	./inet_addr_list `cat inet_addr_list.in` >inet_addr_list.tmp 2>&1
	diff inet_addr_list.ref inet_addr_list.tmp
	rm -f inet_addr_list.tmp

sane_basename_test: sane_basename
	./sane_basename <sane_basename.in >sane_basename.tmp 2>&1
	diff sane_basename.ref sane_basename.tmp
	rm -f sane_basename.tmp

base64_code_test: base64_code
	./base64_code

attr_scan64_test: attr_print64 attr_scan64 attr_scan64.ref
	(./attr_print64 2>&3 | (sleep 1; ./attr_scan64)) >attr_scan64.tmp 2>&1 3>&1
	diff attr_scan64.ref attr_scan64.tmp
	rm -f attr_scan64.tmp

attr_scan0_test: attr_print0 attr_scan0 attr_scan0.ref
	(./attr_print0 2>&3 | (sleep 1; ./attr_scan0)) >attr_scan0.tmp 2>&1 3>&1
	diff attr_scan0.ref attr_scan0.tmp
	rm -f attr_scan0.tmp

dict_test: dict_open testdb dict_test.in dict_test.ref
	rm -f testdb.db testdb.dir testdb.pag
	../postmap/postmap -N hash:testdb
	./dict_open hash:testdb write < dict_test.in > dict_test.tmp 2>&1
	diff dict_test.ref dict_test.tmp
	../postmap/postmap -n hash:testdb
	./dict_open hash:testdb write < dict_test.in > dict_test.tmp 2>&1
	diff dict_test.ref dict_test.tmp
	rm -f testdb.db testdb.dir testdb.pag dict_test.tmp

dict_pcre_test: dict_open dict_pcre.in dict_pcre.map dict_pcre.ref
	./dict_open pcre:dict_pcre.map read <dict_pcre.in >dict_pcre.tmp 2>&1
	diff dict_pcre.ref dict_pcre.tmp
	rm -f dict_pcre.tmp

dict_regexp_test: dict_open dict_regexp.in dict_regexp.map dict_regexp.ref
	./dict_open regexp:dict_regexp.map read <dict_regexp.in >dict_regexp.tmp 2>&1
	diff dict_regexp.ref dict_regexp.tmp
	rm -f dict_regexp.tmp

dict_cidr_test: dict_open dict_cidr.in dict_cidr.map dict_cidr.ref
	./dict_open cidr:dict_cidr.map read <dict_cidr.in >dict_cidr.tmp 2>&1
	diff dict_cidr.ref dict_cidr.tmp
	rm -f dict_cidr.tmp

dict_seq_test: dict_open testdb dict_seq.in dict_seq.ref
	rm -f testdb.db testdb.dir testdb.pag
	./dict_open hash:testdb create sync < dict_seq.in > dict_seq.tmp 2>&1
	diff dict_seq.ref dict_seq.tmp
	rm -f testdb.db testdb.dir testdb.pag dict_seq.tmp

host_port_test: host_port host_port.in host_port.ref
	./host_port <host_port.in >host_port.tmp 2>&1
	diff host_port.ref host_port.tmp
	rm -f host_port.tmp

attr_scan_plain_test: attr_print_plain attr_scan_plain attr_scan_plain.ref
	(./attr_print_plain 2>&3 | (sleep 1; ./attr_scan_plain)) >attr_scan_plain.tmp 2>&1 3>&1
	diff attr_scan_plain.ref attr_scan_plain.tmp
	rm -f attr_scan_plain.tmp

htable_test: htable /usr/share/dict/words
	./htable < /usr/share/dict/words

hex_code_test: hex_code
	./hex_code

myaddrinfo_test: myaddrinfo myaddrinfo.ref myaddrinfo.ref2
	./myaddrinfo all belly.porcupine.org 168.100.189.2 >myaddrinfo.tmp 2>&1
	diff myaddrinfo.ref myaddrinfo.tmp
	rm -f myaddrinfo.tmp
	./myaddrinfo all null.porcupine.org 10.0.0.0 >myaddrinfo.tmp 2>&1
	diff myaddrinfo.ref2 myaddrinfo.tmp
	rm -f myaddrinfo.tmp

myaddrinfo4_test: myaddrinfo4 myaddrinfo4.ref myaddrinfo4.ref2
	./myaddrinfo4 all belly.porcupine.org 168.100.189.2 >myaddrinfo4.tmp 2>&1
	diff myaddrinfo4.ref myaddrinfo4.tmp
	./myaddrinfo4 all null.porcupine.org 10.0.0.0 >myaddrinfo4.tmp 2>&1
	diff myaddrinfo4.ref2 myaddrinfo4.tmp
	rm -f myaddrinfo4.tmp

format_tv_test: format_tv format_tv.in format_tv.ref
	./format_tv <format_tv.in >format_tv.tmp
	diff format_tv.ref format_tv.tmp
	rm -f format_tv.tmp

depend: $(MAKES)
	(sed '1,/^# do not edit/!d' Makefile.in; \
	set -e; for i in [a-z][a-z0-9]*.c; do \
	    $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
	    -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
	    -e 's/o: \.\//o: /' -e p -e '}' ; \
	done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
	@$(EXPORT) make -f Makefile.in Makefile 1>&2

# do not edit below this line - it is generated by 'make depend'
allascii.o: allascii.c
allascii.o: stringops.h
allascii.o: sys_defs.h
allascii.o: vbuf.h
allascii.o: vstring.h
alldig.o: alldig.c
alldig.o: stringops.h
alldig.o: sys_defs.h
alldig.o: vbuf.h
alldig.o: vstring.h
allprint.o: allprint.c
allprint.o: stringops.h
allprint.o: sys_defs.h
allprint.o: vbuf.h
allprint.o: vstring.h
allspace.o: allspace.c
allspace.o: stringops.h
allspace.o: sys_defs.h
allspace.o: vbuf.h
allspace.o: vstring.h
argv.o: argv.c
argv.o: argv.h
argv.o: msg.h
argv.o: mymalloc.h
argv.o: sys_defs.h
argv_split.o: argv.h
argv_split.o: argv_split.c
argv_split.o: msg.h
argv_split.o: mymalloc.h
argv_split.o: stringops.h
argv_split.o: sys_defs.h
argv_split.o: vbuf.h
argv_split.o: vstring.h
attr_clnt.o: attr.h
attr_clnt.o: attr_clnt.c
attr_clnt.o: attr_clnt.h
attr_clnt.o: auto_clnt.h
attr_clnt.o: htable.h
attr_clnt.o: iostuff.h
attr_clnt.o: msg.h
attr_clnt.o: mymalloc.h
attr_clnt.o: sys_defs.h
attr_clnt.o: vbuf.h
attr_clnt.o: vstream.h
attr_print0.o: attr.h
attr_print0.o: attr_print0.c
attr_print0.o: base64_code.h
attr_print0.o: htable.h
attr_print0.o: msg.h
attr_print0.o: mymalloc.h
attr_print0.o: sys_defs.h
attr_print0.o: vbuf.h
attr_print0.o: vstream.h
attr_print0.o: vstring.h
attr_print64.o: attr.h
attr_print64.o: attr_print64.c
attr_print64.o: base64_code.h
attr_print64.o: htable.h
attr_print64.o: msg.h
attr_print64.o: mymalloc.h
attr_print64.o: sys_defs.h
attr_print64.o: vbuf.h
attr_print64.o: vstream.h
attr_print64.o: vstring.h
attr_print_plain.o: attr.h
attr_print_plain.o: attr_print_plain.c
attr_print_plain.o: base64_code.h
attr_print_plain.o: htable.h
attr_print_plain.o: msg.h
attr_print_plain.o: mymalloc.h
attr_print_plain.o: sys_defs.h
attr_print_plain.o: vbuf.h
attr_print_plain.o: vstream.h
attr_print_plain.o: vstring.h
attr_scan0.o: attr.h
attr_scan0.o: attr_scan0.c
attr_scan0.o: base64_code.h
attr_scan0.o: htable.h
attr_scan0.o: msg.h
attr_scan0.o: mymalloc.h
attr_scan0.o: sys_defs.h
attr_scan0.o: vbuf.h
attr_scan0.o: vstream.h
attr_scan0.o: vstring.h
attr_scan0.o: vstring_vstream.h
attr_scan64.o: attr.h
attr_scan64.o: attr_scan64.c
attr_scan64.o: base64_code.h
attr_scan64.o: htable.h
attr_scan64.o: msg.h
attr_scan64.o: mymalloc.h
attr_scan64.o: sys_defs.h
attr_scan64.o: vbuf.h
attr_scan64.o: vstream.h
attr_scan64.o: vstring.h
attr_scan_plain.o: attr.h
attr_scan_plain.o: attr_scan_plain.c
attr_scan_plain.o: base64_code.h
attr_scan_plain.o: htable.h
attr_scan_plain.o: msg.h
attr_scan_plain.o: mymalloc.h
attr_scan_plain.o: sys_defs.h
attr_scan_plain.o: vbuf.h
attr_scan_plain.o: vstream.h
attr_scan_plain.o: vstring.h
auto_clnt.o: auto_clnt.c
auto_clnt.o: auto_clnt.h
auto_clnt.o: connect.h
auto_clnt.o: events.h
auto_clnt.o: iostuff.h
auto_clnt.o: msg.h
auto_clnt.o: mymalloc.h
auto_clnt.o: split_at.h
auto_clnt.o: sys_defs.h
auto_clnt.o: vbuf.h
auto_clnt.o: vstream.h
base64_code.o: base64_code.c
base64_code.o: base64_code.h
base64_code.o: msg.h
base64_code.o: mymalloc.h
base64_code.o: sys_defs.h
base64_code.o: vbuf.h
base64_code.o: vstring.h
basename.o: basename.c
basename.o: stringops.h
basename.o: sys_defs.h
basename.o: vbuf.h
basename.o: vstring.h
binhash.o: binhash.c
binhash.o: binhash.h
binhash.o: msg.h
binhash.o: mymalloc.h
binhash.o: sys_defs.h
chroot_uid.o: chroot_uid.c
chroot_uid.o: chroot_uid.h
chroot_uid.o: msg.h
chroot_uid.o: sys_defs.h
cidr_match.o: cidr_match.c
cidr_match.o: cidr_match.h
cidr_match.o: mask_addr.h
cidr_match.o: msg.h
cidr_match.o: myaddrinfo.h
cidr_match.o: split_at.h
cidr_match.o: stringops.h
cidr_match.o: sys_defs.h
cidr_match.o: vbuf.h
cidr_match.o: vstring.h
clean_env.o: argv.h
clean_env.o: clean_env.c
clean_env.o: clean_env.h
clean_env.o: msg.h
clean_env.o: safe.h
clean_env.o: sys_defs.h
close_on_exec.o: close_on_exec.c
close_on_exec.o: iostuff.h
close_on_exec.o: msg.h
close_on_exec.o: sys_defs.h
concatenate.o: concatenate.c
concatenate.o: mymalloc.h
concatenate.o: stringops.h
concatenate.o: sys_defs.h
concatenate.o: vbuf.h
concatenate.o: vstring.h
ctable.o: ctable.c
ctable.o: ctable.h
ctable.o: htable.h
ctable.o: msg.h
ctable.o: mymalloc.h
ctable.o: ring.h
ctable.o: sys_defs.h
dict.o: argv.h
dict.o: dict.c
dict.o: dict.h
dict.o: dict_ht.h
dict.o: htable.h
dict.o: iostuff.h
dict.o: mac_expand.h
dict.o: mac_parse.h
dict.o: msg.h
dict.o: mymalloc.h
dict.o: name_mask.h
dict.o: readlline.h
dict.o: stringops.h
dict.o: sys_defs.h
dict.o: vbuf.h
dict.o: vstream.h
dict.o: vstring.h
dict_alloc.o: argv.h
dict_alloc.o: dict.h
dict_alloc.o: dict_alloc.c
dict_alloc.o: msg.h
dict_alloc.o: mymalloc.h
dict_alloc.o: sys_defs.h
dict_alloc.o: vbuf.h
dict_alloc.o: vstream.h
dict_alloc.o: vstring.h
dict_cache.o: argv.h
dict_cache.o: dict.h
dict_cache.o: dict_cache.c
dict_cache.o: dict_cache.h
dict_cache.o: events.h
dict_cache.o: msg.h
dict_cache.o: mymalloc.h
dict_cache.o: sys_defs.h
dict_cache.o: vbuf.h
dict_cache.o: vstream.h
dict_cache.o: vstring.h
dict_cdb.o: argv.h
dict_cdb.o: dict.h
dict_cdb.o: dict_cdb.c
dict_cdb.o: dict_cdb.h
dict_cdb.o: iostuff.h
dict_cdb.o: msg.h
dict_cdb.o: myflock.h
dict_cdb.o: mymalloc.h
dict_cdb.o: stringops.h
dict_cdb.o: sys_defs.h
dict_cdb.o: vbuf.h
dict_cdb.o: vstream.h
dict_cdb.o: vstring.h
dict_cidr.o: argv.h
dict_cidr.o: cidr_match.h
dict_cidr.o: dict.h
dict_cidr.o: dict_cidr.c
dict_cidr.o: dict_cidr.h
dict_cidr.o: msg.h
dict_cidr.o: myaddrinfo.h
dict_cidr.o: mymalloc.h
dict_cidr.o: readlline.h
dict_cidr.o: stringops.h
dict_cidr.o: sys_defs.h
dict_cidr.o: vbuf.h
dict_cidr.o: vstream.h
dict_cidr.o: vstring.h
dict_db.o: argv.h
dict_db.o: dict.h
dict_db.o: dict_db.c
dict_db.o: dict_db.h
dict_db.o: iostuff.h
dict_db.o: msg.h
dict_db.o: myflock.h
dict_db.o: mymalloc.h
dict_db.o: stringops.h
dict_db.o: sys_defs.h
dict_db.o: vbuf.h
dict_db.o: vstream.h
dict_db.o: vstring.h
dict_dbm.o: dict_dbm.c
dict_dbm.o: sys_defs.h
dict_debug.o: argv.h
dict_debug.o: dict.h
dict_debug.o: dict_debug.c
dict_debug.o: msg.h
dict_debug.o: mymalloc.h
dict_debug.o: sys_defs.h
dict_debug.o: vbuf.h
dict_debug.o: vstream.h
dict_debug.o: vstring.h
dict_env.o: argv.h
dict_env.o: dict.h
dict_env.o: dict_env.c
dict_env.o: dict_env.h
dict_env.o: msg.h
dict_env.o: mymalloc.h
dict_env.o: safe.h
dict_env.o: stringops.h
dict_env.o: sys_defs.h
dict_env.o: vbuf.h
dict_env.o: vstream.h
dict_env.o: vstring.h
dict_ht.o: argv.h
dict_ht.o: dict.h
dict_ht.o: dict_ht.c
dict_ht.o: dict_ht.h
dict_ht.o: htable.h
dict_ht.o: mymalloc.h
dict_ht.o: stringops.h
dict_ht.o: sys_defs.h
dict_ht.o: vbuf.h
dict_ht.o: vstream.h
dict_ht.o: vstring.h
dict_ni.o: dict_ni.c
dict_ni.o: sys_defs.h
dict_nis.o: argv.h
dict_nis.o: dict.h
dict_nis.o: dict_nis.c
dict_nis.o: dict_nis.h
dict_nis.o: msg.h
dict_nis.o: mymalloc.h
dict_nis.o: stringops.h
dict_nis.o: sys_defs.h
dict_nis.o: vbuf.h
dict_nis.o: vstream.h
dict_nis.o: vstring.h
dict_nisplus.o: argv.h
dict_nisplus.o: dict.h
dict_nisplus.o: dict_nisplus.c
dict_nisplus.o: dict_nisplus.h
dict_nisplus.o: msg.h
dict_nisplus.o: mymalloc.h
dict_nisplus.o: stringops.h
dict_nisplus.o: sys_defs.h
dict_nisplus.o: vbuf.h
dict_nisplus.o: vstream.h
dict_nisplus.o: vstring.h
dict_open.o: argv.h
dict_open.o: dict.h
dict_open.o: dict_cdb.h
dict_open.o: dict_cidr.h
dict_open.o: dict_db.h
dict_open.o: dict_dbm.h
dict_open.o: dict_env.h
dict_open.o: dict_ht.h
dict_open.o: dict_ni.h
dict_open.o: dict_nis.h
dict_open.o: dict_nisplus.h
dict_open.o: dict_open.c
dict_open.o: dict_pcre.h
dict_open.o: dict_regexp.h
dict_open.o: dict_sdbm.h
dict_open.o: dict_static.h
dict_open.o: dict_tcp.h
dict_open.o: dict_thash.h
dict_open.o: dict_unix.h
dict_open.o: htable.h
dict_open.o: msg.h
dict_open.o: mymalloc.h
dict_open.o: split_at.h
dict_open.o: stringops.h
dict_open.o: sys_defs.h
dict_open.o: vbuf.h
dict_open.o: vstream.h
dict_open.o: vstring.h
dict_pcre.o: argv.h
dict_pcre.o: dict.h
dict_pcre.o: dict_pcre.c
dict_pcre.o: dict_pcre.h
dict_pcre.o: mac_parse.h
dict_pcre.o: msg.h
dict_pcre.o: mymalloc.h
dict_pcre.o: readlline.h
dict_pcre.o: safe.h
dict_pcre.o: stringops.h
dict_pcre.o: sys_defs.h
dict_pcre.o: vbuf.h
dict_pcre.o: vstream.h
dict_pcre.o: vstring.h
dict_regexp.o: argv.h
dict_regexp.o: dict.h
dict_regexp.o: dict_regexp.c
dict_regexp.o: dict_regexp.h
dict_regexp.o: mac_parse.h
dict_regexp.o: msg.h
dict_regexp.o: mymalloc.h
dict_regexp.o: readlline.h
dict_regexp.o: safe.h
dict_regexp.o: stringops.h
dict_regexp.o: sys_defs.h
dict_regexp.o: vbuf.h
dict_regexp.o: vstream.h
dict_regexp.o: vstring.h
dict_sdbm.o: argv.h
dict_sdbm.o: dict.h
dict_sdbm.o: dict_sdbm.c
dict_sdbm.o: dict_sdbm.h
dict_sdbm.o: htable.h
dict_sdbm.o: iostuff.h
dict_sdbm.o: msg.h
dict_sdbm.o: myflock.h
dict_sdbm.o: mymalloc.h
dict_sdbm.o: stringops.h
dict_sdbm.o: sys_defs.h
dict_sdbm.o: vbuf.h
dict_sdbm.o: vstream.h
dict_sdbm.o: vstring.h
dict_static.o: argv.h
dict_static.o: dict.h
dict_static.o: dict_static.c
dict_static.o: dict_static.h
dict_static.o: msg.h
dict_static.o: mymalloc.h
dict_static.o: sys_defs.h
dict_static.o: vbuf.h
dict_static.o: vstream.h
dict_static.o: vstring.h
dict_tcp.o: argv.h
dict_tcp.o: connect.h
dict_tcp.o: dict.h
dict_tcp.o: dict_tcp.c
dict_tcp.o: dict_tcp.h
dict_tcp.o: hex_quote.h
dict_tcp.o: iostuff.h
dict_tcp.o: msg.h
dict_tcp.o: mymalloc.h
dict_tcp.o: stringops.h
dict_tcp.o: sys_defs.h
dict_tcp.o: vbuf.h
dict_tcp.o: vstream.h
dict_tcp.o: vstring.h
dict_tcp.o: vstring_vstream.h
dict_thash.o: argv.h
dict_thash.o: dict.h
dict_thash.o: dict_thash.c
dict_thash.o: dict_thash.h
dict_thash.o: htable.h
dict_thash.o: iostuff.h
dict_thash.o: msg.h
dict_thash.o: mymalloc.h
dict_thash.o: readlline.h
dict_thash.o: stringops.h
dict_thash.o: sys_defs.h
dict_thash.o: vbuf.h
dict_thash.o: vstream.h
dict_thash.o: vstring.h
dict_unix.o: argv.h
dict_unix.o: dict.h
dict_unix.o: dict_unix.c
dict_unix.o: dict_unix.h
dict_unix.o: msg.h
dict_unix.o: mymalloc.h
dict_unix.o: stringops.h
dict_unix.o: sys_defs.h
dict_unix.o: vbuf.h
dict_unix.o: vstream.h
dict_unix.o: vstring.h
dir_forest.o: dir_forest.c
dir_forest.o: dir_forest.h
dir_forest.o: msg.h
dir_forest.o: sys_defs.h
dir_forest.o: vbuf.h
dir_forest.o: vstring.h
doze.o: doze.c
doze.o: iostuff.h
doze.o: msg.h
doze.o: sys_defs.h
dummy_read.o: dummy_read.c
dummy_read.o: iostuff.h
dummy_read.o: msg.h
dummy_read.o: sys_defs.h
dummy_write.o: dummy_write.c
dummy_write.o: iostuff.h
dummy_write.o: msg.h
dummy_write.o: sys_defs.h
dup2_pass_on_exec.o: dup2_pass_on_exec.c
duplex_pipe.o: duplex_pipe.c
duplex_pipe.o: iostuff.h
duplex_pipe.o: sane_socketpair.h
duplex_pipe.o: sys_defs.h
edit_file.o: edit_file.c
edit_file.o: edit_file.h
edit_file.o: msg.h
edit_file.o: myflock.h
edit_file.o: mymalloc.h
edit_file.o: stringops.h
edit_file.o: sys_defs.h
edit_file.o: vbuf.h
edit_file.o: vstream.h
edit_file.o: vstring.h
environ.o: environ.c
environ.o: sys_defs.h
events.o: events.c
events.o: events.h
events.o: iostuff.h
events.o: msg.h
events.o: mymalloc.h
events.o: ring.h
events.o: sys_defs.h
exec_command.o: argv.h
exec_command.o: exec_command.c
exec_command.o: exec_command.h
exec_command.o: msg.h
exec_command.o: sys_defs.h
fifo_listen.o: fifo_listen.c
fifo_listen.o: iostuff.h
fifo_listen.o: listen.h
fifo_listen.o: msg.h
fifo_listen.o: sys_defs.h
fifo_open.o: fifo_open.c
fifo_rdonly_bug.o: fifo_rdonly_bug.c
fifo_rdonly_bug.o: sys_defs.h
fifo_rdwr_bug.o: fifo_rdwr_bug.c
fifo_rdwr_bug.o: sys_defs.h
fifo_trigger.o: fifo_trigger.c
fifo_trigger.o: iostuff.h
fifo_trigger.o: msg.h
fifo_trigger.o: safe_open.h
fifo_trigger.o: sys_defs.h
fifo_trigger.o: trigger.h
fifo_trigger.o: vbuf.h
fifo_trigger.o: vstream.h
fifo_trigger.o: vstring.h
file_limit.o: file_limit.c
file_limit.o: iostuff.h
file_limit.o: msg.h
file_limit.o: sys_defs.h
find_inet.o: find_inet.c
find_inet.o: find_inet.h
find_inet.o: msg.h
find_inet.o: stringops.h
find_inet.o: sys_defs.h
find_inet.o: vbuf.h
find_inet.o: vstring.h
format_tv.o: format_tv.c
format_tv.o: format_tv.h
format_tv.o: msg.h
format_tv.o: sys_defs.h
format_tv.o: vbuf.h
format_tv.o: vstring.h
fsspace.o: fsspace.c
fsspace.o: fsspace.h
fsspace.o: msg.h
fsspace.o: sys_defs.h
fullname.o: fullname.c
fullname.o: fullname.h
fullname.o: safe.h
fullname.o: sys_defs.h
fullname.o: vbuf.h
fullname.o: vstring.h
gccw.o: gccw.c
get_domainname.o: get_domainname.c
get_domainname.o: get_domainname.h
get_domainname.o: get_hostname.h
get_domainname.o: mymalloc.h
get_domainname.o: sys_defs.h
get_hostname.o: get_hostname.c
get_hostname.o: get_hostname.h
get_hostname.o: msg.h
get_hostname.o: mymalloc.h
get_hostname.o: sys_defs.h
get_hostname.o: valid_hostname.h
hex_code.o: hex_code.c
hex_code.o: hex_code.h
hex_code.o: msg.h
hex_code.o: mymalloc.h
hex_code.o: sys_defs.h
hex_code.o: vbuf.h
hex_code.o: vstring.h
hex_quote.o: hex_quote.c
hex_quote.o: hex_quote.h
hex_quote.o: msg.h
hex_quote.o: sys_defs.h
hex_quote.o: vbuf.h
hex_quote.o: vstring.h
host_port.o: host_port.c
host_port.o: host_port.h
host_port.o: msg.h
host_port.o: split_at.h
host_port.o: stringops.h
host_port.o: sys_defs.h
host_port.o: valid_hostname.h
host_port.o: vbuf.h
host_port.o: vstring.h
htable.o: htable.c
htable.o: htable.h
htable.o: msg.h
htable.o: mymalloc.h
htable.o: sys_defs.h
inet_addr_host.o: inet_addr_host.c
inet_addr_host.o: inet_addr_host.h
inet_addr_host.o: inet_addr_list.h
inet_addr_host.o: inet_proto.h
inet_addr_host.o: msg.h
inet_addr_host.o: myaddrinfo.h
inet_addr_host.o: mymalloc.h
inet_addr_host.o: sock_addr.h
inet_addr_host.o: sys_defs.h
inet_addr_list.o: inet_addr_list.c
inet_addr_list.o: inet_addr_list.h
inet_addr_list.o: msg.h
inet_addr_list.o: myaddrinfo.h
inet_addr_list.o: mymalloc.h
inet_addr_list.o: sock_addr.h
inet_addr_list.o: sys_defs.h
inet_addr_local.o: hex_code.h
inet_addr_local.o: inet_addr_list.h
inet_addr_local.o: inet_addr_local.c
inet_addr_local.o: inet_addr_local.h
inet_addr_local.o: mask_addr.h
inet_addr_local.o: msg.h
inet_addr_local.o: myaddrinfo.h
inet_addr_local.o: mymalloc.h
inet_addr_local.o: sock_addr.h
inet_addr_local.o: sys_defs.h
inet_addr_local.o: vbuf.h
inet_addr_local.o: vstring.h
inet_connect.o: connect.h
inet_connect.o: host_port.h
inet_connect.o: inet_connect.c
inet_connect.o: inet_proto.h
inet_connect.o: iostuff.h
inet_connect.o: msg.h
inet_connect.o: myaddrinfo.h
inet_connect.o: mymalloc.h
inet_connect.o: sane_connect.h
inet_connect.o: sock_addr.h
inet_connect.o: sys_defs.h
inet_connect.o: timed_connect.h
inet_listen.o: host_port.h
inet_listen.o: inet_listen.c
inet_listen.o: inet_proto.h
inet_listen.o: iostuff.h
inet_listen.o: listen.h
inet_listen.o: msg.h
inet_listen.o: myaddrinfo.h
inet_listen.o: mymalloc.h
inet_listen.o: sane_accept.h
inet_listen.o: sock_addr.h
inet_listen.o: sys_defs.h
inet_proto.o: inet_proto.c
inet_proto.o: inet_proto.h
inet_proto.o: msg.h
inet_proto.o: myaddrinfo.h
inet_proto.o: mymalloc.h
inet_proto.o: name_mask.h
inet_proto.o: sys_defs.h
inet_proto.o: vbuf.h
inet_proto.o: vstring.h
inet_trigger.o: connect.h
inet_trigger.o: events.h
inet_trigger.o: inet_trigger.c
inet_trigger.o: iostuff.h
inet_trigger.o: msg.h
inet_trigger.o: mymalloc.h
inet_trigger.o: sys_defs.h
inet_trigger.o: trigger.h
inet_windowsize.o: inet_windowsize.c
inet_windowsize.o: iostuff.h
inet_windowsize.o: msg.h
inet_windowsize.o: sys_defs.h
killme_after.o: killme_after.c
killme_after.o: killme_after.h
killme_after.o: sys_defs.h
line_wrap.o: line_wrap.c
line_wrap.o: line_wrap.h
line_wrap.o: sys_defs.h
load_file.o: iostuff.h
load_file.o: load_file.c
load_file.o: load_file.h
load_file.o: msg.h
load_file.o: sys_defs.h
load_file.o: vbuf.h
load_file.o: vstream.h
lowercase.o: lowercase.c
lowercase.o: stringops.h
lowercase.o: sys_defs.h
lowercase.o: vbuf.h
lowercase.o: vstring.h
lstat_as.o: lstat_as.c
lstat_as.o: lstat_as.h
lstat_as.o: msg.h
lstat_as.o: set_eugid.h
lstat_as.o: sys_defs.h
mac_expand.o: mac_expand.c
mac_expand.o: mac_expand.h
mac_expand.o: mac_parse.h
mac_expand.o: msg.h
mac_expand.o: mymalloc.h
mac_expand.o: sys_defs.h
mac_expand.o: vbuf.h
mac_expand.o: vstring.h
mac_parse.o: mac_parse.c
mac_parse.o: mac_parse.h
mac_parse.o: msg.h
mac_parse.o: sys_defs.h
mac_parse.o: vbuf.h
mac_parse.o: vstring.h
make_dirs.o: make_dirs.c
make_dirs.o: make_dirs.h
make_dirs.o: msg.h
make_dirs.o: mymalloc.h
make_dirs.o: stringops.h
make_dirs.o: sys_defs.h
make_dirs.o: vbuf.h
make_dirs.o: vstring.h
mask_addr.o: mask_addr.c
mask_addr.o: mask_addr.h
mask_addr.o: msg.h
mask_addr.o: sys_defs.h
match_list.o: argv.h
match_list.o: dict.h
match_list.o: match_list.c
match_list.o: match_list.h
match_list.o: match_ops.h
match_list.o: msg.h
match_list.o: mymalloc.h
match_list.o: stringops.h
match_list.o: sys_defs.h
match_list.o: vbuf.h
match_list.o: vstream.h
match_list.o: vstring.h
match_list.o: vstring_vstream.h
match_ops.o: argv.h
match_ops.o: cidr_match.h
match_ops.o: dict.h
match_ops.o: match_ops.c
match_ops.o: match_ops.h
match_ops.o: msg.h
match_ops.o: myaddrinfo.h
match_ops.o: mymalloc.h
match_ops.o: split_at.h
match_ops.o: stringops.h
match_ops.o: sys_defs.h
match_ops.o: vbuf.h
match_ops.o: vstream.h
match_ops.o: vstring.h
msg.o: msg.c
msg.o: msg.h
msg.o: msg_output.h
msg.o: sys_defs.h
msg_output.o: msg_output.c
msg_output.o: msg_output.h
msg_output.o: msg_vstream.h
msg_output.o: mymalloc.h
msg_output.o: percentm.h
msg_output.o: stringops.h
msg_output.o: sys_defs.h
msg_output.o: vbuf.h
msg_output.o: vstream.h
msg_output.o: vstring.h
msg_syslog.o: msg.h
msg_syslog.o: msg_output.h
msg_syslog.o: msg_syslog.c
msg_syslog.o: msg_syslog.h
msg_syslog.o: safe.h
msg_syslog.o: stringops.h
msg_syslog.o: sys_defs.h
msg_syslog.o: vbuf.h
msg_syslog.o: vstring.h
msg_vstream.o: msg.h
msg_vstream.o: msg_output.h
msg_vstream.o: msg_vstream.c
msg_vstream.o: msg_vstream.h
msg_vstream.o: sys_defs.h
msg_vstream.o: vbuf.h
msg_vstream.o: vstream.h
mvect.o: mvect.c
mvect.o: mvect.h
mvect.o: mymalloc.h
mvect.o: sys_defs.h
myaddrinfo.o: inet_proto.h
myaddrinfo.o: msg.h
myaddrinfo.o: myaddrinfo.c
myaddrinfo.o: myaddrinfo.h
myaddrinfo.o: mymalloc.h
myaddrinfo.o: sock_addr.h
myaddrinfo.o: stringops.h
myaddrinfo.o: sys_defs.h
myaddrinfo.o: valid_hostname.h
myaddrinfo.o: vbuf.h
myaddrinfo.o: vstring.h
myflock.o: msg.h
myflock.o: myflock.c
myflock.o: myflock.h
myflock.o: sys_defs.h
mymalloc.o: msg.h
mymalloc.o: mymalloc.c
mymalloc.o: mymalloc.h
mymalloc.o: sys_defs.h
myrand.o: myrand.c
myrand.o: myrand.h
myrand.o: sys_defs.h
mystrtok.o: mystrtok.c
mystrtok.o: stringops.h
mystrtok.o: sys_defs.h
mystrtok.o: vbuf.h
mystrtok.o: vstring.h
name_code.o: name_code.c
name_code.o: name_code.h
name_code.o: sys_defs.h
name_mask.o: msg.h
name_mask.o: mymalloc.h
name_mask.o: name_mask.c
name_mask.o: name_mask.h
name_mask.o: stringops.h
name_mask.o: sys_defs.h
name_mask.o: vbuf.h
name_mask.o: vstring.h
netstring.o: msg.h
netstring.o: netstring.c
netstring.o: netstring.h
netstring.o: sys_defs.h
netstring.o: vbuf.h
netstring.o: vstream.h
netstring.o: vstring.h
neuter.o: neuter.c
neuter.o: stringops.h
neuter.o: sys_defs.h
neuter.o: vbuf.h
neuter.o: vstring.h
non_blocking.o: iostuff.h
non_blocking.o: msg.h
non_blocking.o: non_blocking.c
non_blocking.o: sys_defs.h
nvtable.o: htable.h
nvtable.o: mymalloc.h
nvtable.o: nvtable.c
nvtable.o: nvtable.h
nvtable.o: sys_defs.h
open_as.o: msg.h
open_as.o: open_as.c
open_as.o: open_as.h
open_as.o: set_eugid.h
open_as.o: sys_defs.h
open_limit.o: iostuff.h
open_limit.o: open_limit.c
open_limit.o: sys_defs.h
open_lock.o: msg.h
open_lock.o: myflock.h
open_lock.o: open_lock.c
open_lock.o: open_lock.h
open_lock.o: safe_open.h
open_lock.o: sys_defs.h
open_lock.o: vbuf.h
open_lock.o: vstream.h
open_lock.o: vstring.h
peekfd.o: iostuff.h
peekfd.o: peekfd.c
peekfd.o: sys_defs.h
percentm.o: percentm.c
percentm.o: percentm.h
percentm.o: sys_defs.h
percentm.o: vbuf.h
percentm.o: vstring.h
posix_signals.o: posix_signals.c
posix_signals.o: posix_signals.h
posix_signals.o: sys_defs.h
printable.o: printable.c
printable.o: stringops.h
printable.o: sys_defs.h
printable.o: vbuf.h
printable.o: vstring.h
rand_sleep.o: iostuff.h
rand_sleep.o: msg.h
rand_sleep.o: myrand.h
rand_sleep.o: rand_sleep.c
rand_sleep.o: sys_defs.h
read_wait.o: iostuff.h
read_wait.o: msg.h
read_wait.o: read_wait.c
read_wait.o: sys_defs.h
readable.o: iostuff.h
readable.o: msg.h
readable.o: readable.c
readable.o: sys_defs.h
readlline.o: msg.h
readlline.o: readlline.c
readlline.o: readlline.h
readlline.o: sys_defs.h
readlline.o: vbuf.h
readlline.o: vstream.h
readlline.o: vstring.h
ring.o: ring.c
ring.o: ring.h
safe_getenv.o: safe.h
safe_getenv.o: safe_getenv.c
safe_getenv.o: sys_defs.h
safe_open.o: msg.h
safe_open.o: safe_open.c
safe_open.o: safe_open.h
safe_open.o: stringops.h
safe_open.o: sys_defs.h
safe_open.o: vbuf.h
safe_open.o: vstream.h
safe_open.o: vstring.h
sane_accept.o: msg.h
sane_accept.o: sane_accept.c
sane_accept.o: sane_accept.h
sane_accept.o: sys_defs.h
sane_basename.o: sane_basename.c
sane_basename.o: stringops.h
sane_basename.o: sys_defs.h
sane_basename.o: vbuf.h
sane_basename.o: vstring.h
sane_connect.o: msg.h
sane_connect.o: sane_connect.c
sane_connect.o: sane_connect.h
sane_connect.o: sys_defs.h
sane_link.o: msg.h
sane_link.o: sane_fsops.h
sane_link.o: sane_link.c
sane_link.o: sys_defs.h
sane_rename.o: msg.h
sane_rename.o: sane_fsops.h
sane_rename.o: sane_rename.c
sane_rename.o: sys_defs.h
sane_socketpair.o: msg.h
sane_socketpair.o: sane_socketpair.c
sane_socketpair.o: sane_socketpair.h
sane_socketpair.o: sys_defs.h
sane_time.o: msg.h
sane_time.o: sane_time.c
sane_time.o: sane_time.h
sane_time.o: sys_defs.h
scan_dir.o: msg.h
scan_dir.o: mymalloc.h
scan_dir.o: scan_dir.c
scan_dir.o: scan_dir.h
scan_dir.o: stringops.h
scan_dir.o: sys_defs.h
scan_dir.o: vbuf.h
scan_dir.o: vstring.h
select_bug.o: msg.h
select_bug.o: msg_vstream.h
select_bug.o: select_bug.c
select_bug.o: sys_defs.h
select_bug.o: vbuf.h
select_bug.o: vstream.h
set_eugid.o: msg.h
set_eugid.o: set_eugid.c
set_eugid.o: set_eugid.h
set_eugid.o: sys_defs.h
set_ugid.o: msg.h
set_ugid.o: set_ugid.c
set_ugid.o: set_ugid.h
set_ugid.o: sys_defs.h
sigdelay.o: msg.h
sigdelay.o: posix_signals.h
sigdelay.o: sigdelay.c
sigdelay.o: sigdelay.h
sigdelay.o: sys_defs.h
skipblanks.o: skipblanks.c
skipblanks.o: stringops.h
skipblanks.o: sys_defs.h
skipblanks.o: vbuf.h
skipblanks.o: vstring.h
sock_addr.o: msg.h
sock_addr.o: sock_addr.c
sock_addr.o: sock_addr.h
sock_addr.o: sys_defs.h
spawn_command.o: argv.h
spawn_command.o: clean_env.h
spawn_command.o: exec_command.h
spawn_command.o: msg.h
spawn_command.o: set_ugid.h
spawn_command.o: spawn_command.c
spawn_command.o: spawn_command.h
spawn_command.o: sys_defs.h
spawn_command.o: timed_wait.h
split_at.o: split_at.c
split_at.o: split_at.h
split_at.o: sys_defs.h
split_nameval.o: msg.h
split_nameval.o: split_nameval.c
split_nameval.o: stringops.h
split_nameval.o: sys_defs.h
split_nameval.o: vbuf.h
split_nameval.o: vstring.h
stat_as.o: msg.h
stat_as.o: set_eugid.h
stat_as.o: stat_as.c
stat_as.o: stat_as.h
stat_as.o: sys_defs.h
strcasecmp.o: strcasecmp.c
strcasecmp.o: sys_defs.h
stream_connect.o: connect.h
stream_connect.o: iostuff.h
stream_connect.o: msg.h
stream_connect.o: stream_connect.c
stream_connect.o: sys_defs.h
stream_listen.o: iostuff.h
stream_listen.o: listen.h
stream_listen.o: msg.h
stream_listen.o: stream_listen.c
stream_listen.o: sys_defs.h
stream_recv_fd.o: iostuff.h
stream_recv_fd.o: msg.h
stream_recv_fd.o: stream_recv_fd.c
stream_recv_fd.o: sys_defs.h
stream_send_fd.o: iostuff.h
stream_send_fd.o: msg.h
stream_send_fd.o: stream_send_fd.c
stream_send_fd.o: sys_defs.h
stream_test.o: connect.h
stream_test.o: iostuff.h
stream_test.o: listen.h
stream_test.o: msg.h
stream_test.o: msg_vstream.h
stream_test.o: stream_test.c
stream_test.o: sys_defs.h
stream_test.o: vbuf.h
stream_test.o: vstream.h
stream_trigger.o: connect.h
stream_trigger.o: events.h
stream_trigger.o: iostuff.h
stream_trigger.o: msg.h
stream_trigger.o: mymalloc.h
stream_trigger.o: stream_trigger.c
stream_trigger.o: sys_defs.h
stream_trigger.o: trigger.h
sys_compat.o: sys_compat.c
sys_compat.o: sys_defs.h
timed_connect.o: iostuff.h
timed_connect.o: msg.h
timed_connect.o: sane_connect.h
timed_connect.o: sys_defs.h
timed_connect.o: timed_connect.c
timed_connect.o: timed_connect.h
timed_read.o: iostuff.h
timed_read.o: msg.h
timed_read.o: sys_defs.h
timed_read.o: timed_read.c
timed_wait.o: msg.h
timed_wait.o: posix_signals.h
timed_wait.o: sys_defs.h
timed_wait.o: timed_wait.c
timed_wait.o: timed_wait.h
timed_write.o: iostuff.h
timed_write.o: msg.h
timed_write.o: sys_defs.h
timed_write.o: timed_write.c
translit.o: stringops.h
translit.o: sys_defs.h
translit.o: translit.c
translit.o: vbuf.h
translit.o: vstring.h
trimblanks.o: stringops.h
trimblanks.o: sys_defs.h
trimblanks.o: trimblanks.c
trimblanks.o: vbuf.h
trimblanks.o: vstring.h
unescape.o: stringops.h
unescape.o: sys_defs.h
unescape.o: unescape.c
unescape.o: vbuf.h
unescape.o: vstring.h
unix_connect.o: connect.h
unix_connect.o: iostuff.h
unix_connect.o: msg.h
unix_connect.o: sane_connect.h
unix_connect.o: sys_defs.h
unix_connect.o: timed_connect.h
unix_connect.o: unix_connect.c
unix_listen.o: iostuff.h
unix_listen.o: listen.h
unix_listen.o: msg.h
unix_listen.o: sane_accept.h
unix_listen.o: sys_defs.h
unix_listen.o: unix_listen.c
unix_pass_fd_fix.o: iostuff.h
unix_pass_fd_fix.o: name_mask.h
unix_pass_fd_fix.o: sys_defs.h
unix_pass_fd_fix.o: unix_pass_fd_fix.c
unix_pass_fd_fix.o: vbuf.h
unix_pass_fd_fix.o: vstring.h
unix_recv_fd.o: iostuff.h
unix_recv_fd.o: msg.h
unix_recv_fd.o: sys_defs.h
unix_recv_fd.o: unix_recv_fd.c
unix_send_fd.o: iostuff.h
unix_send_fd.o: msg.h
unix_send_fd.o: sys_defs.h
unix_send_fd.o: unix_send_fd.c
unix_trigger.o: connect.h
unix_trigger.o: events.h
unix_trigger.o: iostuff.h
unix_trigger.o: msg.h
unix_trigger.o: mymalloc.h
unix_trigger.o: sys_defs.h
unix_trigger.o: trigger.h
unix_trigger.o: unix_trigger.c
unsafe.o: safe.h
unsafe.o: sys_defs.h
unsafe.o: unsafe.c
upass_connect.o: connect.h
upass_connect.o: events.h
upass_connect.o: iostuff.h
upass_connect.o: msg.h
upass_connect.o: mymalloc.h
upass_connect.o: sane_connect.h
upass_connect.o: sane_socketpair.h
upass_connect.o: sys_defs.h
upass_connect.o: timed_connect.h
upass_connect.o: upass_connect.c
upass_listen.o: iostuff.h
upass_listen.o: listen.h
upass_listen.o: msg.h
upass_listen.o: sane_accept.h
upass_listen.o: sys_defs.h
upass_listen.o: upass_listen.c
upass_trigger.o: connect.h
upass_trigger.o: events.h
upass_trigger.o: iostuff.h
upass_trigger.o: msg.h
upass_trigger.o: mymalloc.h
upass_trigger.o: sys_defs.h
upass_trigger.o: trigger.h
upass_trigger.o: upass_trigger.c
uppercase.o: stringops.h
uppercase.o: sys_defs.h
uppercase.o: uppercase.c
uppercase.o: vbuf.h
uppercase.o: vstring.h
username.o: sys_defs.h
username.o: username.c
username.o: username.h
valid_hostname.o: msg.h
valid_hostname.o: mymalloc.h
valid_hostname.o: stringops.h
valid_hostname.o: sys_defs.h
valid_hostname.o: valid_hostname.c
valid_hostname.o: valid_hostname.h
valid_hostname.o: vbuf.h
valid_hostname.o: vstring.h
valid_utf_8.o: stringops.h
valid_utf_8.o: sys_defs.h
valid_utf_8.o: valid_utf_8.c
valid_utf_8.o: vbuf.h
valid_utf_8.o: vstring.h
vbuf.o: sys_defs.h
vbuf.o: vbuf.c
vbuf.o: vbuf.h
vbuf_print.o: msg.h
vbuf_print.o: sys_defs.h
vbuf_print.o: vbuf.h
vbuf_print.o: vbuf_print.c
vbuf_print.o: vbuf_print.h
vbuf_print.o: vstring.h
vstream.o: iostuff.h
vstream.o: msg.h
vstream.o: mymalloc.h
vstream.o: sys_defs.h
vstream.o: vbuf.h
vstream.o: vbuf_print.h
vstream.o: vstream.c
vstream.o: vstream.h
vstream.o: vstring.h
vstream_popen.o: argv.h
vstream_popen.o: clean_env.h
vstream_popen.o: exec_command.h
vstream_popen.o: iostuff.h
vstream_popen.o: msg.h
vstream_popen.o: set_ugid.h
vstream_popen.o: sys_defs.h
vstream_popen.o: vbuf.h
vstream_popen.o: vstream.h
vstream_popen.o: vstream_popen.c
vstream_tweak.o: msg.h
vstream_tweak.o: sys_defs.h
vstream_tweak.o: vbuf.h
vstream_tweak.o: vstream.h
vstream_tweak.o: vstream_tweak.c
vstring.o: msg.h
vstring.o: mymalloc.h
vstring.o: sys_defs.h
vstring.o: vbuf.h
vstring.o: vbuf_print.h
vstring.o: vstring.c
vstring.o: vstring.h
vstring_vstream.o: msg.h
vstring_vstream.o: sys_defs.h
vstring_vstream.o: vbuf.h
vstring_vstream.o: vstream.h
vstring_vstream.o: vstring.h
vstring_vstream.o: vstring_vstream.c
vstring_vstream.o: vstring_vstream.h
watchdog.o: killme_after.h
watchdog.o: msg.h
watchdog.o: mymalloc.h
watchdog.o: posix_signals.h
watchdog.o: sys_defs.h
watchdog.o: watchdog.c
watchdog.o: watchdog.h
writable.o: iostuff.h
writable.o: msg.h
writable.o: sys_defs.h
writable.o: writable.c
write_buf.o: iostuff.h
write_buf.o: msg.h
write_buf.o: sys_defs.h
write_buf.o: write_buf.c
write_wait.o: iostuff.h
write_wait.o: msg.h
write_wait.o: sys_defs.h
write_wait.o: write_wait.c
