]> 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 bbd1d679cee89c8c27ffb8e646a9155e2d5c2589..9110dca0bcf4966fb6906221d9f5f91535feb4e7 100644 (file)
@@ -32,7 +32,8 @@ CC=g++
 # Programas
 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_poll test_resolvprotos test_resolvprotoc test_nameserver_file \
+      test_nameserver_resolvnext
 
 # Fuentes
 fuentes ?= $(wildcard *.cpp) $(wildcard *.c)
@@ -61,13 +62,22 @@ 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
 
-test_nameserver_file: test_nameserver_file.o ipaddr.o nameserver.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
 
-ip: ip.o ipout.o ipin.o ipaddr.o ipheader.o devque.o devtcp.o routetable.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
@@ -180,7 +190,7 @@ 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
+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
@@ -285,7 +295,13 @@ 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
+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