source: source/ariba/Makefile.am@ 5493

Last change on this file since 5493 was 5284, checked in by mies, 15 years ago

+ added new transport modules and adapted ariba to them
+ exchange endpoint descriptors an link establishment
+ clean up of base communication
+ link establishment with in the presence of multiple endpoints
+ local discovery for ipv6, ipv4 and bluetooth mac addresses

File size: 18.3 KB
Line 
1# the rocking Ariba library
2
3lib_LTLIBRARIES = libariba.la
4
5# source files and header files
6# header files get installed using
7# make install. the nobase_ prefix
8# keeps the directory structure
9
10libariba_la_SOURCES =
11nobase_libariba_la_HEADERS =
12
13# compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14# read the autotools book 11.4 for setting the versioning number
15# this is different from normal versioning schemes and important
16# to set correctly as the runtime linker chooses the correct lib
17# depending on the versioning information here! This is not the
18# project version number!!
19
20libariba_la_LDFLAGS = -version-info 0:0:0
21
22# compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23
24AM_CPPFLAGS = -DLINUX -D_LINUX -I../ -D_REENTRANT -DSCTP_KERN
25AM_CPPFLAGS += $(BOOST_CPPFLAGS)
26
27if DEBUG
28AM_CPPFLAGS += -ggdb -DDEBUG -D_DEBUG -O0
29endif
30
31if PROFILING
32AM_CPPFLAGS += -pg
33endif
34
35if OMNET
36AM_CPPFLAGS += -fPIC -DUNDERLAY_OMNET
37endif
38
39if LOGCOLORS
40AM_CPPFLAGS += -DLOGCOLORS
41endif
42
43# linker flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44
45AM_LDFLAGS = $(BOOST_THREAD_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_REGEX_LDFLAGS)
46LIBS += $(BOOST_THREAD_LIBS) $(BOOST_SYSTEM_LIBS) $(BOOST_REGEX_LIBS)
47
48if PROFILING
49AM_LDFLAGS += -pg
50endif
51
52if OMNET
53AM_LDFLAGS += -shared -rdynamic
54endif
55
56# sources and subdirs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57
58# where to put the libs into -> /ariba
59# currently we have no version number
60# attached to the header/libs folder
61libariba_ladir = ${pkgincludedir}
62
63# ------------> tidy interface
64
65libariba_la_SOURCES += \
66 AribaModule.cpp \
67 CommunicationListener.cpp \
68 Identifiers.cpp \
69 LinkProperties.cpp \
70 DataMessage.cpp \
71 Module.cpp \
72 Name.cpp \
73 Node.cpp \
74 NodeListener.cpp \
75 SideportListener.cpp \
76 SpoVNetProperties.cpp
77
78nobase_libariba_la_HEADERS += \
79 ariba.h \
80 AribaModule.h \
81 CommunicationListener.h \
82 Identifiers.h \
83 LinkProperties.h \
84 Message.h \
85 DataMessage.h \
86 Module.h \
87 Name.h \
88 Node.h \
89 NodeListener.h \
90 SideportListener.h \
91 SpoVNetProperties.h
92
93# ------------> communication
94
95libariba_la_SOURCES += \
96 communication/BaseCommunication.cpp \
97 communication/CommunicationEvents.cpp \
98 communication/EndpointDescriptor.cpp
99
100nobase_libariba_la_HEADERS += \
101 communication/BaseCommunication.h \
102 communication/CommunicationEvents.h \
103 communication/EndpointDescriptor.h
104
105# ------------> communication :: messages
106
107libariba_la_SOURCES += \
108 communication/messages/AribaBaseMsg.cpp
109
110nobase_libariba_la_HEADERS += \
111 communication/messages/AribaBaseMsg.h
112
113# ------------> communication :: modules
114
115#nobase_libariba_la_HEADERS += \
116# communication/modules/modules.h \
117# communication/modules/_namespace.h
118
119# ------------> communication :: modules :: network
120
121#libariba_la_SOURCES += \
122# communication/modules/network/NetworkLocator.cpp \
123# communication/modules/network/NetworkProtocol.cpp
124
125#nobase_libariba_la_HEADERS += \
126# communication/modules/network/NetworkLocator.h \
127# communication/modules/network/NetworkProtocol.h
128
129# ------------> communication :: modules :: network :: ip
130
131#libariba_la_SOURCES += \
132# communication/modules/network/ip/IPv4Locator.cpp \
133# communication/modules/network/ip/IPv4NetworkProtocol.cpp
134
135#nobase_libariba_la_HEADERS += \
136# communication/modules/network/ip/IPv4Locator.h \
137# communication/modules/network/ip/IPv4NetworkProtocol.h
138
139# ------------> communication :: modules :: network :: omnet
140
141#if OMNET
142#libariba_la_SOURCES += \
143# communication/modules/network/omnet/OmnetNetworkProtocol.cpp
144
145#nobase_libariba_la_HEADERS += \
146# communication/modules/network/omnet/OmnetNetworkProtocol.h
147#endif
148
149#------------> communication :: modules :: transport
150
151#libariba_la_SOURCES += \
152# communication/modules/transport/TransportLocator.cpp \
153# communication/modules/transport/TransportProtocol.cpp
154
155#nobase_libariba_la_HEADERS += \
156# communication/modules/transport/TransportLocator.h \
157# communication/modules/transport/TransportProtocol.h
158
159#------------> communication :: modules :: transport :: omnet
160
161#if OMNET
162#libariba_la_SOURCES += \
163# communication/modules/transport/omnet/AribaOmnetMessage_m.cc \
164# communication/modules/transport/omnet/AribaOmnetModule.cpp
165
166#nobase_libariba_la_HEADERS += \
167# communication/modules/transport/omnet/AribaOmnetMessage_m.h \
168# communication/modules/transport/omnet/AribaOmnetModule.h
169#endif
170
171#------------> communication :: modules :: transport :: protlib
172
173if OMNET
174else
175#libariba_la_SOURCES += \
176# communication/modules/transport/protlib/timer_module.cpp \
177# communication/modules/transport/protlib/threadsafe_db.cpp \
178# communication/modules/transport/protlib/address.cpp \
179# communication/modules/transport/protlib/ie.cpp \
180# communication/modules/transport/protlib/tp_over_tcp.cpp \
181# communication/modules/transport/protlib/setuid.cpp \
182# communication/modules/transport/protlib/tp.cpp \
183# communication/modules/transport/protlib/connectionmap_uds.cpp \
184# communication/modules/transport/protlib/logfile.cpp \
185# communication/modules/transport/protlib/timer.cpp \
186# communication/modules/transport/protlib/connectionmap.cpp \
187# communication/modules/transport/protlib/fqueue.cpp \
188# communication/modules/transport/protlib/threads.cpp \
189# communication/modules/transport/protlib/messages.cpp \
190# communication/modules/transport/protlib/queuemanager.cpp \
191# communication/modules/transport/protlib/network_message.cpp \
192# communication/modules/transport/protlib/configuration.cpp \
193# communication/modules/transport/protlib/tp_over_uds.cpp \
194# communication/modules/transport/protlib/tp_over_udp.cpp \
195# communication/modules/transport/protlib/tp_over_tls_tcp.cpp \
196# communication/modules/transport/protlib/fastqueue.c \
197# communication/modules/transport/protlib/eclock_gettime.c \
198# communication/modules/transport/protlib/testqueue.c
199
200#nobase_libariba_la_HEADERS += \
201# communication/modules/transport/protlib/tp_over_uds.h \
202# communication/modules/transport/protlib/threadsafe_db.h \
203# communication/modules/transport/protlib/configuration.h \
204# communication/modules/transport/protlib/ie.h \
205# communication/modules/transport/protlib/llhashers.h \
206# communication/modules/transport/protlib/fqueue.h \
207# communication/modules/transport/protlib/assocdata_uds.h \
208# communication/modules/transport/protlib/address.h \
209# communication/modules/transport/protlib/logfile.h \
210# communication/modules/transport/protlib/timer.h \
211# communication/modules/transport/protlib/queuemanager.h \
212# communication/modules/transport/protlib/messages.h \
213# communication/modules/transport/protlib/assocdata.h \
214# communication/modules/transport/protlib/protlib_types.h \
215# communication/modules/transport/protlib/tp_over_tcp.h \
216# communication/modules/transport/protlib/tp.h \
217# communication/modules/transport/protlib/threads.h \
218# communication/modules/transport/protlib/connectionmap.h \
219# communication/modules/transport/protlib/timer_module.h \
220# communication/modules/transport/protlib/fastqueue.h \
221# communication/modules/transport/protlib/tperror.h \
222# communication/modules/transport/protlib/tp_over_tls_tcp.h \
223# communication/modules/transport/protlib/network_message.h \
224# communication/modules/transport/protlib/tp_over_udp.h \
225# communication/modules/transport/protlib/setuid.h \
226# communication/modules/transport/protlib/cleanuphandler.h \
227# communication/modules/transport/protlib/connectionmap_uds.h
228endif
229
230#------------> communication :: modules :: transport :: tcp
231
232#if OMNET
233#else
234#libariba_la_SOURCES += \
235# communication/modules/transport/tcp/TCPTransport.cpp \
236# communication/modules/transport/tcp/TCPTransportLocator.cpp
237
238#nobase_libariba_la_HEADERS += \
239# communication/modules/transport/tcp/TCPTransport.h \
240# communication/modules/transport/tcp/TCPTransportLocator.h
241#endif
242
243#------------> communication :: networkinfo
244
245libariba_la_SOURCES += \
246 communication/networkinfo/AddressInformation.cpp \
247 communication/networkinfo/NetworkChangeDetection.cpp \
248 communication/networkinfo/NetworkInformation.cpp \
249 communication/networkinfo/NetworkInterface.cpp
250
251nobase_libariba_la_HEADERS += \
252 communication/networkinfo/AddressInformation.h \
253 communication/networkinfo/NetworkChangeDetection.h \
254 communication/networkinfo/NetworkChangeInterface.h \
255 communication/networkinfo/NetworkInterface.h \
256 communication/networkinfo/NetworkInformation.h
257
258#------------> overlay
259
260libariba_la_SOURCES += \
261 overlay/BaseOverlay.cpp \
262 overlay/OverlayBootstrap.cpp \
263 overlay/LinkDescriptor.cpp
264
265nobase_libariba_la_HEADERS += \
266 overlay/BaseOverlay.h \
267 overlay/OverlayBootstrap.h \
268 overlay/LinkDescriptor.h
269
270#------------> overlay :: messages
271
272libariba_la_SOURCES += \
273 overlay/messages/JoinReply.cpp \
274 overlay/messages/JoinRequest.cpp \
275 overlay/messages/LinkRequest.cpp \
276 overlay/messages/RelayMessage.cpp \
277 overlay/messages/OverlayMsg.cpp
278
279nobase_libariba_la_HEADERS += \
280 overlay/messages/JoinReply.h \
281 overlay/messages/JoinRequest.h \
282 overlay/messages/LinkRequest.h \
283 overlay/messages/RelayMessage.h \
284 overlay/messages/OverlayMsg.h
285
286#------------> overlay :: modules
287
288libariba_la_SOURCES += \
289 overlay/modules/OverlayStructureEvents.cpp \
290 overlay/modules/OverlayFactory.cpp \
291 overlay/modules/OverlayInterface.cpp
292
293nobase_libariba_la_HEADERS += \
294 overlay/modules/OverlayStructureEvents.h \
295 overlay/modules/OverlayFactory.h \
296 overlay/modules/OverlayInterface.h
297
298#------------> overlay :: modules :: onehop
299
300libariba_la_SOURCES += \
301 overlay/modules/onehop/OneHop.cpp \
302 overlay/modules/onehop/messages/OneHopMessage.cpp \
303 overlay/modules/onehop/messages/NodeListingRequest.cpp \
304 overlay/modules/onehop/messages/NodeListingReply.cpp
305
306nobase_libariba_la_HEADERS += \
307 overlay/modules/onehop/OneHop.h \
308 overlay/modules/onehop/messages/OneHopMessage.h \
309 overlay/modules/onehop/messages/NodeListingRequest.h \
310 overlay/modules/onehop/messages/NodeListingReply.h
311
312#------------> overlay :: modules :: chord
313
314libariba_la_SOURCES += \
315 overlay/modules/chord/Chord.cpp \
316 overlay/modules/chord/messages/ChordMessage.cpp \
317 overlay/modules/chord/messages/Discovery.cpp
318
319nobase_libariba_la_HEADERS += \
320 overlay/modules/chord/Chord.h \
321 overlay/modules/chord/messages/ChordMessage.h \
322 overlay/modules/chord/messages/Discovery.h \
323 overlay/modules/chord/detail/chord_routing_table.hpp \
324 overlay/modules/chord/detail/comparators.hpp \
325 overlay/modules/chord/detail/distances.hpp \
326 overlay/modules/chord/detail/minimizer_table.hpp \
327 overlay/modules/chord/detail/table_listener.hpp
328
329#------------> utility
330
331nobase_libariba_la_HEADERS += \
332 utility/types.h \
333 utility/messages.h \
334 utility/serialization.h
335
336#------------> utility :: bootstrap
337
338libariba_la_SOURCES += \
339 utility/bootstrap/BootstrapManager.cpp \
340 utility/bootstrap/modules/BootstrapModule.cpp \
341 utility/bootstrap/modules/multicastdns/MulticastDns.cpp \
342 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp \
343 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp \
344 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.cpp
345
346nobase_libariba_la_HEADERS += \
347 utility/bootstrap/BootstrapManager.h \
348 utility/bootstrap/BootstrapInformationCallback.h \
349 utility/bootstrap/modules/BootstrapModule.h \
350 utility/bootstrap/modules/multicastdns/MulticastDns.h \
351 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.h \
352 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h \
353 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.h
354
355#------------> utility :: configuration
356
357libariba_la_SOURCES += \
358 utility/configuration/ConfigFile.cpp \
359 utility/configuration/Configuration.cpp
360
361nobase_libariba_la_HEADERS += \
362 utility/configuration/ConfigFile.h \
363 utility/configuration/Configuration.h
364
365#------------> utility :: internal
366
367nobase_libariba_la_HEADERS += \
368 utility/internal/Utilities.hpp
369
370#------------> utility :: logging
371
372nobase_libariba_la_HEADERS += \
373 utility/logging/Logging.h
374
375#------------> utility :: measurement
376
377libariba_la_SOURCES += \
378 utility/measurement/PathloadMeasurement.cpp
379
380nobase_libariba_la_HEADERS += \
381 utility/measurement/PathloadMeasurement.h
382
383#------------> utility :: addressing
384
385libariba_la_SOURCES += \
386 utility/addressing/ip_address.cpp \
387 utility/addressing/tcpip_endpoint.cpp \
388 utility/addressing/rfcomm_endpoint.cpp \
389 utility/addressing/mac_address.cpp \
390 utility/addressing/port_address.cpp
391
392nobase_libariba_la_HEADERS += \
393 utility/addressing/ip_address.hpp \
394 utility/addressing/test_addressing.hpp \
395 utility/addressing/tcpip_endpoint.hpp \
396 utility/addressing/endpoint_set.hpp \
397 utility/addressing/addressing.hpp \
398 utility/addressing/detail/compare_to_operators.hpp \
399 utility/addressing/detail/address_convenience.hpp \
400 utility/addressing/rfcomm_endpoint.hpp \
401 utility/addressing/mac_address.hpp \
402 utility/addressing/port_address.hpp \
403 utility/addressing/facades/to_string_v.hpp \
404 utility/addressing/facades/address_v.hpp \
405 utility/addressing/facades/vfacade.hpp \
406 utility/addressing/facades/comparable_v.hpp \
407 utility/addressing/facades/to_bytes_v.hpp
408
409#------------> utility :: transport
410
411libariba_la_SOURCES += \
412 utility/transport/tcpip/tcpip.cpp \
413 utility/transport/tcpip/protlib/timer_module.cpp \
414 utility/transport/tcpip/protlib/setuid.cpp \
415 utility/transport/tcpip/protlib/queuemanager.cpp \
416 utility/transport/tcpip/protlib/messages.cpp \
417 utility/transport/tcpip/protlib/fqueue.cpp \
418 utility/transport/tcpip/protlib/fastqueue.c \
419 utility/transport/tcpip/protlib/eclock_gettime.c \
420 utility/transport/tcpip/protlib/tp_over_udp.cpp \
421 utility/transport/tcpip/protlib/connectionmap_uds.cpp \
422 utility/transport/tcpip/protlib/network_message.cpp \
423 utility/transport/tcpip/protlib/threadsafe_db.cpp \
424 utility/transport/tcpip/protlib/timer.cpp \
425 utility/transport/tcpip/protlib/address.cpp \
426 utility/transport/tcpip/protlib/connectionmap.cpp \
427 utility/transport/tcpip/protlib/tp.cpp \
428 utility/transport/tcpip/protlib/tp_over_tcp.cpp \
429 utility/transport/tcpip/protlib/configuration.cpp \
430 utility/transport/tcpip/protlib/ie.cpp \
431 utility/transport/tcpip/protlib/threads.cpp \
432 utility/transport/tcpip/protlib/logfile.cpp \
433 utility/transport/transport_peer.cpp \
434 utility/transport/rfcomm/rfcomm.cpp \
435 utility/transport/asio/asio_io_service.cpp
436
437nobase_libariba_la_HEADERS += \
438 utility/transport/test_transport.hpp \
439 utility/transport/tcpip/tcpip.hpp \
440 utility/transport/transport_peer.hpp \
441 utility/transport/transport_protocol.hpp \
442 utility/transport/rfcomm/rfcomm.hpp \
443 utility/transport/transport.hpp \
444 utility/transport/asio/bluetooth_endpoint.hpp \
445 utility/transport/asio/rfcomm.hpp \
446 utility/transport/transport_listener.hpp \
447 utility/transport/tcpip/protlib/threadsafe_db.h \
448 utility/transport/tcpip/protlib/configuration.h \
449 utility/transport/tcpip/protlib/ie.h \
450 utility/transport/tcpip/protlib/llhashers.h \
451 utility/transport/tcpip/protlib/fqueue.h \
452 utility/transport/tcpip/protlib/assocdata_uds.h \
453 utility/transport/tcpip/protlib/address.h \
454 utility/transport/tcpip/protlib/logfile.h \
455 utility/transport/tcpip/protlib/timer.h \
456 utility/transport/tcpip/protlib/queuemanager.h \
457 utility/transport/tcpip/protlib/messages.h \
458 utility/transport/tcpip/protlib/assocdata.h \
459 utility/transport/tcpip/protlib/protlib_types.h \
460 utility/transport/tcpip/protlib/tp_over_tcp.h \
461 utility/transport/tcpip/protlib/tp.h \
462 utility/transport/tcpip/protlib/threads.h \
463 utility/transport/tcpip/protlib/connectionmap.h \
464 utility/transport/tcpip/protlib/timer_module.h \
465 utility/transport/tcpip/protlib/fastqueue.h \
466 utility/transport/tcpip/protlib/tperror.h \
467 utility/transport/tcpip/protlib/network_message.h \
468 utility/transport/tcpip/protlib/setuid.h \
469 utility/transport/tcpip/protlib/cleanuphandler.h \
470 utility/transport/tcpip/protlib/connectionmap_uds.h
471
472#------------> utility :: messages
473
474libariba_la_SOURCES += \
475 utility/messages/Message.cpp \
476 utility/messages/MessageProvider.cpp \
477 utility/messages/MessageReceiver.cpp \
478 utility/messages/MessageSender.cpp \
479 utility/messages/TextMessage.cpp
480
481nobase_libariba_la_HEADERS += \
482 utility/messages/_namespace.h \
483 utility/messages/Message.h \
484 utility/messages/MessageProvider.h \
485 utility/messages/MessageReceiver.h \
486 utility/messages/MessageSender.h \
487 utility/messages/MessageUtilities.h \
488 utility/messages/TextMessage.h
489
490#------------> utility :: misc
491
492libariba_la_SOURCES += \
493 utility/misc/Helper.cpp \
494 utility/misc/OvlVis.cpp \
495 utility/misc/sha1.cpp \
496 utility/misc/StringFormat.cpp
497
498nobase_libariba_la_HEADERS += \
499 utility/misc/Demultiplexer.hpp \
500 utility/misc/Helper.h \
501 utility/misc/KeyMapping.hpp \
502 utility/misc/OvlVis.h \
503 utility/misc/sha1.h \
504 utility/misc/StringFormat.h
505
506#------------> utility :: serialization
507
508libariba_la_SOURCES += \
509 utility/serialization/Serialization.cpp
510
511nobase_libariba_la_HEADERS += \
512 utility/serialization/DataUtilities.hpp \
513 utility/serialization/Serialization.hpp \
514 utility/serialization/Data.hpp \
515 utility/serialization/DataStream.hpp
516
517#------------> utility :: system
518
519libariba_la_SOURCES += \
520 utility/system/BlockingMethod.cpp \
521 utility/system/EnterMethod.cpp \
522 utility/system/SystemEvent.cpp \
523 utility/system/SystemEventListener.cpp \
524 utility/system/SystemEventType.cpp \
525 utility/system/SystemQueue.cpp \
526 utility/system/Timer.cpp \
527 utility/system/StartupWrapper.cpp
528
529nobase_libariba_la_HEADERS += \
530 utility/system/BlockingMethod.h \
531 utility/system/EnterMethod.h \
532 utility/system/SystemEvent.h \
533 utility/system/SystemEventListener.h \
534 utility/system/SystemEventType.h \
535 utility/system/SystemQueue.h \
536 utility/system/Timer.h \
537 utility/system/StartupWrapper.h \
538 utility/system/StartupInterface.h
539
540#------------> utility :: types
541
542libariba_la_SOURCES += \
543 utility/types/Address.cpp \
544 utility/types/Identifier.cpp \
545 utility/types/LinkID.cpp \
546 utility/types/Locator.cpp \
547 utility/types/NodeID.cpp \
548 utility/types/OverlayParameterSet.cpp \
549 utility/types/QoSParameterSet.cpp \
550 utility/types/SecurityParameterSet.cpp \
551 utility/types/ServiceID.cpp \
552 utility/types/SpoVNetID.cpp
553
554nobase_libariba_la_HEADERS += \
555 utility/types/_namespace.h \
556 utility/types/Address.h \
557 utility/types/Data.hpp \
558 utility/types/Identifier.h \
559 utility/types/LinkID.h \
560 utility/types/Locator.h \
561 utility/types/NodeID.h \
562 utility/types/OverlayParameterSet.h \
563 utility/types/QoSParameterSet.h \
564 utility/types/SecurityParameterSet.h \
565 utility/types/ServiceID.h \
566 utility/types/SpoVNetID.h
Note: See TracBrowser for help on using the repository browser.