]> git.llucax.com Git - z.facultad/75.74/practicos.git/blob - practicas/pipi/src/Makefile
Implementada y probada mínimamente la capa física usando TPC "doble vía" con un
[z.facultad/75.74/practicos.git] / practicas / pipi / src / Makefile
1 # Makefile de ejemplo para C++
2
3 # Creado: jue abr 15 15:34:19 ART 2004
4 #
5 # Copyleft 2004 - Leandro Lucarella, Bajo licencia GPL [http://www.gnu.org/]
6 #
7
8 # CONFIGURACION 
9 ################
10
11 # Opciones para el compilador C/C++ en modo ansi.
12 CFLAGS = -Wall -ansi -pedantic-errors
13
14 # Para que explote lo mas posible
15 #CFLAGS += -O3 -DNDEBUG
16
17 # Para valgrind o debug
18 CFLAGS += -ggdb -DDEBUG
19
20 # Para más verbose
21 CFLAGS += -DDEBUG2
22
23 # Opciones para el compilador C++.
24 CXXFLAGS = $(CFLAGS) -fno-inline
25
26 # Opciones del enlazador.
27 #LDFLAGS=
28
29 # Compilador.
30 CC=g++
31
32 # Programas
33 targets=ip
34 tests=test_send test_recv test_ipaddr test_ipin test_ipout test_devtcp
35
36 # Fuentes
37 fuentes ?= $(wildcard *.cpp) $(wildcard *.c)
38
39
40 # REGLAS
41 #########
42
43 .PHONY: all clean
44
45 all: depend $(targets)
46
47 tests: depend $(tests)
48
49 test_send: test_send.o devque.o
50
51 test_recv: test_recv.o devque.o
52
53 test_ipaddr: test_ipaddr.o ipaddr.o ipheader.o
54
55 test_ipin: test_ipin.o ipin.o ipaddr.o ipheader.o devque.o
56
57 test_ipout: test_ipout.o ipout.o ipaddr.o ipheader.o devque.o routetable.o
58
59 test_devtcp: test_devtcp.o devtcp.o libtcp.o ipaddr.o
60
61 ip: ip.o ipout.o ipin.o ipaddr.o ipheader.o devque.o routetable.o
62
63 depend:
64         @makedepend $(fuentes) > /dev/null 2>&1
65
66 clean:
67         @$(RM) -fv *.o Makefile.bak $(targets)
68
69 # DO NOT DELETE
70
71 devque.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
72 devque.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
73 devque.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
74 devque.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
75 devque.o: /usr/include/bits/confname.h /usr/include/getopt.h
76 devque.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
77 devque.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
78 devque.o: /usr/include/bits/endian.h /usr/include/sys/select.h
79 devque.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
80 devque.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
81 devque.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
82 devque.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
83 devque.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
84 devque.o: /usr/include/bits/msq.h
85 devtcp.o: devtcp.h dev.h /usr/include/stdint.h /usr/include/features.h
86 devtcp.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
87 devtcp.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
88 devtcp.o: /usr/include/sys/poll.h /usr/include/bits/poll.h ipaddr.h libtcp.h
89 devtcp.o: /usr/include/stdio.h /usr/include/bits/types.h
90 devtcp.o: /usr/include/bits/typesizes.h /usr/include/libio.h
91 devtcp.o: /usr/include/_G_config.h /usr/include/wchar.h /usr/include/gconv.h
92 devtcp.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
93 devtcp.o: /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h
94 devtcp.o: /usr/include/endian.h /usr/include/bits/endian.h
95 devtcp.o: /usr/include/sys/select.h /usr/include/bits/select.h
96 devtcp.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
97 devtcp.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
98 devtcp.o: /usr/include/bits/sched.h /usr/include/alloca.h
99 devtcp.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
100 devtcp.o: /usr/include/bits/confname.h /usr/include/getopt.h
101 devtcp.o: /usr/include/signal.h /usr/include/bits/signum.h
102 devtcp.o: /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h
103 devtcp.o: /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h
104 devtcp.o: /usr/include/asm-i486/sigcontext.h /usr/include/linux/compiler.h
105 devtcp.o: /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h
106 devtcp.o: /usr/include/sys/wait.h /usr/include/sys/resource.h
107 devtcp.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
108 devtcp.o: /usr/include/bits/waitstatus.h /usr/include/string.h
109 devtcp.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
110 devtcp.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
111 devtcp.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
112 devtcp.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
113 devtcp.o: /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h
114 devtcp.o: /usr/include/asm/socket.h /usr/include/asm-i486/socket.h
115 devtcp.o: /usr/include/asm/sockios.h /usr/include/asm-i486/sockios.h
116 devtcp.o: /usr/include/netinet/in.h /usr/include/bits/in.h
117 devtcp.o: /usr/include/bits/byteswap.h /usr/include/arpa/inet.h
118 devtcp.o: /usr/include/netdb.h /usr/include/rpc/netdb.h
119 devtcp.o: /usr/include/bits/netdb.h /usr/include/fcntl.h
120 devtcp.o: /usr/include/bits/fcntl.h /usr/include/sys/ipc.h
121 devtcp.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
122 devtcp.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
123 ip.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
124 ip.o: /usr/include/features.h /usr/include/sys/cdefs.h
125 ip.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
126 ip.o: /usr/include/bits/wordsize.h routetable.h dev.h ipin.h devque.h
127 ip.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
128 ip.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
129 ip.o: /usr/include/bits/confname.h /usr/include/getopt.h /usr/include/fcntl.h
130 ip.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h /usr/include/time.h
131 ip.o: /usr/include/endian.h /usr/include/bits/endian.h
132 ip.o: /usr/include/sys/select.h /usr/include/bits/select.h
133 ip.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
134 ip.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
135 ip.o: /usr/include/bits/sched.h /usr/include/sys/wait.h /usr/include/signal.h
136 ip.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
137 ip.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
138 ip.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
139 ip.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
140 ip.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
141 ip.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
142 ip.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
143 ip.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
144 ip.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
145 ipaddr.o: ipaddr.h
146 ipheader.o: ipheader.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
147 ipheader.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
148 ipheader.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
149 ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
150 ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
151 ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
152 ipin.o: /usr/include/bits/wordsize.h dev.h
153 ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
154 ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
155 ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
156 ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
157 ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
158 ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
159 ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
160 ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
161 ipout.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
162 ipout.o: /usr/include/bits/endian.h /usr/include/sys/select.h
163 ipout.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
164 ipout.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
165 ipout.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
166 ipout.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
167 ipout.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
168 ipout.o: /usr/include/bits/msq.h
169 routetable.o: routetable.h dev.h ipaddr.h
170 test_devtcp.o: ipaddr.h devtcp.h dev.h /usr/include/stdint.h
171 test_devtcp.o: /usr/include/features.h /usr/include/sys/cdefs.h
172 test_devtcp.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
173 test_devtcp.o: /usr/include/bits/wordsize.h /usr/include/sys/poll.h
174 test_devtcp.o: /usr/include/bits/poll.h /usr/include/unistd.h
175 test_devtcp.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
176 test_devtcp.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
177 test_devtcp.o: /usr/include/getopt.h /usr/include/fcntl.h
178 test_devtcp.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
179 test_devtcp.o: /usr/include/time.h /usr/include/endian.h
180 test_devtcp.o: /usr/include/bits/endian.h /usr/include/sys/select.h
181 test_devtcp.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
182 test_devtcp.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
183 test_devtcp.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
184 test_devtcp.o: /usr/include/sys/wait.h /usr/include/signal.h
185 test_devtcp.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
186 test_devtcp.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
187 test_devtcp.o: /usr/include/asm/sigcontext.h
188 test_devtcp.o: /usr/include/asm-i486/sigcontext.h
189 test_devtcp.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
190 test_devtcp.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
191 test_devtcp.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
192 test_devtcp.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
193 test_devtcp.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
194 test_devtcp.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
195 test_ipaddr.o: ipaddr.h ipheader.h /usr/include/stdint.h
196 test_ipaddr.o: /usr/include/features.h /usr/include/sys/cdefs.h
197 test_ipaddr.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
198 test_ipaddr.o: /usr/include/bits/wordsize.h
199 test_ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
200 test_ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
201 test_ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
202 test_ipin.o: /usr/include/bits/wordsize.h dev.h devque.h
203 test_ipin.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
204 test_ipin.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
205 test_ipin.o: /usr/include/bits/confname.h /usr/include/getopt.h
206 test_ipin.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
207 test_ipin.o: /usr/include/sys/types.h /usr/include/time.h
208 test_ipin.o: /usr/include/endian.h /usr/include/bits/endian.h
209 test_ipin.o: /usr/include/sys/select.h /usr/include/bits/select.h
210 test_ipin.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
211 test_ipin.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
212 test_ipin.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
213 test_ipin.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
214 test_ipin.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
215 test_ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
216 test_ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
217 test_ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
218 test_ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h devque.h
219 test_ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
220 test_ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
221 test_ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
222 test_ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
223 test_ipout.o: /usr/include/sys/types.h /usr/include/time.h
224 test_ipout.o: /usr/include/endian.h /usr/include/bits/endian.h
225 test_ipout.o: /usr/include/sys/select.h /usr/include/bits/select.h
226 test_ipout.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
227 test_ipout.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
228 test_ipout.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
229 test_ipout.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
230 test_ipout.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
231 test_recv.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
232 test_recv.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
233 test_recv.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
234 test_recv.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
235 test_recv.o: /usr/include/bits/confname.h /usr/include/getopt.h
236 test_recv.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
237 test_recv.o: /usr/include/sys/types.h /usr/include/time.h
238 test_recv.o: /usr/include/endian.h /usr/include/bits/endian.h
239 test_recv.o: /usr/include/sys/select.h /usr/include/bits/select.h
240 test_recv.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
241 test_recv.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
242 test_recv.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
243 test_recv.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
244 test_recv.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
245 test_send.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
246 test_send.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
247 test_send.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
248 test_send.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
249 test_send.o: /usr/include/bits/confname.h /usr/include/getopt.h
250 test_send.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
251 test_send.o: /usr/include/sys/types.h /usr/include/time.h
252 test_send.o: /usr/include/endian.h /usr/include/bits/endian.h
253 test_send.o: /usr/include/sys/select.h /usr/include/bits/select.h
254 test_send.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
255 test_send.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
256 test_send.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
257 test_send.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
258 test_send.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
259 libtcp.o: libtcp.h /usr/include/stdio.h /usr/include/features.h
260 libtcp.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
261 libtcp.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h
262 libtcp.o: /usr/include/bits/typesizes.h /usr/include/libio.h
263 libtcp.o: /usr/include/_G_config.h /usr/include/wchar.h
264 libtcp.o: /usr/include/bits/wchar.h /usr/include/gconv.h
265 libtcp.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
266 libtcp.o: /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h
267 libtcp.o: /usr/include/endian.h /usr/include/bits/endian.h
268 libtcp.o: /usr/include/sys/select.h /usr/include/bits/select.h
269 libtcp.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
270 libtcp.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
271 libtcp.o: /usr/include/bits/sched.h /usr/include/alloca.h
272 libtcp.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
273 libtcp.o: /usr/include/bits/confname.h /usr/include/getopt.h
274 libtcp.o: /usr/include/signal.h /usr/include/bits/signum.h
275 libtcp.o: /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h
276 libtcp.o: /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h
277 libtcp.o: /usr/include/asm-i486/sigcontext.h /usr/include/linux/compiler.h
278 libtcp.o: /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h
279 libtcp.o: /usr/include/sys/wait.h /usr/include/sys/resource.h
280 libtcp.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
281 libtcp.o: /usr/include/bits/waitstatus.h /usr/include/string.h
282 libtcp.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
283 libtcp.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
284 libtcp.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
285 libtcp.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
286 libtcp.o: /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h
287 libtcp.o: /usr/include/asm/socket.h /usr/include/asm-i486/socket.h
288 libtcp.o: /usr/include/asm/sockios.h /usr/include/asm-i486/sockios.h
289 libtcp.o: /usr/include/netinet/in.h /usr/include/stdint.h
290 libtcp.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
291 libtcp.o: /usr/include/arpa/inet.h /usr/include/netdb.h
292 libtcp.o: /usr/include/rpc/netdb.h /usr/include/bits/netdb.h