source: source/ariba/Makefile.am@ 5638

Last change on this file since 5638 was 5638, checked in by Christoph Mayer, 15 years ago

adress detection aufgeräumt, network info für bleutooth, data stream (hopeful crash fix), logging auf maemo nur warn, ...

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 config.h
93
94# ------------> communication
95
96libariba_la_SOURCES += \
97 communication/BaseCommunication.cpp \
98 communication/CommunicationEvents.cpp \
99 communication/EndpointDescriptor.cpp
100
101nobase_libariba_la_HEADERS += \
102 communication/BaseCommunication.h \
103 communication/CommunicationEvents.h \
104 communication/EndpointDescriptor.h
105
106# ------------> communication :: messages
107
108libariba_la_SOURCES += \
109 communication/messages/AribaBaseMsg.cpp
110
111nobase_libariba_la_HEADERS += \
112 communication/messages/AribaBaseMsg.h
113
114# ------------> communication :: modules
115
116#nobase_libariba_la_HEADERS += \
117# communication/modules/modules.h \
118# communication/modules/_namespace.h
119
120# ------------> communication :: modules :: network
121
122#libariba_la_SOURCES += \
123# communication/modules/network/NetworkLocator.cpp \
124# communication/modules/network/NetworkProtocol.cpp
125
126#nobase_libariba_la_HEADERS += \
127# communication/modules/network/NetworkLocator.h \
128# communication/modules/network/NetworkProtocol.h
129
130# ------------> communication :: modules :: network :: ip
131
132#libariba_la_SOURCES += \
133# communication/modules/network/ip/IPv4Locator.cpp \
134# communication/modules/network/ip/IPv4NetworkProtocol.cpp
135
136#nobase_libariba_la_HEADERS += \
137# communication/modules/network/ip/IPv4Locator.h \
138# communication/modules/network/ip/IPv4NetworkProtocol.h
139
140# ------------> communication :: modules :: network :: omnet
141
142#if OMNET
143#libariba_la_SOURCES += \
144# communication/modules/network/omnet/OmnetNetworkProtocol.cpp
145
146#nobase_libariba_la_HEADERS += \
147# communication/modules/network/omnet/OmnetNetworkProtocol.h
148#endif
149
150#------------> communication :: modules :: transport
151
152#libariba_la_SOURCES += \
153# communication/modules/transport/TransportLocator.cpp \
154# communication/modules/transport/TransportProtocol.cpp
155
156#nobase_libariba_la_HEADERS += \
157# communication/modules/transport/TransportLocator.h \
158# communication/modules/transport/TransportProtocol.h
159
160#------------> communication :: modules :: transport :: omnet
161
162#if OMNET
163#libariba_la_SOURCES += \
164# communication/modules/transport/omnet/AribaOmnetMessage_m.cc \
165# communication/modules/transport/omnet/AribaOmnetModule.cpp
166
167#nobase_libariba_la_HEADERS += \
168# communication/modules/transport/omnet/AribaOmnetMessage_m.h \
169# communication/modules/transport/omnet/AribaOmnetModule.h
170#endif
171
172#------------> communication :: modules :: transport :: protlib
173
174if OMNET
175else
176#libariba_la_SOURCES += \
177# communication/modules/transport/protlib/timer_module.cpp \
178# communication/modules/transport/protlib/threadsafe_db.cpp \
179# communication/modules/transport/protlib/address.cpp \
180# communication/modules/transport/protlib/ie.cpp \
181# communication/modules/transport/protlib/tp_over_tcp.cpp \
182# communication/modules/transport/protlib/setuid.cpp \
183# communication/modules/transport/protlib/tp.cpp \
184# communication/modules/transport/protlib/connectionmap_uds.cpp \
185# communication/modules/transport/protlib/logfile.cpp \
186# communication/modules/transport/protlib/timer.cpp \
187# communication/modules/transport/protlib/connectionmap.cpp \
188# communication/modules/transport/protlib/fqueue.cpp \
189# communication/modules/transport/protlib/threads.cpp \
190# communication/modules/transport/protlib/messages.cpp \
191# communication/modules/transport/protlib/queuemanager.cpp \
192# communication/modules/transport/protlib/network_message.cpp \
193# communication/modules/transport/protlib/configuration.cpp \
194# communication/modules/transport/protlib/tp_over_uds.cpp \
195# communication/modules/transport/protlib/tp_over_udp.cpp \
196# communication/modules/transport/protlib/tp_over_tls_tcp.cpp \
197# communication/modules/transport/protlib/fastqueue.c \
198# communication/modules/transport/protlib/eclock_gettime.c \
199# communication/modules/transport/protlib/testqueue.c
200
201#nobase_libariba_la_HEADERS += \
202# communication/modules/transport/protlib/tp_over_uds.h \
203# communication/modules/transport/protlib/threadsafe_db.h \
204# communication/modules/transport/protlib/configuration.h \
205# communication/modules/transport/protlib/ie.h \
206# communication/modules/transport/protlib/llhashers.h \
207# communication/modules/transport/protlib/fqueue.h \
208# communication/modules/transport/protlib/assocdata_uds.h \
209# communication/modules/transport/protlib/address.h \
210# communication/modules/transport/protlib/logfile.h \
211# communication/modules/transport/protlib/timer.h \
212# communication/modules/transport/protlib/queuemanager.h \
213# communication/modules/transport/protlib/messages.h \
214# communication/modules/transport/protlib/assocdata.h \
215# communication/modules/transport/protlib/protlib_types.h \
216# communication/modules/transport/protlib/tp_over_tcp.h \
217# communication/modules/transport/protlib/tp.h \
218# communication/modules/transport/protlib/threads.h \
219# communication/modules/transport/protlib/connectionmap.h \
220# communication/modules/transport/protlib/timer_module.h \
221# communication/modules/transport/protlib/fastqueue.h \
222# communication/modules/transport/protlib/tperror.h \
223# communication/modules/transport/protlib/tp_over_tls_tcp.h \
224# communication/modules/transport/protlib/network_message.h \
225# communication/modules/transport/protlib/tp_over_udp.h \
226# communication/modules/transport/protlib/setuid.h \
227# communication/modules/transport/protlib/cleanuphandler.h \
228# communication/modules/transport/protlib/connectionmap_uds.h
229endif
230
231#------------> communication :: modules :: transport :: tcp
232
233#if OMNET
234#else
235#libariba_la_SOURCES += \
236# communication/modules/transport/tcp/TCPTransport.cpp \
237# communication/modules/transport/tcp/TCPTransportLocator.cpp
238
239#nobase_libariba_la_HEADERS += \
240# communication/modules/transport/tcp/TCPTransport.h \
241# communication/modules/transport/tcp/TCPTransportLocator.h
242#endif
243
244#------------> communication :: networkinfo
245
246libariba_la_SOURCES += \
247 communication/networkinfo/AddressDiscovery.cpp \
248 communication/networkinfo/NetworkChangeDetection.cpp \
249 communication/networkinfo/NetworkInformation.cpp \
250 communication/networkinfo/NetworkInterface.cpp
251
252nobase_libariba_la_HEADERS += \
253 communication/networkinfo/AddressDiscovery.h \
254 communication/networkinfo/NetworkChangeDetection.h \
255 communication/networkinfo/NetworkChangeInterface.h \
256 communication/networkinfo/NetworkInterface.h \
257 communication/networkinfo/NetworkInformation.h
258
259#------------> overlay
260
261libariba_la_SOURCES += \
262 overlay/BaseOverlay.cpp \
263 overlay/OverlayBootstrap.cpp \
264 overlay/LinkDescriptor.cpp
265
266nobase_libariba_la_HEADERS += \
267 overlay/BaseOverlay.h \
268 overlay/OverlayBootstrap.h \
269 overlay/LinkDescriptor.h
270
271#------------> overlay :: messages
272
273libariba_la_SOURCES += \
274 overlay/messages/JoinReply.cpp \
275 overlay/messages/JoinRequest.cpp \
276 overlay/messages/LinkRequest.cpp \
277 overlay/messages/RelayMessage.cpp \
278 overlay/messages/OverlayMsg.cpp
279
280nobase_libariba_la_HEADERS += \
281 overlay/messages/JoinReply.h \
282 overlay/messages/JoinRequest.h \
283 overlay/messages/LinkRequest.h \
284 overlay/messages/RelayMessage.h \
285 overlay/messages/OverlayMsg.h
286
287#------------> overlay :: modules
288
289libariba_la_SOURCES += \
290 overlay/modules/OverlayStructureEvents.cpp \
291 overlay/modules/OverlayFactory.cpp \
292 overlay/modules/OverlayInterface.cpp
293
294nobase_libariba_la_HEADERS += \
295 overlay/modules/OverlayStructureEvents.h \
296 overlay/modules/OverlayFactory.h \
297 overlay/modules/OverlayInterface.h
298
299#------------> overlay :: modules :: onehop
300
301libariba_la_SOURCES += \
302 overlay/modules/onehop/OneHop.cpp \
303 overlay/modules/onehop/messages/OneHopMessage.cpp \
304 overlay/modules/onehop/messages/NodeListingRequest.cpp \
305 overlay/modules/onehop/messages/NodeListingReply.cpp
306
307nobase_libariba_la_HEADERS += \
308 overlay/modules/onehop/OneHop.h \
309 overlay/modules/onehop/messages/OneHopMessage.h \
310 overlay/modules/onehop/messages/NodeListingRequest.h \
311 overlay/modules/onehop/messages/NodeListingReply.h
312
313#------------> overlay :: modules :: chord
314
315libariba_la_SOURCES += \
316 overlay/modules/chord/Chord.cpp \
317 overlay/modules/chord/messages/ChordMessage.cpp \
318 overlay/modules/chord/messages/Discovery.cpp
319
320nobase_libariba_la_HEADERS += \
321 overlay/modules/chord/Chord.h \
322 overlay/modules/chord/messages/ChordMessage.h \
323 overlay/modules/chord/messages/Discovery.h \
324 overlay/modules/chord/detail/chord_routing_table.hpp \
325 overlay/modules/chord/detail/comparators.hpp \
326 overlay/modules/chord/detail/distances.hpp \
327 overlay/modules/chord/detail/minimizer_table.hpp \
328 overlay/modules/chord/detail/table_listener.hpp
329
330#------------> utility
331
332nobase_libariba_la_HEADERS += \
333 utility/types.h \
334 utility/messages.h \
335 utility/serialization.h
336
337#------------> utility :: bootstrap
338
339libariba_la_SOURCES += \
340 utility/bootstrap/BootstrapManager.cpp \
341 utility/bootstrap/modules/BootstrapModule.cpp \
342 utility/bootstrap/modules/multicastdns/MulticastDns.cpp \
343 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp \
344 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp \
345 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.cpp
346
347nobase_libariba_la_HEADERS += \
348 utility/bootstrap/BootstrapManager.h \
349 utility/bootstrap/BootstrapInformationCallback.h \
350 utility/bootstrap/modules/BootstrapModule.h \
351 utility/bootstrap/modules/multicastdns/MulticastDns.h \
352 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.h \
353 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h \
354 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.h
355
356#------------> utility :: configuration
357
358libariba_la_SOURCES += \
359 utility/configuration/ConfigFile.cpp \
360 utility/configuration/Configuration.cpp
361
362nobase_libariba_la_HEADERS += \
363 utility/configuration/ConfigFile.h \
364 utility/configuration/Configuration.h
365
366#------------> utility :: internal
367
368nobase_libariba_la_HEADERS += \
369 utility/internal/Utilities.hpp
370
371#------------> utility :: logging
372
373nobase_libariba_la_HEADERS += \
374 utility/logging/Logging.h
375
376#------------> utility :: measurement
377
378libariba_la_SOURCES += \
379 utility/measurement/PathloadMeasurement.cpp
380
381nobase_libariba_la_HEADERS += \
382 utility/measurement/PathloadMeasurement.h
383
384#------------> utility :: addressing
385
386libariba_la_SOURCES += \
387 utility/addressing/ip_address.cpp \
388 utility/addressing/tcpip_endpoint.cpp \
389 utility/addressing/rfcomm_endpoint.cpp \
390 utility/addressing/mac_address.cpp \
391 utility/addressing/port_address.cpp
392
393nobase_libariba_la_HEADERS += \
394 utility/addressing/ip_address.hpp \
395 utility/addressing/test_addressing.hpp \
396 utility/addressing/tcpip_endpoint.hpp \
397 utility/addressing/endpoint_set.hpp \
398 utility/addressing/addressing.hpp \
399 utility/addressing/detail/compare_to_operators.hpp \
400 utility/addressing/detail/address_convenience.hpp \
401 utility/addressing/rfcomm_endpoint.hpp \
402 utility/addressing/mac_address.hpp \
403 utility/addressing/port_address.hpp \
404 utility/addressing/facades/to_string_v.hpp \
405 utility/addressing/facades/address_v.hpp \
406 utility/addressing/facades/vfacade.hpp \
407 utility/addressing/facades/comparable_v.hpp \
408 utility/addressing/facades/to_bytes_v.hpp
409
410#------------> utility :: transport
411
412libariba_la_SOURCES += \
413 utility/transport/tcpip/tcpip.cpp \
414 utility/transport/tcpip/protlib/timer_module.cpp \
415 utility/transport/tcpip/protlib/setuid.cpp \
416 utility/transport/tcpip/protlib/queuemanager.cpp \
417 utility/transport/tcpip/protlib/messages.cpp \
418 utility/transport/tcpip/protlib/fqueue.cpp \
419 utility/transport/tcpip/protlib/fastqueue.c \
420 utility/transport/tcpip/protlib/eclock_gettime.c \
421 utility/transport/tcpip/protlib/tp_over_udp.cpp \
422 utility/transport/tcpip/protlib/connectionmap_uds.cpp \
423 utility/transport/tcpip/protlib/network_message.cpp \
424 utility/transport/tcpip/protlib/threadsafe_db.cpp \
425 utility/transport/tcpip/protlib/timer.cpp \
426 utility/transport/tcpip/protlib/address.cpp \
427 utility/transport/tcpip/protlib/connectionmap.cpp \
428 utility/transport/tcpip/protlib/tp.cpp \
429 utility/transport/tcpip/protlib/tp_over_tcp.cpp \
430 utility/transport/tcpip/protlib/configuration.cpp \
431 utility/transport/tcpip/protlib/ie.cpp \
432 utility/transport/tcpip/protlib/threads.cpp \
433 utility/transport/tcpip/protlib/logfile.cpp \
434 utility/transport/transport_peer.cpp \
435 utility/transport/rfcomm/rfcomm.cpp \
436 utility/transport/asio/asio_io_service.cpp
437
438nobase_libariba_la_HEADERS += \
439 utility/transport/test_transport.hpp \
440 utility/transport/tcpip/tcpip.hpp \
441 utility/transport/transport_peer.hpp \
442 utility/transport/transport_protocol.hpp \
443 utility/transport/rfcomm/rfcomm.hpp \
444 utility/transport/transport.hpp \
445 utility/transport/asio/bluetooth_endpoint.hpp \
446 utility/transport/asio/rfcomm.hpp \
447 utility/transport/transport_listener.hpp \
448 utility/transport/tcpip/protlib/threadsafe_db.h \
449 utility/transport/tcpip/protlib/configuration.h \
450 utility/transport/tcpip/protlib/ie.h \
451 utility/transport/tcpip/protlib/llhashers.h \
452 utility/transport/tcpip/protlib/fqueue.h \
453 utility/transport/tcpip/protlib/assocdata_uds.h \
454 utility/transport/tcpip/protlib/address.h \
455 utility/transport/tcpip/protlib/logfile.h \
456 utility/transport/tcpip/protlib/timer.h \
457 utility/transport/tcpip/protlib/queuemanager.h \
458 utility/transport/tcpip/protlib/messages.h \
459 utility/transport/tcpip/protlib/assocdata.h \
460 utility/transport/tcpip/protlib/protlib_types.h \
461 utility/transport/tcpip/protlib/tp_over_tcp.h \
462 utility/transport/tcpip/protlib/tp.h \
463 utility/transport/tcpip/protlib/threads.h \
464 utility/transport/tcpip/protlib/connectionmap.h \
465 utility/transport/tcpip/protlib/timer_module.h \
466 utility/transport/tcpip/protlib/fastqueue.h \
467 utility/transport/tcpip/protlib/tperror.h \
468 utility/transport/tcpip/protlib/network_message.h \
469 utility/transport/tcpip/protlib/setuid.h \
470 utility/transport/tcpip/protlib/cleanuphandler.h \
471 utility/transport/tcpip/protlib/connectionmap_uds.h
472
473#------------> utility :: messages
474
475libariba_la_SOURCES += \
476 utility/messages/Message.cpp \
477 utility/messages/MessageProvider.cpp \
478 utility/messages/MessageReceiver.cpp \
479 utility/messages/MessageSender.cpp \
480 utility/messages/TextMessage.cpp
481
482nobase_libariba_la_HEADERS += \
483 utility/messages/_namespace.h \
484 utility/messages/Message.h \
485 utility/messages/MessageProvider.h \
486 utility/messages/MessageReceiver.h \
487 utility/messages/MessageSender.h \
488 utility/messages/MessageUtilities.h \
489 utility/messages/TextMessage.h
490
491#------------> utility :: misc
492
493libariba_la_SOURCES += \
494 utility/misc/Helper.cpp \
495 utility/misc/OvlVis.cpp \
496 utility/misc/sha1.cpp \
497 utility/misc/StringFormat.cpp
498
499nobase_libariba_la_HEADERS += \
500 utility/misc/Demultiplexer.hpp \
501 utility/misc/Helper.h \
502 utility/misc/KeyMapping.hpp \
503 utility/misc/OvlVis.h \
504 utility/misc/sha1.h \
505 utility/misc/StringFormat.h
506
507#------------> utility :: serialization
508
509libariba_la_SOURCES += \
510 utility/serialization/Serialization.cpp
511
512nobase_libariba_la_HEADERS += \
513 utility/serialization/DataUtilities.hpp \
514 utility/serialization/Serialization.hpp \
515 utility/serialization/Data.hpp \
516 utility/serialization/DataStream.hpp
517
518#------------> utility :: system
519
520libariba_la_SOURCES += \
521 utility/system/BlockingMethod.cpp \
522 utility/system/EnterMethod.cpp \
523 utility/system/SystemEvent.cpp \
524 utility/system/SystemEventListener.cpp \
525 utility/system/SystemEventType.cpp \
526 utility/system/SystemQueue.cpp \
527 utility/system/Timer.cpp \
528 utility/system/StartupWrapper.cpp
529
530nobase_libariba_la_HEADERS += \
531 utility/system/BlockingMethod.h \
532 utility/system/EnterMethod.h \
533 utility/system/SystemEvent.h \
534 utility/system/SystemEventListener.h \
535 utility/system/SystemEventType.h \
536 utility/system/SystemQueue.h \
537 utility/system/Timer.h \
538 utility/system/StartupWrapper.h \
539 utility/system/StartupInterface.h
540
541#------------> utility :: types
542
543libariba_la_SOURCES += \
544 utility/types/Address.cpp \
545 utility/types/Identifier.cpp \
546 utility/types/LinkID.cpp \
547 utility/types/Locator.cpp \
548 utility/types/NodeID.cpp \
549 utility/types/OverlayParameterSet.cpp \
550 utility/types/QoSParameterSet.cpp \
551 utility/types/SecurityParameterSet.cpp \
552 utility/types/ServiceID.cpp \
553 utility/types/SpoVNetID.cpp
554
555nobase_libariba_la_HEADERS += \
556 utility/types/_namespace.h \
557 utility/types/Address.h \
558 utility/types/Data.hpp \
559 utility/types/Identifier.h \
560 utility/types/LinkID.h \
561 utility/types/Locator.h \
562 utility/types/NodeID.h \
563 utility/types/OverlayParameterSet.h \
564 utility/types/QoSParameterSet.h \
565 utility/types/SecurityParameterSet.h \
566 utility/types/ServiceID.h \
567 utility/types/SpoVNetID.h
Note: See TracBrowser for help on using the repository browser.