]> git.llucax.com Git - z.facultad/75.74/practicos.git/blob - practicas/pipi/src/Makefile
Se crea una interfaz genérica para interfaces de red (Dev) y se pasa la
[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
35
36 # Fuentes
37 fuentes ?= $(wildcard *.cpp)
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 ip: ip.o ipout.o ipin.o ipaddr.o ipheader.o devque.o routetable.o
60
61 depend:
62         @makedepend $(fuentes) > /dev/null 2>&1
63
64 clean:
65         @$(RM) -fv *.o Makefile.bak $(targets)
66
67 # DO NOT DELETE
68
69 devque.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
70 devque.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
71 devque.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
72 devque.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
73 devque.o: /usr/include/bits/confname.h /usr/include/getopt.h
74 devque.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
75 devque.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
76 devque.o: /usr/include/bits/endian.h /usr/include/sys/select.h
77 devque.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
78 devque.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
79 devque.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
80 devque.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
81 devque.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
82 devque.o: /usr/include/bits/msq.h
83 ip.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
84 ip.o: /usr/include/features.h /usr/include/sys/cdefs.h
85 ip.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
86 ip.o: /usr/include/bits/wordsize.h routetable.h dev.h ipin.h devque.h
87 ip.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
88 ip.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
89 ip.o: /usr/include/bits/confname.h /usr/include/getopt.h /usr/include/fcntl.h
90 ip.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h /usr/include/time.h
91 ip.o: /usr/include/endian.h /usr/include/bits/endian.h
92 ip.o: /usr/include/sys/select.h /usr/include/bits/select.h
93 ip.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
94 ip.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
95 ip.o: /usr/include/bits/sched.h /usr/include/sys/wait.h /usr/include/signal.h
96 ip.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
97 ip.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
98 ip.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
99 ip.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
100 ip.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
101 ip.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
102 ip.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
103 ip.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
104 ip.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
105 ipaddr.o: ipaddr.h
106 ipheader.o: ipheader.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
107 ipheader.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
108 ipheader.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
109 ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
110 ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
111 ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
112 ipin.o: /usr/include/bits/wordsize.h dev.h
113 ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
114 ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
115 ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
116 ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
117 ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
118 ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
119 ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
120 ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
121 ipout.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
122 ipout.o: /usr/include/bits/endian.h /usr/include/sys/select.h
123 ipout.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
124 ipout.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
125 ipout.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
126 ipout.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
127 ipout.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
128 ipout.o: /usr/include/bits/msq.h
129 routetable.o: routetable.h dev.h ipaddr.h
130 test_ipaddr.o: ipaddr.h ipheader.h /usr/include/stdint.h
131 test_ipaddr.o: /usr/include/features.h /usr/include/sys/cdefs.h
132 test_ipaddr.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
133 test_ipaddr.o: /usr/include/bits/wordsize.h
134 test_ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
135 test_ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
136 test_ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
137 test_ipin.o: /usr/include/bits/wordsize.h dev.h devque.h
138 test_ipin.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
139 test_ipin.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
140 test_ipin.o: /usr/include/bits/confname.h /usr/include/getopt.h
141 test_ipin.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
142 test_ipin.o: /usr/include/sys/types.h /usr/include/time.h
143 test_ipin.o: /usr/include/endian.h /usr/include/bits/endian.h
144 test_ipin.o: /usr/include/sys/select.h /usr/include/bits/select.h
145 test_ipin.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
146 test_ipin.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
147 test_ipin.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
148 test_ipin.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
149 test_ipin.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
150 test_ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
151 test_ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
152 test_ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
153 test_ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h devque.h
154 test_ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
155 test_ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
156 test_ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
157 test_ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
158 test_ipout.o: /usr/include/sys/types.h /usr/include/time.h
159 test_ipout.o: /usr/include/endian.h /usr/include/bits/endian.h
160 test_ipout.o: /usr/include/sys/select.h /usr/include/bits/select.h
161 test_ipout.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
162 test_ipout.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
163 test_ipout.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
164 test_ipout.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
165 test_ipout.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
166 test_recv.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
167 test_recv.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
168 test_recv.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
169 test_recv.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
170 test_recv.o: /usr/include/bits/confname.h /usr/include/getopt.h
171 test_recv.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
172 test_recv.o: /usr/include/sys/types.h /usr/include/time.h
173 test_recv.o: /usr/include/endian.h /usr/include/bits/endian.h
174 test_recv.o: /usr/include/sys/select.h /usr/include/bits/select.h
175 test_recv.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
176 test_recv.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
177 test_recv.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
178 test_recv.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
179 test_recv.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
180 test_send.o: devque.h dev.h /usr/include/unistd.h /usr/include/features.h
181 test_send.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
182 test_send.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
183 test_send.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
184 test_send.o: /usr/include/bits/confname.h /usr/include/getopt.h
185 test_send.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
186 test_send.o: /usr/include/sys/types.h /usr/include/time.h
187 test_send.o: /usr/include/endian.h /usr/include/bits/endian.h
188 test_send.o: /usr/include/sys/select.h /usr/include/bits/select.h
189 test_send.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
190 test_send.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
191 test_send.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
192 test_send.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
193 test_send.o: /usr/include/sys/msg.h /usr/include/bits/msq.h