]> git.llucax.com Git - z.facultad/75.74/practicos.git/blobdiff - practicas/pipi/src/Makefile
No se crea más la cola porque la crea el mismo DevQue.
[z.facultad/75.74/practicos.git] / practicas / pipi / src / Makefile
index f76f0e2053039a5035b5d75b22a49e088740df38..d116c962aa9827ed8ab4112cb032ffae47a0d4f0 100644 (file)
@@ -30,7 +30,7 @@ CXXFLAGS = $(CFLAGS) -fno-inline
 CC=g++
 
 # Programas
 CC=g++
 
 # Programas
-targets=ip
+targets=ip dns
 tests=test_send test_recv test_ipaddr test_ipin test_ipout test_devtcp \
       test_poll test_resolvproto test_nameserver_file \
       test_nameserver_resolvnext
 tests=test_send test_recv test_ipaddr test_ipin test_ipout test_devtcp \
       test_poll test_resolvproto test_nameserver_file \
       test_nameserver_resolvnext
@@ -74,6 +74,8 @@ test_nameserver_resolvnext: test_nameserver_resolvnext.o $(dns_objs) $(ip_objs)
 
 ip: ip.o $(ip_objs)
 
 
 ip: ip.o $(ip_objs)
 
+dns: dns.o $(ip_objs) $(dns_objs)
+
 depend:
        @makedepend $(fuentes) > /dev/null 2>&1
 
 depend:
        @makedepend $(fuentes) > /dev/null 2>&1
 
@@ -138,10 +140,11 @@ dns.o: ipout.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
 dns.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 dns.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h ipheader.h
 dns.o: routetable.h dev.h ipin.h devtcp.h /usr/include/sys/poll.h
 dns.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 dns.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h ipheader.h
 dns.o: routetable.h dev.h ipin.h devtcp.h /usr/include/sys/poll.h
-dns.o: /usr/include/bits/poll.h devque.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/bits/poll.h devque.h nameserver.h resolvproto.h
+dns.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+dns.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+dns.o: /usr/include/bits/confname.h /usr/include/getopt.h
+dns.o: /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/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
@@ -348,51 +351,6 @@ 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_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_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 ipin.h ipheader.h dev.h
-test_resolvprotoc.o: ipout.h routetable.h libtcp.h /usr/include/stdio.h
-test_resolvprotoc.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
-test_resolvprotoc.o: /usr/include/libio.h /usr/include/_G_config.h
-test_resolvprotoc.o: /usr/include/wchar.h /usr/include/gconv.h
-test_resolvprotoc.o: /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_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: 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