]> 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 b3e071ce1b493bcb8b1f89bb4844fceb39a7774f..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_poll test_resolvprotos test_resolvprotoc test_nameserver_file \
+      test_nameserver_resolvnext
 
 # Fuentes
 fuentes ?= $(wildcard *.cpp) $(wildcard *.c)
@@ -61,11 +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
 
-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_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
@@ -175,6 +187,10 @@ 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
@@ -276,6 +292,16 @@ 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