]> git.llucax.com Git - z.facultad/75.74/practicos.git/blobdiff - practicas/pipi/src/Makefile
Bugfix.
[z.facultad/75.74/practicos.git] / practicas / pipi / src / Makefile
index d8d81dae1c6653230e7bc21ea743d11d775a7ccd..9110dca0bcf4966fb6906221d9f5f91535feb4e7 100644 (file)
@@ -17,6 +17,9 @@ CFLAGS = -Wall -ansi -pedantic-errors
 # Para valgrind o debug
 CFLAGS += -ggdb -DDEBUG
 
 # Para valgrind o debug
 CFLAGS += -ggdb -DDEBUG
 
+# Para más verbose
+CFLAGS += -DDEBUG2
+
 # Opciones para el compilador C++.
 CXXFLAGS = $(CFLAGS) -fno-inline
 
 # Opciones para el compilador C++.
 CXXFLAGS = $(CFLAGS) -fno-inline
 
@@ -27,10 +30,13 @@ CXXFLAGS = $(CFLAGS) -fno-inline
 CC=g++
 
 # Programas
 CC=g++
 
 # Programas
-targets=test_send test_recv test_ipaddr test_ipin
+targets=ip
+tests=test_send test_recv test_ipaddr test_ipin test_ipout test_devtcp \
+      test_poll test_resolvprotos test_resolvprotoc test_nameserver_file \
+      test_nameserver_resolvnext
 
 # Fuentes
 
 # Fuentes
-fuentes ?= $(wildcard *.cpp)
+fuentes ?= $(wildcard *.cpp) $(wildcard *.c)
 
 
 # REGLAS
 
 
 # REGLAS
@@ -40,51 +46,224 @@ fuentes ?= $(wildcard *.cpp)
 
 all: depend $(targets)
 
 
 all: depend $(targets)
 
-test_send: test_send.o dev.o
+tests: depend $(tests)
+
+test_send: test_send.o devque.o
 
 
-test_recv: test_recv.o dev.o
+test_recv: test_recv.o devque.o
 
 test_ipaddr: test_ipaddr.o ipaddr.o ipheader.o
 
 
 test_ipaddr: test_ipaddr.o ipaddr.o ipheader.o
 
-test_ipin: test_ipin.o ipin.o ipaddr.o ipheader.o dev.o
+test_ipin: test_ipin.o ipin.o ipaddr.o ipheader.o devque.o
+
+test_ipout: test_ipout.o ipout.o ipaddr.o ipheader.o devque.o routetable.o
+
+test_devtcp: test_devtcp.o devtcp.o libtcp.o ipaddr.o
+
+test_poll: test_poll.o libtcp.o
+
+#FIXME no va libtcp.o, debe ir sobre mi implementación de ip.
+test_resolvprotos: test_resolvprotos.o libtcp.o ipaddr.o resolvproto.o
+
+#FIXME no va libtcp.o, debe ir sobre mi implementación de ip.
+test_resolvprotoc: test_resolvprotoc.o libtcp.o ipaddr.o resolvproto.o
+
+#FIXME no va libtcp.o, debe ir sobre mi implementación de ip.
+test_nameserver_file: test_nameserver_file.o ipaddr.o nameserver.o \
+       resolvproto.o libtcp.o
+
+#FIXME no va libtcp.o, debe ir sobre mi implementación de ip.
+test_nameserver_resolvnext: test_nameserver_resolvnext.o ipaddr.o \
+       nameserver.o resolvproto.o libtcp.o
+
+ip: ip.o ipout.o ipin.o ipaddr.o ipheader.o devque.o devtcp.o routetable.o \
+       libtcp.o
 
 depend:
        @makedepend $(fuentes) > /dev/null 2>&1
 
 clean:
 
 depend:
        @makedepend $(fuentes) > /dev/null 2>&1
 
 clean:
-       @$(RM) -fv *.o $(targets)
+       @$(RM) -fv *.o Makefile.bak $(targets) $(tests)
 
 # DO NOT DELETE
 
 
 # DO NOT DELETE
 
-dev.o: dev.h /usr/include/unistd.h /usr/include/features.h
-dev.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
-dev.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
-dev.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
-dev.o: /usr/include/bits/confname.h /usr/include/getopt.h
-dev.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
-dev.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
-dev.o: /usr/include/bits/endian.h /usr/include/sys/select.h
-dev.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
-dev.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
-dev.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
-dev.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
-dev.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h /usr/include/bits/msq.h
-ipaddr.o: ipaddr.h
+devque.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
+devque.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+devque.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+devque.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
+devque.o: /usr/include/bits/confname.h /usr/include/getopt.h
+devque.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
+devque.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+devque.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+devque.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+devque.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+devque.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+devque.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+devque.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+devque.o: /usr/include/bits/msq.h
+devtcp.o: devtcp.h dev.h /usr/include/stdint.h /usr/include/features.h
+devtcp.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+devtcp.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
+devtcp.o: /usr/include/sys/poll.h /usr/include/bits/poll.h ipaddr.h libtcp.h
+devtcp.o: /usr/include/stdio.h /usr/include/bits/types.h
+devtcp.o: /usr/include/bits/typesizes.h /usr/include/libio.h
+devtcp.o: /usr/include/_G_config.h /usr/include/wchar.h /usr/include/gconv.h
+devtcp.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
+devtcp.o: /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h
+devtcp.o: /usr/include/endian.h /usr/include/bits/endian.h
+devtcp.o: /usr/include/sys/select.h /usr/include/bits/select.h
+devtcp.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+devtcp.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
+devtcp.o: /usr/include/bits/sched.h /usr/include/alloca.h
+devtcp.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+devtcp.o: /usr/include/bits/confname.h /usr/include/getopt.h
+devtcp.o: /usr/include/signal.h /usr/include/bits/signum.h
+devtcp.o: /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h
+devtcp.o: /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h
+devtcp.o: /usr/include/asm-i486/sigcontext.h /usr/include/linux/compiler.h
+devtcp.o: /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h
+devtcp.o: /usr/include/sys/wait.h /usr/include/sys/resource.h
+devtcp.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
+devtcp.o: /usr/include/bits/waitstatus.h /usr/include/string.h
+devtcp.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
+devtcp.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
+devtcp.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
+devtcp.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
+devtcp.o: /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h
+devtcp.o: /usr/include/asm/socket.h /usr/include/asm-i486/socket.h
+devtcp.o: /usr/include/asm/sockios.h /usr/include/asm-i486/sockios.h
+devtcp.o: /usr/include/netinet/in.h /usr/include/bits/in.h
+devtcp.o: /usr/include/bits/byteswap.h /usr/include/arpa/inet.h
+devtcp.o: /usr/include/netdb.h /usr/include/rpc/netdb.h
+devtcp.o: /usr/include/bits/netdb.h /usr/include/fcntl.h
+devtcp.o: /usr/include/bits/fcntl.h /usr/include/sys/ipc.h
+devtcp.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
+devtcp.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
+ip.o: ipout.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+ip.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+ip.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h ipheader.h
+ip.o: routetable.h dev.h ipin.h devtcp.h /usr/include/sys/poll.h
+ip.o: /usr/include/bits/poll.h devque.h /usr/include/unistd.h
+ip.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+ip.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+ip.o: /usr/include/getopt.h /usr/include/fcntl.h /usr/include/bits/fcntl.h
+ip.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+ip.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+ip.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+ip.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+ip.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+ip.o: /usr/include/sys/wait.h /usr/include/signal.h
+ip.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
+ip.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
+ip.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
+ip.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
+ip.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
+ip.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
+ip.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
+ip.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
+ip.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
+ipaddr.o: ipaddr.h /usr/include/stdint.h /usr/include/features.h
+ipaddr.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+ipaddr.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
 ipheader.o: ipheader.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
 ipheader.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 ipheader.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
 ipheader.o: ipheader.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
 ipheader.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 ipheader.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
-ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
-ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
-ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
-ipin.o: /usr/include/bits/wordsize.h dev.h
-test_ipaddr.o: ipaddr.h ipheader.h /usr/include/stdint.h
-test_ipaddr.o: /usr/include/features.h /usr/include/sys/cdefs.h
-test_ipaddr.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
-test_ipaddr.o: /usr/include/bits/wordsize.h
-test_ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
-test_ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
-test_ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
-test_ipin.o: /usr/include/bits/wordsize.h dev.h /usr/include/unistd.h
+ipin.o: ipin.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+ipin.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+ipin.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h ipheader.h
+ipin.o: dev.h
+ipout.o: ipout.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+ipout.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+ipout.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h ipheader.h
+ipout.o: routetable.h dev.h /usr/include/unistd.h
+ipout.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+ipout.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+ipout.o: /usr/include/getopt.h /usr/include/fcntl.h /usr/include/bits/fcntl.h
+ipout.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+ipout.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+ipout.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+ipout.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+ipout.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+ipout.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+ipout.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+ipout.o: /usr/include/bits/msq.h
+nameserver.o: nameserver.h ipaddr.h /usr/include/stdint.h
+nameserver.o: /usr/include/features.h /usr/include/sys/cdefs.h
+nameserver.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+nameserver.o: /usr/include/bits/wordsize.h resolvproto.h
+resolvproto.o: resolvproto.h ipaddr.h /usr/include/stdint.h
+resolvproto.o: /usr/include/features.h /usr/include/sys/cdefs.h
+resolvproto.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+resolvproto.o: /usr/include/bits/wordsize.h libtcp.h /usr/include/stdio.h
+resolvproto.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+resolvproto.o: /usr/include/libio.h /usr/include/_G_config.h
+resolvproto.o: /usr/include/wchar.h /usr/include/gconv.h
+resolvproto.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
+resolvproto.o: /usr/include/stdlib.h /usr/include/sys/types.h
+resolvproto.o: /usr/include/time.h /usr/include/endian.h
+resolvproto.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+resolvproto.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+resolvproto.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+resolvproto.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+resolvproto.o: /usr/include/alloca.h /usr/include/unistd.h
+resolvproto.o: /usr/include/bits/posix_opt.h /usr/include/bits/confname.h
+resolvproto.o: /usr/include/getopt.h /usr/include/signal.h
+resolvproto.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
+resolvproto.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
+resolvproto.o: /usr/include/asm/sigcontext.h
+resolvproto.o: /usr/include/asm-i486/sigcontext.h
+resolvproto.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
+resolvproto.o: /usr/include/bits/sigthread.h /usr/include/sys/wait.h
+resolvproto.o: /usr/include/sys/resource.h /usr/include/bits/resource.h
+resolvproto.o: /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h
+resolvproto.o: /usr/include/string.h /usr/include/sys/socket.h
+resolvproto.o: /usr/include/sys/uio.h /usr/include/bits/uio.h
+resolvproto.o: /usr/include/bits/socket.h /usr/include/limits.h
+resolvproto.o: /usr/include/bits/posix1_lim.h /usr/include/bits/local_lim.h
+resolvproto.o: /usr/include/linux/limits.h /usr/include/bits/posix2_lim.h
+resolvproto.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
+resolvproto.o: /usr/include/asm-i486/socket.h /usr/include/asm/sockios.h
+resolvproto.o: /usr/include/asm-i486/sockios.h /usr/include/netinet/in.h
+resolvproto.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
+resolvproto.o: /usr/include/arpa/inet.h /usr/include/netdb.h
+resolvproto.o: /usr/include/rpc/netdb.h /usr/include/bits/netdb.h
+routetable.o: routetable.h dev.h ipaddr.h /usr/include/stdint.h
+routetable.o: /usr/include/features.h /usr/include/sys/cdefs.h
+routetable.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+routetable.o: /usr/include/bits/wordsize.h
+test_devtcp.o: ipaddr.h /usr/include/stdint.h /usr/include/features.h
+test_devtcp.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+test_devtcp.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
+test_devtcp.o: devtcp.h dev.h /usr/include/sys/poll.h
+test_devtcp.o: /usr/include/bits/poll.h /usr/include/unistd.h
+test_devtcp.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+test_devtcp.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+test_devtcp.o: /usr/include/getopt.h /usr/include/fcntl.h
+test_devtcp.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
+test_devtcp.o: /usr/include/time.h /usr/include/endian.h
+test_devtcp.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+test_devtcp.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+test_devtcp.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+test_devtcp.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+test_devtcp.o: /usr/include/sys/wait.h /usr/include/signal.h
+test_devtcp.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
+test_devtcp.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
+test_devtcp.o: /usr/include/asm/sigcontext.h
+test_devtcp.o: /usr/include/asm-i486/sigcontext.h
+test_devtcp.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
+test_devtcp.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
+test_devtcp.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
+test_devtcp.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
+test_devtcp.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
+test_devtcp.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
+test_ipaddr.o: ipaddr.h /usr/include/stdint.h /usr/include/features.h
+test_ipaddr.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+test_ipaddr.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
+test_ipaddr.o: ipheader.h
+test_ipin.o: ipin.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+test_ipin.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+test_ipin.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
+test_ipin.o: ipheader.h dev.h devque.h /usr/include/unistd.h
 test_ipin.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
 test_ipin.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
 test_ipin.o: /usr/include/getopt.h /usr/include/fcntl.h
 test_ipin.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
 test_ipin.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
 test_ipin.o: /usr/include/getopt.h /usr/include/fcntl.h
@@ -97,7 +276,33 @@ test_ipin.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
 test_ipin.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
 test_ipin.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
 test_ipin.o: /usr/include/bits/msq.h
 test_ipin.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
 test_ipin.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
 test_ipin.o: /usr/include/bits/msq.h
-test_recv.o: dev.h /usr/include/unistd.h /usr/include/features.h
+test_ipout.o: ipout.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+test_ipout.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+test_ipout.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
+test_ipout.o: ipheader.h routetable.h dev.h devque.h /usr/include/unistd.h
+test_ipout.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+test_ipout.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+test_ipout.o: /usr/include/getopt.h /usr/include/fcntl.h
+test_ipout.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
+test_ipout.o: /usr/include/time.h /usr/include/endian.h
+test_ipout.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+test_ipout.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+test_ipout.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+test_ipout.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+test_ipout.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+test_ipout.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+test_ipout.o: /usr/include/bits/msq.h
+test_nameserver_file.o: nameserver.h ipaddr.h /usr/include/stdint.h
+test_nameserver_file.o: /usr/include/features.h /usr/include/sys/cdefs.h
+test_nameserver_file.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+test_nameserver_file.o: /usr/include/bits/wordsize.h resolvproto.h
+test_nameserver_resolvnext.o: nameserver.h ipaddr.h /usr/include/stdint.h
+test_nameserver_resolvnext.o: /usr/include/features.h
+test_nameserver_resolvnext.o: /usr/include/sys/cdefs.h
+test_nameserver_resolvnext.o: /usr/include/gnu/stubs.h
+test_nameserver_resolvnext.o: /usr/include/bits/wchar.h
+test_nameserver_resolvnext.o: /usr/include/bits/wordsize.h resolvproto.h
+test_recv.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
 test_recv.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 test_recv.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
 test_recv.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
 test_recv.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 test_recv.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
 test_recv.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
@@ -111,7 +316,95 @@ test_recv.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
 test_recv.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
 test_recv.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
 test_recv.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
 test_recv.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
 test_recv.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
 test_recv.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
-test_send.o: dev.h /usr/include/unistd.h /usr/include/features.h
+test_resolvprotoc.o: resolvproto.h ipaddr.h /usr/include/stdint.h
+test_resolvprotoc.o: /usr/include/features.h /usr/include/sys/cdefs.h
+test_resolvprotoc.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+test_resolvprotoc.o: /usr/include/bits/wordsize.h libtcp.h
+test_resolvprotoc.o: /usr/include/stdio.h /usr/include/bits/types.h
+test_resolvprotoc.o: /usr/include/bits/typesizes.h /usr/include/libio.h
+test_resolvprotoc.o: /usr/include/_G_config.h /usr/include/wchar.h
+test_resolvprotoc.o: /usr/include/gconv.h /usr/include/bits/stdio_lim.h
+test_resolvprotoc.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
+test_resolvprotoc.o: /usr/include/sys/types.h /usr/include/time.h
+test_resolvprotoc.o: /usr/include/endian.h /usr/include/bits/endian.h
+test_resolvprotoc.o: /usr/include/sys/select.h /usr/include/bits/select.h
+test_resolvprotoc.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+test_resolvprotoc.o: /usr/include/sys/sysmacros.h
+test_resolvprotoc.o: /usr/include/bits/pthreadtypes.h
+test_resolvprotoc.o: /usr/include/bits/sched.h /usr/include/alloca.h
+test_resolvprotoc.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+test_resolvprotoc.o: /usr/include/bits/confname.h /usr/include/getopt.h
+test_resolvprotoc.o: /usr/include/signal.h /usr/include/bits/signum.h
+test_resolvprotoc.o: /usr/include/bits/siginfo.h
+test_resolvprotoc.o: /usr/include/bits/sigaction.h
+test_resolvprotoc.o: /usr/include/bits/sigcontext.h
+test_resolvprotoc.o: /usr/include/asm/sigcontext.h
+test_resolvprotoc.o: /usr/include/asm-i486/sigcontext.h
+test_resolvprotoc.o: /usr/include/linux/compiler.h
+test_resolvprotoc.o: /usr/include/bits/sigstack.h
+test_resolvprotoc.o: /usr/include/bits/sigthread.h /usr/include/sys/wait.h
+test_resolvprotoc.o: /usr/include/sys/resource.h /usr/include/bits/resource.h
+test_resolvprotoc.o: /usr/include/bits/waitflags.h
+test_resolvprotoc.o: /usr/include/bits/waitstatus.h /usr/include/string.h
+test_resolvprotoc.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
+test_resolvprotoc.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
+test_resolvprotoc.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
+test_resolvprotoc.o: /usr/include/bits/local_lim.h
+test_resolvprotoc.o: /usr/include/linux/limits.h
+test_resolvprotoc.o: /usr/include/bits/posix2_lim.h
+test_resolvprotoc.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
+test_resolvprotoc.o: /usr/include/asm-i486/socket.h
+test_resolvprotoc.o: /usr/include/asm/sockios.h
+test_resolvprotoc.o: /usr/include/asm-i486/sockios.h
+test_resolvprotoc.o: /usr/include/netinet/in.h /usr/include/bits/in.h
+test_resolvprotoc.o: /usr/include/bits/byteswap.h /usr/include/arpa/inet.h
+test_resolvprotoc.o: /usr/include/netdb.h /usr/include/rpc/netdb.h
+test_resolvprotoc.o: /usr/include/bits/netdb.h
+test_resolvprotos.o: resolvproto.h ipaddr.h /usr/include/stdint.h
+test_resolvprotos.o: /usr/include/features.h /usr/include/sys/cdefs.h
+test_resolvprotos.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+test_resolvprotos.o: /usr/include/bits/wordsize.h libtcp.h
+test_resolvprotos.o: /usr/include/stdio.h /usr/include/bits/types.h
+test_resolvprotos.o: /usr/include/bits/typesizes.h /usr/include/libio.h
+test_resolvprotos.o: /usr/include/_G_config.h /usr/include/wchar.h
+test_resolvprotos.o: /usr/include/gconv.h /usr/include/bits/stdio_lim.h
+test_resolvprotos.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
+test_resolvprotos.o: /usr/include/sys/types.h /usr/include/time.h
+test_resolvprotos.o: /usr/include/endian.h /usr/include/bits/endian.h
+test_resolvprotos.o: /usr/include/sys/select.h /usr/include/bits/select.h
+test_resolvprotos.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+test_resolvprotos.o: /usr/include/sys/sysmacros.h
+test_resolvprotos.o: /usr/include/bits/pthreadtypes.h
+test_resolvprotos.o: /usr/include/bits/sched.h /usr/include/alloca.h
+test_resolvprotos.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+test_resolvprotos.o: /usr/include/bits/confname.h /usr/include/getopt.h
+test_resolvprotos.o: /usr/include/signal.h /usr/include/bits/signum.h
+test_resolvprotos.o: /usr/include/bits/siginfo.h
+test_resolvprotos.o: /usr/include/bits/sigaction.h
+test_resolvprotos.o: /usr/include/bits/sigcontext.h
+test_resolvprotos.o: /usr/include/asm/sigcontext.h
+test_resolvprotos.o: /usr/include/asm-i486/sigcontext.h
+test_resolvprotos.o: /usr/include/linux/compiler.h
+test_resolvprotos.o: /usr/include/bits/sigstack.h
+test_resolvprotos.o: /usr/include/bits/sigthread.h /usr/include/sys/wait.h
+test_resolvprotos.o: /usr/include/sys/resource.h /usr/include/bits/resource.h
+test_resolvprotos.o: /usr/include/bits/waitflags.h
+test_resolvprotos.o: /usr/include/bits/waitstatus.h /usr/include/string.h
+test_resolvprotos.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
+test_resolvprotos.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
+test_resolvprotos.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
+test_resolvprotos.o: /usr/include/bits/local_lim.h
+test_resolvprotos.o: /usr/include/linux/limits.h
+test_resolvprotos.o: /usr/include/bits/posix2_lim.h
+test_resolvprotos.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
+test_resolvprotos.o: /usr/include/asm-i486/socket.h
+test_resolvprotos.o: /usr/include/asm/sockios.h
+test_resolvprotos.o: /usr/include/asm-i486/sockios.h
+test_resolvprotos.o: /usr/include/netinet/in.h /usr/include/bits/in.h
+test_resolvprotos.o: /usr/include/bits/byteswap.h /usr/include/arpa/inet.h
+test_resolvprotos.o: /usr/include/netdb.h /usr/include/rpc/netdb.h
+test_resolvprotos.o: /usr/include/bits/netdb.h
+test_send.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
 test_send.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 test_send.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
 test_send.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
 test_send.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 test_send.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
 test_send.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
@@ -125,3 +418,73 @@ test_send.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
 test_send.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
 test_send.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
 test_send.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
 test_send.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
 test_send.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
 test_send.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
+libtcp.o: libtcp.h /usr/include/stdio.h /usr/include/features.h
+libtcp.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+libtcp.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h
+libtcp.o: /usr/include/bits/typesizes.h /usr/include/libio.h
+libtcp.o: /usr/include/_G_config.h /usr/include/wchar.h
+libtcp.o: /usr/include/bits/wchar.h /usr/include/gconv.h
+libtcp.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
+libtcp.o: /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h
+libtcp.o: /usr/include/endian.h /usr/include/bits/endian.h
+libtcp.o: /usr/include/sys/select.h /usr/include/bits/select.h
+libtcp.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+libtcp.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
+libtcp.o: /usr/include/bits/sched.h /usr/include/alloca.h
+libtcp.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+libtcp.o: /usr/include/bits/confname.h /usr/include/getopt.h
+libtcp.o: /usr/include/signal.h /usr/include/bits/signum.h
+libtcp.o: /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h
+libtcp.o: /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h
+libtcp.o: /usr/include/asm-i486/sigcontext.h /usr/include/linux/compiler.h
+libtcp.o: /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h
+libtcp.o: /usr/include/sys/wait.h /usr/include/sys/resource.h
+libtcp.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
+libtcp.o: /usr/include/bits/waitstatus.h /usr/include/string.h
+libtcp.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
+libtcp.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
+libtcp.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
+libtcp.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
+libtcp.o: /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h
+libtcp.o: /usr/include/asm/socket.h /usr/include/asm-i486/socket.h
+libtcp.o: /usr/include/asm/sockios.h /usr/include/asm-i486/sockios.h
+libtcp.o: /usr/include/netinet/in.h /usr/include/stdint.h
+libtcp.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
+libtcp.o: /usr/include/arpa/inet.h /usr/include/netdb.h
+libtcp.o: /usr/include/rpc/netdb.h /usr/include/bits/netdb.h
+test_poll.o: libtcp.h /usr/include/stdio.h /usr/include/features.h
+test_poll.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+test_poll.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h
+test_poll.o: /usr/include/bits/typesizes.h /usr/include/libio.h
+test_poll.o: /usr/include/_G_config.h /usr/include/wchar.h
+test_poll.o: /usr/include/bits/wchar.h /usr/include/gconv.h
+test_poll.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
+test_poll.o: /usr/include/stdlib.h /usr/include/sys/types.h
+test_poll.o: /usr/include/time.h /usr/include/endian.h
+test_poll.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+test_poll.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+test_poll.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+test_poll.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+test_poll.o: /usr/include/alloca.h /usr/include/unistd.h
+test_poll.o: /usr/include/bits/posix_opt.h /usr/include/bits/confname.h
+test_poll.o: /usr/include/getopt.h /usr/include/signal.h
+test_poll.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
+test_poll.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
+test_poll.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
+test_poll.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
+test_poll.o: /usr/include/bits/sigthread.h /usr/include/sys/wait.h
+test_poll.o: /usr/include/sys/resource.h /usr/include/bits/resource.h
+test_poll.o: /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h
+test_poll.o: /usr/include/string.h /usr/include/sys/socket.h
+test_poll.o: /usr/include/sys/uio.h /usr/include/bits/uio.h
+test_poll.o: /usr/include/bits/socket.h /usr/include/limits.h
+test_poll.o: /usr/include/bits/posix1_lim.h /usr/include/bits/local_lim.h
+test_poll.o: /usr/include/linux/limits.h /usr/include/bits/posix2_lim.h
+test_poll.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
+test_poll.o: /usr/include/asm-i486/socket.h /usr/include/asm/sockios.h
+test_poll.o: /usr/include/asm-i486/sockios.h /usr/include/netinet/in.h
+test_poll.o: /usr/include/stdint.h /usr/include/bits/in.h
+test_poll.o: /usr/include/bits/byteswap.h /usr/include/arpa/inet.h
+test_poll.o: /usr/include/netdb.h /usr/include/rpc/netdb.h
+test_poll.o: /usr/include/bits/netdb.h /usr/include/assert.h
+test_poll.o: /usr/include/sys/poll.h /usr/include/bits/poll.h