[mcproxy] Add support for mcproxy v1.1.0.
[feed/routing.git] / mcproxy / src / Makefile
1 OBJECTS = main.o \
2 hamcast_logging.o \
3 mc_socket.o \
4 addr_storage.o \
5 mroute_socket.o \
6 if_prop.o \
7 reverse_path_filter.o \
8 proxy.o \
9 sender.o \
10 receiver.o \
11 mld_receiver.o \
12 igmp_receiver.o \
13 mld_sender.o \
14 igmp_sender.o \
15 proxy_instance.o \
16 routing.o \
17 worker.o \
18 timing.o \
19 check_if.o \
20 check_kernel.o \
21 membership_db.o \
22 querier.o \
23 timers_values.o \
24 interfaces.o \
25 def.o \
26 simple_mc_proxy_routing.o \
27 simple_routing_data.o \
28 scanner.o \
29 token.o \
30 configuration.o \
31 parser.o \
32 interface.o
33
34 TARGET = mcproxy
35
36 ####### Implicit rules
37
38 .cpp.o:
39 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
40
41 ####### Build rules
42
43 all: $(TARGET)
44
45 $(TARGET): $(OBJECTS)
46 $(CXX) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
47
48 clean:
49 rm -f $(OBJECTS) $(TARGET)
50
51 ####### Compile
52
53 main.o: src/main.cpp include/hamcast_logging.h \
54 include/utils/if_prop.hpp \
55 include/utils/mc_socket.hpp \
56 include/utils/addr_storage.hpp \
57 include/utils/mroute_socket.hpp \
58 include/proxy/proxy.hpp \
59 include/proxy/timing.hpp \
60 include/proxy/message_format.hpp \
61 include/proxy/def.hpp \
62 include/proxy/interfaces.hpp \
63 include/utils/reverse_path_filter.hpp \
64 include/proxy/timers_values.hpp \
65 include/parser/interface.hpp \
66 include/proxy/check_if.hpp \
67 include/proxy/membership_db.hpp \
68 include/proxy/querier.hpp \
69 include/proxy/proxy_instance.hpp \
70 include/proxy/worker.hpp \
71 include/proxy/message_queue.hpp \
72 include/proxy/simple_mc_proxy_routing.hpp \
73 include/proxy/routing_management.hpp \
74 include/proxy/simple_routing_data.hpp \
75 include/proxy/igmp_sender.hpp \
76 include/proxy/sender.hpp \
77 include/parser/configuration.hpp \
78 include/parser/token.hpp \
79 include/tester/tester.hpp \
80 include/tester/config_map.hpp
81 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o src/main.cpp
82
83 hamcast_logging.o: src/hamcast_logging.cpp include/hamcast_logging.h
84 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hamcast_logging.o src/hamcast_logging.cpp
85
86 mc_socket.o: src/utils/mc_socket.cpp include/hamcast_logging.h \
87 include/utils/mc_socket.hpp \
88 include/utils/addr_storage.hpp
89 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mc_socket.o src/utils/mc_socket.cpp
90
91 addr_storage.o: src/utils/addr_storage.cpp include/hamcast_logging.h \
92 include/utils/addr_storage.hpp
93 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o addr_storage.o src/utils/addr_storage.cpp
94
95 mroute_socket.o: src/utils/mroute_socket.cpp include/hamcast_logging.h \
96 include/utils/mroute_socket.hpp \
97 include/utils/mc_socket.hpp \
98 include/utils/addr_storage.hpp \
99 include/utils/extended_mld_defines.hpp
100 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mroute_socket.o src/utils/mroute_socket.cpp
101
102 if_prop.o: src/utils/if_prop.cpp include/hamcast_logging.h \
103 include/utils/if_prop.hpp \
104 include/utils/addr_storage.hpp
105 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o if_prop.o src/utils/if_prop.cpp
106
107 reverse_path_filter.o: src/utils/reverse_path_filter.cpp include/utils/reverse_path_filter.hpp \
108 include/hamcast_logging.h
109 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o reverse_path_filter.o src/utils/reverse_path_filter.cpp
110
111 proxy.o: src/proxy/proxy.cpp include/hamcast_logging.h \
112 include/proxy/proxy.hpp \
113 include/proxy/check_kernel.hpp \
114 include/proxy/timing.hpp \
115 include/proxy/message_format.hpp \
116 include/utils/addr_storage.hpp \
117 include/proxy/def.hpp \
118 include/proxy/interfaces.hpp \
119 include/utils/if_prop.hpp \
120 include/utils/reverse_path_filter.hpp \
121 include/proxy/timers_values.hpp \
122 include/parser/interface.hpp \
123 include/proxy/proxy_instance.hpp \
124 include/proxy/worker.hpp \
125 include/proxy/message_queue.hpp \
126 include/proxy/querier.hpp \
127 include/proxy/membership_db.hpp \
128 include/parser/configuration.hpp \
129 include/parser/token.hpp
130 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o proxy.o src/proxy/proxy.cpp
131
132 sender.o: src/proxy/sender.cpp include/hamcast_logging.h \
133 include/proxy/sender.hpp \
134 include/utils/mroute_socket.hpp \
135 include/utils/mc_socket.hpp \
136 include/utils/addr_storage.hpp \
137 include/proxy/def.hpp \
138 include/proxy/interfaces.hpp \
139 include/utils/if_prop.hpp \
140 include/utils/reverse_path_filter.hpp \
141 include/proxy/message_format.hpp \
142 include/proxy/timers_values.hpp \
143 include/parser/interface.hpp
144 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o sender.o src/proxy/sender.cpp
145
146 receiver.o: src/proxy/receiver.cpp include/hamcast_logging.h \
147 include/proxy/receiver.hpp \
148 include/utils/mroute_socket.hpp \
149 include/utils/mc_socket.hpp \
150 include/utils/addr_storage.hpp \
151 include/proxy/interfaces.hpp \
152 include/utils/if_prop.hpp \
153 include/utils/reverse_path_filter.hpp \
154 include/proxy/message_format.hpp \
155 include/proxy/def.hpp \
156 include/proxy/timers_values.hpp \
157 include/parser/interface.hpp
158 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o receiver.o src/proxy/receiver.cpp
159
160 mld_receiver.o: src/proxy/mld_receiver.cpp include/hamcast_logging.h \
161 include/proxy/mld_receiver.hpp \
162 include/proxy/receiver.hpp \
163 include/utils/mroute_socket.hpp \
164 include/utils/mc_socket.hpp \
165 include/utils/addr_storage.hpp \
166 include/proxy/interfaces.hpp \
167 include/utils/if_prop.hpp \
168 include/utils/reverse_path_filter.hpp \
169 include/proxy/message_format.hpp \
170 include/proxy/def.hpp \
171 include/proxy/timers_values.hpp \
172 include/parser/interface.hpp \
173 include/proxy/proxy_instance.hpp \
174 include/proxy/worker.hpp \
175 include/proxy/message_queue.hpp \
176 include/proxy/querier.hpp \
177 include/proxy/membership_db.hpp \
178 include/utils/extended_mld_defines.hpp
179 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mld_receiver.o src/proxy/mld_receiver.cpp
180
181 igmp_receiver.o: src/proxy/igmp_receiver.cpp include/hamcast_logging.h \
182 include/proxy/igmp_receiver.hpp \
183 include/proxy/receiver.hpp \
184 include/utils/mroute_socket.hpp \
185 include/utils/mc_socket.hpp \
186 include/utils/addr_storage.hpp \
187 include/proxy/interfaces.hpp \
188 include/utils/if_prop.hpp \
189 include/utils/reverse_path_filter.hpp \
190 include/proxy/message_format.hpp \
191 include/proxy/def.hpp \
192 include/proxy/timers_values.hpp \
193 include/parser/interface.hpp \
194 include/proxy/proxy_instance.hpp \
195 include/proxy/worker.hpp \
196 include/proxy/message_queue.hpp \
197 include/proxy/querier.hpp \
198 include/proxy/membership_db.hpp \
199 include/utils/extended_igmp_defines.hpp
200 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o igmp_receiver.o src/proxy/igmp_receiver.cpp
201
202 mld_sender.o: src/proxy/mld_sender.cpp include/hamcast_logging.h \
203 include/proxy/mld_sender.hpp \
204 include/proxy/sender.hpp \
205 include/utils/mroute_socket.hpp \
206 include/utils/mc_socket.hpp \
207 include/utils/addr_storage.hpp \
208 include/proxy/def.hpp \
209 include/proxy/interfaces.hpp \
210 include/utils/if_prop.hpp \
211 include/utils/reverse_path_filter.hpp \
212 include/proxy/message_format.hpp \
213 include/proxy/timers_values.hpp \
214 include/parser/interface.hpp \
215 include/utils/extended_mld_defines.hpp
216 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mld_sender.o src/proxy/mld_sender.cpp
217
218 igmp_sender.o: src/proxy/igmp_sender.cpp include/hamcast_logging.h \
219 include/proxy/igmp_sender.hpp \
220 include/proxy/sender.hpp \
221 include/utils/mroute_socket.hpp \
222 include/utils/mc_socket.hpp \
223 include/utils/addr_storage.hpp \
224 include/proxy/def.hpp \
225 include/proxy/interfaces.hpp \
226 include/utils/if_prop.hpp \
227 include/utils/reverse_path_filter.hpp \
228 include/proxy/message_format.hpp \
229 include/proxy/timers_values.hpp \
230 include/parser/interface.hpp \
231 include/utils/extended_igmp_defines.hpp
232 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o igmp_sender.o src/proxy/igmp_sender.cpp
233
234 proxy_instance.o: src/proxy/proxy_instance.cpp include/hamcast_logging.h \
235 include/proxy/proxy_instance.hpp \
236 include/proxy/worker.hpp \
237 include/proxy/message_queue.hpp \
238 include/proxy/message_format.hpp \
239 include/utils/addr_storage.hpp \
240 include/proxy/def.hpp \
241 include/proxy/interfaces.hpp \
242 include/utils/if_prop.hpp \
243 include/utils/reverse_path_filter.hpp \
244 include/proxy/timers_values.hpp \
245 include/parser/interface.hpp \
246 include/proxy/querier.hpp \
247 include/proxy/membership_db.hpp \
248 include/proxy/receiver.hpp \
249 include/utils/mroute_socket.hpp \
250 include/utils/mc_socket.hpp \
251 include/proxy/igmp_receiver.hpp \
252 include/proxy/mld_receiver.hpp \
253 include/proxy/sender.hpp \
254 include/proxy/igmp_sender.hpp \
255 include/proxy/mld_sender.hpp \
256 include/proxy/routing.hpp \
257 include/proxy/timing.hpp \
258 include/proxy/routing_management.hpp \
259 include/proxy/simple_mc_proxy_routing.hpp \
260 include/proxy/simple_routing_data.hpp
261 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o proxy_instance.o src/proxy/proxy_instance.cpp
262
263 routing.o: src/proxy/routing.cpp include/hamcast_logging.h \
264 include/proxy/routing.hpp \
265 include/utils/if_prop.hpp \
266 include/proxy/interfaces.hpp \
267 include/utils/reverse_path_filter.hpp \
268 include/utils/addr_storage.hpp \
269 include/utils/mroute_socket.hpp \
270 include/utils/mc_socket.hpp
271 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o routing.o src/proxy/routing.cpp
272
273 worker.o: src/proxy/worker.cpp include/hamcast_logging.h \
274 include/proxy/worker.hpp \
275 include/proxy/message_queue.hpp \
276 include/proxy/message_format.hpp \
277 include/utils/addr_storage.hpp \
278 include/proxy/def.hpp \
279 include/proxy/interfaces.hpp \
280 include/utils/if_prop.hpp \
281 include/utils/reverse_path_filter.hpp \
282 include/proxy/timers_values.hpp \
283 include/parser/interface.hpp
284 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o worker.o src/proxy/worker.cpp
285
286 timing.o: src/proxy/timing.cpp include/hamcast_logging.h \
287 include/proxy/timing.hpp \
288 include/proxy/message_format.hpp \
289 include/utils/addr_storage.hpp \
290 include/proxy/def.hpp \
291 include/proxy/interfaces.hpp \
292 include/utils/if_prop.hpp \
293 include/utils/reverse_path_filter.hpp \
294 include/proxy/timers_values.hpp \
295 include/parser/interface.hpp \
296 include/proxy/worker.hpp \
297 include/proxy/message_queue.hpp
298 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o timing.o src/proxy/timing.cpp
299
300 check_if.o: src/proxy/check_if.cpp include/hamcast_logging.h \
301 include/proxy/check_if.hpp \
302 include/utils/if_prop.hpp
303 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o check_if.o src/proxy/check_if.cpp
304
305 check_kernel.o: src/proxy/check_kernel.cpp include/hamcast_logging.h \
306 include/proxy/check_kernel.hpp \
307 include/utils/mroute_socket.hpp \
308 include/utils/mc_socket.hpp \
309 include/utils/addr_storage.hpp
310 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o check_kernel.o src/proxy/check_kernel.cpp
311
312 membership_db.o: src/proxy/membership_db.cpp include/proxy/membership_db.hpp \
313 include/utils/addr_storage.hpp \
314 include/proxy/def.hpp \
315 include/proxy/message_format.hpp \
316 include/hamcast_logging.h \
317 include/proxy/interfaces.hpp \
318 include/utils/if_prop.hpp \
319 include/utils/reverse_path_filter.hpp \
320 include/proxy/timers_values.hpp \
321 include/parser/interface.hpp
322 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o membership_db.o src/proxy/membership_db.cpp
323
324 querier.o: src/proxy/querier.cpp include/hamcast_logging.h \
325 include/proxy/querier.hpp \
326 include/proxy/membership_db.hpp \
327 include/utils/addr_storage.hpp \
328 include/proxy/def.hpp \
329 include/proxy/message_format.hpp \
330 include/proxy/interfaces.hpp \
331 include/utils/if_prop.hpp \
332 include/utils/reverse_path_filter.hpp \
333 include/proxy/timers_values.hpp \
334 include/parser/interface.hpp \
335 include/proxy/timing.hpp \
336 include/proxy/sender.hpp \
337 include/utils/mroute_socket.hpp \
338 include/utils/mc_socket.hpp \
339 include/proxy/igmp_sender.hpp \
340 include/proxy/mld_sender.hpp
341 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o querier.o src/proxy/querier.cpp
342
343 timers_values.o: src/proxy/timers_values.cpp include/proxy/timers_values.hpp \
344 include/hamcast_logging.h \
345 include/proxy/membership_db.hpp \
346 include/utils/addr_storage.hpp \
347 include/proxy/def.hpp \
348 include/proxy/message_format.hpp \
349 include/proxy/interfaces.hpp \
350 include/utils/if_prop.hpp \
351 include/utils/reverse_path_filter.hpp \
352 include/parser/interface.hpp
353 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o timers_values.o src/proxy/timers_values.cpp
354
355 interfaces.o: src/proxy/interfaces.cpp include/hamcast_logging.h \
356 include/proxy/interfaces.hpp \
357 include/utils/if_prop.hpp \
358 include/utils/reverse_path_filter.hpp \
359 include/utils/addr_storage.hpp
360 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o interfaces.o src/proxy/interfaces.cpp
361
362 def.o: src/proxy/def.cpp include/proxy/def.hpp
363 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o def.o src/proxy/def.cpp
364
365 simple_mc_proxy_routing.o: src/proxy/simple_mc_proxy_routing.cpp include/hamcast_logging.h \
366 include/proxy/simple_mc_proxy_routing.hpp \
367 include/proxy/routing_management.hpp \
368 include/proxy/def.hpp \
369 include/proxy/simple_routing_data.hpp \
370 include/parser/interface.hpp \
371 include/utils/addr_storage.hpp \
372 include/proxy/interfaces.hpp \
373 include/utils/if_prop.hpp \
374 include/utils/reverse_path_filter.hpp \
375 include/proxy/proxy_instance.hpp \
376 include/proxy/worker.hpp \
377 include/proxy/message_queue.hpp \
378 include/proxy/message_format.hpp \
379 include/proxy/timers_values.hpp \
380 include/proxy/querier.hpp \
381 include/proxy/membership_db.hpp \
382 include/proxy/routing.hpp \
383 include/proxy/sender.hpp \
384 include/utils/mroute_socket.hpp \
385 include/utils/mc_socket.hpp \
386 include/proxy/timing.hpp
387 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o simple_mc_proxy_routing.o src/proxy/simple_mc_proxy_routing.cpp
388
389 simple_routing_data.o: src/proxy/simple_routing_data.cpp include/hamcast_logging.h \
390 include/proxy/simple_routing_data.hpp \
391 include/proxy/def.hpp \
392 include/proxy/message_format.hpp \
393 include/utils/addr_storage.hpp \
394 include/proxy/interfaces.hpp \
395 include/utils/if_prop.hpp \
396 include/utils/reverse_path_filter.hpp \
397 include/proxy/timers_values.hpp \
398 include/parser/interface.hpp \
399 include/utils/mroute_socket.hpp \
400 include/utils/mc_socket.hpp
401 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o simple_routing_data.o src/proxy/simple_routing_data.cpp
402
403 scanner.o: src/parser/scanner.cpp include/hamcast_logging.h \
404 include/parser/scanner.hpp \
405 include/parser/token.hpp
406 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o scanner.o src/parser/scanner.cpp
407
408 token.o: src/parser/token.cpp include/hamcast_logging.h \
409 include/parser/token.hpp
410 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o token.o src/parser/token.cpp
411
412 configuration.o: src/parser/configuration.cpp include/hamcast_logging.h \
413 include/parser/configuration.hpp \
414 include/parser/token.hpp \
415 include/parser/interface.hpp \
416 include/utils/addr_storage.hpp \
417 include/proxy/def.hpp \
418 include/proxy/interfaces.hpp \
419 include/utils/if_prop.hpp \
420 include/utils/reverse_path_filter.hpp \
421 include/parser/parser.hpp \
422 include/parser/scanner.hpp
423 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o configuration.o src/parser/configuration.cpp
424
425 parser.o: src/parser/parser.cpp include/hamcast_logging.h \
426 include/parser/parser.hpp \
427 include/parser/scanner.hpp \
428 include/proxy/def.hpp \
429 include/parser/token.hpp \
430 include/parser/interface.hpp \
431 include/utils/addr_storage.hpp
432 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o parser.o src/parser/parser.cpp
433
434 interface.o: src/parser/interface.cpp include/hamcast_logging.h \
435 include/parser/interface.hpp \
436 include/utils/addr_storage.hpp \
437 include/proxy/def.hpp \
438 include/proxy/interfaces.hpp \
439 include/utils/if_prop.hpp \
440 include/utils/reverse_path_filter.hpp
441 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o interface.o src/parser/interface.cpp