]> git.llucax.com Git - z.facultad/75.74/practicos.git/blobdiff - practicas/pipi/src/Makefile
Agrega records al cache.
[z.facultad/75.74/practicos.git] / practicas / pipi / src / Makefile
index d312d83e9fcc5b1c99ef94a2aafcab337e3e0240..c543be5cbdd40c9f17c26ce6f7b00a09f9fa1171 100644 (file)
@@ -16,9 +16,18 @@ CFLAGS = -Wall -ansi -pedantic-errors
 
 # Para valgrind o debug
 CFLAGS += -ggdb -DDEBUG
+debug = 1
 
 # Para más verbose
-#CFLAGS += -DDEBUG2
+ifdef debug
+#CFLAGS += -DDEBUG_IP
+#CFLAGS += -DDEBUG_QUE
+#CFLAGS += -DDEBUG_NAME
+#CFLAGS += -DDEBUG_ROUTE
+CFLAGS += -DDEBUG_TRACE
+CFLAGS += -DDEBUG_RESOLV
+#CFLAGS += -DDEBUG_LIBTCP
+endif
 
 # Opciones para el compilador C++.
 CXXFLAGS = $(CFLAGS) -fno-inline
@@ -30,12 +39,16 @@ CXXFLAGS = $(CFLAGS) -fno-inline
 CC=g++
 
 # Programas
-targets=ip
-tests=test_send test_recv test_ipaddr test_ipin test_ipout
+targets=ip dns res
+tests=test_send test_recv test_ipaddr test_ipin test_ipout test_devtcp \
+      test_poll test_resolvproto
 
 # Fuentes
-fuentes ?= $(wildcard *.cpp)
+fuentes ?= $(wildcard *.cpp) $(wildcard *.c)
 
+ip_objs=ipout.o ipin.o ipaddr.o ipheader.o devque.o devtcp.o routetable.o \
+       libtcp.o
+dns_objs=resolvproto.o
 
 # REGLAS
 #########
@@ -56,23 +69,34 @@ 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
 
-ip: ip.o ipout.o ipin.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
+
+test_resolvproto: test_resolvproto.o resolvproto.o ipaddr.o
+
+ip: ip.o $(ip_objs)
+
+dns: dns.o nameserver.o $(ip_objs) $(dns_objs)
+
+res: res.o resolver.o $(ip_objs) $(dns_objs)
 
 depend:
        @makedepend $(fuentes) > /dev/null 2>&1
 
 clean:
-       @$(RM) -fv *.o Makefile.bak $(targets)
+       @$(RM) -fv *.o Makefile.bak $(targets) $(tests)
 
 # DO NOT DELETE
 
 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/sys/cdefs.h /usr/include/bits/wordsize.h
+devque.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.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/typesizes.h /usr/include/bits/confname.h
+devque.o: /usr/include/getopt.h /usr/include/fcntl.h
+devque.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
+devque.o: /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
@@ -80,10 +104,78 @@ 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
-ip.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
-ip.o: /usr/include/features.h /usr/include/sys/cdefs.h
-ip.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
-ip.o: /usr/include/bits/wordsize.h routetable.h dev.h ipin.h devque.h
+devtcp.o: devtcp.h dev.h /usr/include/stdint.h /usr/include/features.h
+devtcp.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+devtcp.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+devtcp.o: /usr/include/bits/wchar.h /usr/include/sys/poll.h
+devtcp.o: /usr/include/bits/poll.h ipaddr.h libtcp.h /usr/include/stdio.h
+devtcp.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+devtcp.o: /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h
+devtcp.o: /usr/include/gconv.h /usr/include/bits/stdio_lim.h
+devtcp.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
+devtcp.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+devtcp.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+devtcp.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+devtcp.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+devtcp.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+devtcp.o: /usr/include/alloca.h /usr/include/unistd.h
+devtcp.o: /usr/include/bits/posix_opt.h /usr/include/bits/confname.h
+devtcp.o: /usr/include/getopt.h /usr/include/signal.h
+devtcp.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
+devtcp.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
+devtcp.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
+devtcp.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
+devtcp.o: /usr/include/bits/sigthread.h /usr/include/sys/wait.h
+devtcp.o: /usr/include/sys/resource.h /usr/include/bits/resource.h
+devtcp.o: /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h
+devtcp.o: /usr/include/string.h /usr/include/sys/socket.h
+devtcp.o: /usr/include/sys/uio.h /usr/include/bits/uio.h
+devtcp.o: /usr/include/bits/socket.h /usr/include/limits.h
+devtcp.o: /usr/include/bits/posix1_lim.h /usr/include/bits/local_lim.h
+devtcp.o: /usr/include/linux/limits.h /usr/include/bits/posix2_lim.h
+devtcp.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
+devtcp.o: /usr/include/asm-i486/socket.h /usr/include/asm/sockios.h
+devtcp.o: /usr/include/asm-i486/sockios.h /usr/include/netinet/in.h
+devtcp.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
+devtcp.o: /usr/include/arpa/inet.h /usr/include/netdb.h
+devtcp.o: /usr/include/rpc/netdb.h /usr/include/bits/netdb.h
+devtcp.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
+devtcp.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+devtcp.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+devtcp.o: /usr/include/bits/msq.h
+dns.o: ipout.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+dns.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+dns.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+dns.o: /usr/include/bits/wchar.h ipheader.h routetable.h dev.h ipin.h
+dns.o: devtcp.h /usr/include/sys/poll.h /usr/include/bits/poll.h devque.h
+dns.o: nameserver.h resolvproto.h /usr/include/unistd.h
+dns.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+dns.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+dns.o: /usr/include/getopt.h /usr/include/fcntl.h /usr/include/bits/fcntl.h
+dns.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+dns.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+dns.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+dns.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+dns.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+dns.o: /usr/include/sys/wait.h /usr/include/signal.h
+dns.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
+dns.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
+dns.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
+dns.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
+dns.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
+dns.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
+dns.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
+dns.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
+dns.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/bits/wordsize.h
+ipaddr.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+ipaddr.o: /usr/include/bits/wchar.h
+ip.o: ipout.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+ip.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+ip.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+ip.o: /usr/include/bits/wchar.h ipheader.h routetable.h dev.h ipin.h devtcp.h
+ip.o: /usr/include/sys/poll.h /usr/include/bits/poll.h devque.h
 ip.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
 ip.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
 ip.o: /usr/include/bits/confname.h /usr/include/getopt.h /usr/include/fcntl.h
@@ -102,18 +194,18 @@ 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
 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
-ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
-ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
-ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
-ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
+ipheader.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+ipheader.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+ipheader.o: /usr/include/bits/wchar.h
+ipin.o: ipin.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+ipin.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+ipin.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+ipin.o: /usr/include/bits/wchar.h ipheader.h 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/bits/wordsize.h
+ipout.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+ipout.o: /usr/include/bits/wchar.h ipheader.h routetable.h dev.h
 ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
 ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
 ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
@@ -126,15 +218,82 @@ 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
-routetable.o: routetable.h dev.h ipaddr.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 devque.h
+nameserver.o: nameserver.h devque.h dev.h ipaddr.h /usr/include/stdint.h
+nameserver.o: /usr/include/features.h /usr/include/sys/cdefs.h
+nameserver.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
+nameserver.o: /usr/include/gnu/stubs-32.h /usr/include/bits/wchar.h
+nameserver.o: resolvproto.h ipin.h ipheader.h ipout.h routetable.h
+res.o: ipout.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
+res.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+res.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+res.o: /usr/include/bits/wchar.h ipheader.h routetable.h dev.h ipin.h
+res.o: devtcp.h /usr/include/sys/poll.h /usr/include/bits/poll.h devque.h
+res.o: resolver.h resolvproto.h /usr/include/unistd.h
+res.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+res.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+res.o: /usr/include/getopt.h /usr/include/fcntl.h /usr/include/bits/fcntl.h
+res.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+res.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+res.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+res.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+res.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+res.o: /usr/include/sys/wait.h /usr/include/signal.h
+res.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
+res.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
+res.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
+res.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
+res.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
+res.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
+res.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
+res.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
+res.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
+resolver.o: resolver.h devque.h dev.h ipaddr.h /usr/include/stdint.h
+resolver.o: /usr/include/features.h /usr/include/sys/cdefs.h
+resolver.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
+resolver.o: /usr/include/gnu/stubs-32.h /usr/include/bits/wchar.h
+resolver.o: resolvproto.h ipin.h ipheader.h ipout.h routetable.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/bits/wordsize.h /usr/include/gnu/stubs.h
+resolvproto.o: /usr/include/gnu/stubs-32.h /usr/include/bits/wchar.h ipin.h
+resolvproto.o: ipheader.h dev.h ipout.h routetable.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/bits/wordsize.h /usr/include/gnu/stubs.h
+routetable.o: /usr/include/gnu/stubs-32.h /usr/include/bits/wchar.h
+test_devtcp.o: ipaddr.h /usr/include/stdint.h /usr/include/features.h
+test_devtcp.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+test_devtcp.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+test_devtcp.o: /usr/include/bits/wchar.h devtcp.h dev.h
+test_devtcp.o: /usr/include/sys/poll.h /usr/include/bits/poll.h
+test_devtcp.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+test_devtcp.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+test_devtcp.o: /usr/include/bits/confname.h /usr/include/getopt.h
+test_devtcp.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
+test_devtcp.o: /usr/include/sys/types.h /usr/include/time.h
+test_devtcp.o: /usr/include/endian.h /usr/include/bits/endian.h
+test_devtcp.o: /usr/include/sys/select.h /usr/include/bits/select.h
+test_devtcp.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+test_devtcp.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
+test_devtcp.o: /usr/include/bits/sched.h /usr/include/sys/wait.h
+test_devtcp.o: /usr/include/signal.h /usr/include/bits/signum.h
+test_devtcp.o: /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h
+test_devtcp.o: /usr/include/bits/sigcontext.h /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/bits/wordsize.h
+test_ipaddr.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+test_ipaddr.o: /usr/include/bits/wchar.h 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/bits/wordsize.h
+test_ipin.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+test_ipin.o: /usr/include/bits/wchar.h ipheader.h dev.h devque.h
 test_ipin.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
 test_ipin.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
 test_ipin.o: /usr/include/bits/confname.h /usr/include/getopt.h
@@ -147,11 +306,11 @@ test_ipin.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
 test_ipin.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
 test_ipin.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
 test_ipin.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
-test_ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
-test_ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
-test_ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
-test_ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h devque.h
-test_ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.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/bits/wordsize.h
+test_ipout.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+test_ipout.o: /usr/include/bits/wchar.h ipheader.h routetable.h dev.h
+test_ipout.o: devque.h /usr/include/unistd.h /usr/include/bits/posix_opt.h
 test_ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
 test_ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
 test_ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
@@ -163,31 +322,159 @@ test_ipout.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
 test_ipout.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
 test_ipout.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
 test_ipout.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
+test_nameserver_file.o: nameserver.h devque.h dev.h ipaddr.h
+test_nameserver_file.o: /usr/include/stdint.h /usr/include/features.h
+test_nameserver_file.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+test_nameserver_file.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+test_nameserver_file.o: /usr/include/bits/wchar.h resolvproto.h ipin.h
+test_nameserver_file.o: ipheader.h ipout.h routetable.h
+test_nameserver_resolvnext.o: nameserver.h devque.h dev.h ipaddr.h
+test_nameserver_resolvnext.o: /usr/include/stdint.h /usr/include/features.h
+test_nameserver_resolvnext.o: /usr/include/sys/cdefs.h
+test_nameserver_resolvnext.o: /usr/include/bits/wordsize.h
+test_nameserver_resolvnext.o: /usr/include/gnu/stubs.h
+test_nameserver_resolvnext.o: /usr/include/gnu/stubs-32.h
+test_nameserver_resolvnext.o: /usr/include/bits/wchar.h resolvproto.h ipin.h
+test_nameserver_resolvnext.o: ipheader.h ipout.h routetable.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/sys/cdefs.h /usr/include/bits/wordsize.h
+test_recv.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.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/bits/confname.h /usr/include/getopt.h
-test_recv.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
-test_recv.o: /usr/include/sys/types.h /usr/include/time.h
-test_recv.o: /usr/include/endian.h /usr/include/bits/endian.h
-test_recv.o: /usr/include/sys/select.h /usr/include/bits/select.h
-test_recv.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
-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/typesizes.h /usr/include/bits/confname.h
+test_recv.o: /usr/include/getopt.h /usr/include/fcntl.h
+test_recv.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
+test_recv.o: /usr/include/time.h /usr/include/endian.h
+test_recv.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+test_recv.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+test_recv.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+test_recv.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+test_recv.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+test_recv.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+test_recv.o: /usr/include/bits/msq.h
+test_resolvproto.o: resolvproto.h ipaddr.h /usr/include/stdint.h
+test_resolvproto.o: /usr/include/features.h /usr/include/sys/cdefs.h
+test_resolvproto.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
+test_resolvproto.o: /usr/include/gnu/stubs-32.h /usr/include/bits/wchar.h
+test_resolvproto.o: ipin.h ipheader.h dev.h ipout.h routetable.h libtcp.h
+test_resolvproto.o: /usr/include/stdio.h /usr/include/bits/types.h
+test_resolvproto.o: /usr/include/bits/typesizes.h /usr/include/libio.h
+test_resolvproto.o: /usr/include/_G_config.h /usr/include/wchar.h
+test_resolvproto.o: /usr/include/gconv.h /usr/include/bits/stdio_lim.h
+test_resolvproto.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
+test_resolvproto.o: /usr/include/sys/types.h /usr/include/time.h
+test_resolvproto.o: /usr/include/endian.h /usr/include/bits/endian.h
+test_resolvproto.o: /usr/include/sys/select.h /usr/include/bits/select.h
+test_resolvproto.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+test_resolvproto.o: /usr/include/sys/sysmacros.h
+test_resolvproto.o: /usr/include/bits/pthreadtypes.h
+test_resolvproto.o: /usr/include/bits/sched.h /usr/include/alloca.h
+test_resolvproto.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+test_resolvproto.o: /usr/include/bits/confname.h /usr/include/getopt.h
+test_resolvproto.o: /usr/include/signal.h /usr/include/bits/signum.h
+test_resolvproto.o: /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h
+test_resolvproto.o: /usr/include/bits/sigcontext.h
+test_resolvproto.o: /usr/include/asm/sigcontext.h
+test_resolvproto.o: /usr/include/asm-i486/sigcontext.h
+test_resolvproto.o: /usr/include/linux/compiler.h
+test_resolvproto.o: /usr/include/bits/sigstack.h
+test_resolvproto.o: /usr/include/bits/sigthread.h /usr/include/sys/wait.h
+test_resolvproto.o: /usr/include/sys/resource.h /usr/include/bits/resource.h
+test_resolvproto.o: /usr/include/bits/waitflags.h
+test_resolvproto.o: /usr/include/bits/waitstatus.h /usr/include/string.h
+test_resolvproto.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
+test_resolvproto.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
+test_resolvproto.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
+test_resolvproto.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
+test_resolvproto.o: /usr/include/bits/posix2_lim.h
+test_resolvproto.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
+test_resolvproto.o: /usr/include/asm-i486/socket.h /usr/include/asm/sockios.h
+test_resolvproto.o: /usr/include/asm-i486/sockios.h /usr/include/netinet/in.h
+test_resolvproto.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
+test_resolvproto.o: /usr/include/arpa/inet.h /usr/include/netdb.h
+test_resolvproto.o: /usr/include/rpc/netdb.h /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/sys/cdefs.h /usr/include/bits/wordsize.h
+test_send.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.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/bits/confname.h /usr/include/getopt.h
-test_send.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
-test_send.o: /usr/include/sys/types.h /usr/include/time.h
-test_send.o: /usr/include/endian.h /usr/include/bits/endian.h
-test_send.o: /usr/include/sys/select.h /usr/include/bits/select.h
-test_send.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
-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/typesizes.h /usr/include/bits/confname.h
+test_send.o: /usr/include/getopt.h /usr/include/fcntl.h
+test_send.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
+test_send.o: /usr/include/time.h /usr/include/endian.h
+test_send.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+test_send.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+test_send.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+test_send.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+test_send.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+test_send.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+test_send.o: /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/bits/wordsize.h
+libtcp.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+libtcp.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+libtcp.o: /usr/include/libio.h /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/bits/wordsize.h
+test_poll.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+test_poll.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+test_poll.o: /usr/include/libio.h /usr/include/_G_config.h
+test_poll.o: /usr/include/wchar.h /usr/include/bits/wchar.h
+test_poll.o: /usr/include/gconv.h /usr/include/bits/stdio_lim.h
+test_poll.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
+test_poll.o: /usr/include/sys/types.h /usr/include/time.h
+test_poll.o: /usr/include/endian.h /usr/include/bits/endian.h
+test_poll.o: /usr/include/sys/select.h /usr/include/bits/select.h
+test_poll.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+test_poll.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
+test_poll.o: /usr/include/bits/sched.h /usr/include/alloca.h
+test_poll.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+test_poll.o: /usr/include/bits/confname.h /usr/include/getopt.h
+test_poll.o: /usr/include/signal.h /usr/include/bits/signum.h
+test_poll.o: /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h
+test_poll.o: /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h
+test_poll.o: /usr/include/asm-i486/sigcontext.h /usr/include/linux/compiler.h
+test_poll.o: /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h
+test_poll.o: /usr/include/sys/wait.h /usr/include/sys/resource.h
+test_poll.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
+test_poll.o: /usr/include/bits/waitstatus.h /usr/include/string.h
+test_poll.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
+test_poll.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
+test_poll.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
+test_poll.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
+test_poll.o: /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h
+test_poll.o: /usr/include/asm/socket.h /usr/include/asm-i486/socket.h
+test_poll.o: /usr/include/asm/sockios.h /usr/include/asm-i486/sockios.h
+test_poll.o: /usr/include/netinet/in.h /usr/include/stdint.h
+test_poll.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
+test_poll.o: /usr/include/arpa/inet.h /usr/include/netdb.h
+test_poll.o: /usr/include/rpc/netdb.h /usr/include/bits/netdb.h
+test_poll.o: /usr/include/assert.h /usr/include/sys/poll.h
+test_poll.o: /usr/include/bits/poll.h