source: source/ariba/Makefile.am@ 4987

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

-mehr stuff für periodic broadcast

File size: 14.4 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
115nobase_libariba_la_HEADERS += \
116 communication/modules/modules.h \
117 communication/modules/_namespace.h
118
119# ------------> communication :: modules :: network
120libariba_la_SOURCES += \
121 communication/modules/network/NetworkLocator.cpp \
122 communication/modules/network/NetworkProtocol.cpp
123
124nobase_libariba_la_HEADERS += \
125 communication/modules/network/NetworkLocator.h \
126 communication/modules/network/NetworkProtocol.h
127
128# ------------> communication :: modules :: network :: ip
129
130libariba_la_SOURCES += \
131 communication/modules/network/ip/IPv4Locator.cpp \
132 communication/modules/network/ip/IPv4NetworkProtocol.cpp
133
134nobase_libariba_la_HEADERS += \
135 communication/modules/network/ip/IPv4Locator.h \
136 communication/modules/network/ip/IPv4NetworkProtocol.h
137
138# ------------> communication :: modules :: network :: omnet
139
140if OMNET
141libariba_la_SOURCES += \
142 communication/modules/network/omnet/OmnetNetworkProtocol.cpp
143
144nobase_libariba_la_HEADERS += \
145 communication/modules/network/omnet/OmnetNetworkProtocol.h
146endif
147
148#------------> communication :: modules :: transport
149
150libariba_la_SOURCES += \
151 communication/modules/transport/TransportLocator.cpp \
152 communication/modules/transport/TransportProtocol.cpp
153
154nobase_libariba_la_HEADERS += \
155 communication/modules/transport/TransportLocator.h \
156 communication/modules/transport/TransportProtocol.h
157
158#------------> communication :: modules :: transport :: omnet
159
160if OMNET
161libariba_la_SOURCES += \
162 communication/modules/transport/omnet/AribaOmnetMessage_m.cc \
163 communication/modules/transport/omnet/AribaOmnetModule.cpp
164
165nobase_libariba_la_HEADERS += \
166 communication/modules/transport/omnet/AribaOmnetMessage_m.h \
167 communication/modules/transport/omnet/AribaOmnetModule.h
168endif
169
170#------------> communication :: modules :: transport :: protlib
171
172if OMNET
173else
174libariba_la_SOURCES += \
175 communication/modules/transport/protlib/timer_module.cpp \
176 communication/modules/transport/protlib/threadsafe_db.cpp \
177 communication/modules/transport/protlib/address.cpp \
178 communication/modules/transport/protlib/ie.cpp \
179 communication/modules/transport/protlib/tp_over_tcp.cpp \
180 communication/modules/transport/protlib/setuid.cpp \
181 communication/modules/transport/protlib/tp.cpp \
182 communication/modules/transport/protlib/connectionmap_uds.cpp \
183 communication/modules/transport/protlib/logfile.cpp \
184 communication/modules/transport/protlib/timer.cpp \
185 communication/modules/transport/protlib/connectionmap.cpp \
186 communication/modules/transport/protlib/fqueue.cpp \
187 communication/modules/transport/protlib/threads.cpp \
188 communication/modules/transport/protlib/messages.cpp \
189 communication/modules/transport/protlib/queuemanager.cpp \
190 communication/modules/transport/protlib/network_message.cpp \
191 communication/modules/transport/protlib/configuration.cpp \
192 communication/modules/transport/protlib/tp_over_uds.cpp \
193 communication/modules/transport/protlib/tp_over_udp.cpp \
194 communication/modules/transport/protlib/tp_over_tls_tcp.cpp \
195 communication/modules/transport/protlib/fastqueue.c \
196 communication/modules/transport/protlib/eclock_gettime.c \
197 communication/modules/transport/protlib/testqueue.c
198
199nobase_libariba_la_HEADERS += \
200 communication/modules/transport/protlib/tp_over_uds.h \
201 communication/modules/transport/protlib/threadsafe_db.h \
202 communication/modules/transport/protlib/configuration.h \
203 communication/modules/transport/protlib/ie.h \
204 communication/modules/transport/protlib/llhashers.h \
205 communication/modules/transport/protlib/fqueue.h \
206 communication/modules/transport/protlib/assocdata_uds.h \
207 communication/modules/transport/protlib/address.h \
208 communication/modules/transport/protlib/logfile.h \
209 communication/modules/transport/protlib/timer.h \
210 communication/modules/transport/protlib/queuemanager.h \
211 communication/modules/transport/protlib/messages.h \
212 communication/modules/transport/protlib/assocdata.h \
213 communication/modules/transport/protlib/protlib_types.h \
214 communication/modules/transport/protlib/tp_over_tcp.h \
215 communication/modules/transport/protlib/tp.h \
216 communication/modules/transport/protlib/threads.h \
217 communication/modules/transport/protlib/connectionmap.h \
218 communication/modules/transport/protlib/timer_module.h \
219 communication/modules/transport/protlib/fastqueue.h \
220 communication/modules/transport/protlib/tperror.h \
221 communication/modules/transport/protlib/tp_over_tls_tcp.h \
222 communication/modules/transport/protlib/network_message.h \
223 communication/modules/transport/protlib/tp_over_udp.h \
224 communication/modules/transport/protlib/setuid.h \
225 communication/modules/transport/protlib/cleanuphandler.h \
226 communication/modules/transport/protlib/connectionmap_uds.h
227endif
228
229#------------> communication :: modules :: transport :: tcp
230
231if OMNET
232else
233libariba_la_SOURCES += \
234 communication/modules/transport/tcp/TCPTransport.cpp \
235 communication/modules/transport/tcp/TCPTransportLocator.cpp
236
237nobase_libariba_la_HEADERS += \
238 communication/modules/transport/tcp/TCPTransport.h \
239 communication/modules/transport/tcp/TCPTransportLocator.h
240endif
241
242#------------> communication :: networkinfo
243
244libariba_la_SOURCES += \
245 communication/networkinfo/AddressInformation.cpp \
246 communication/networkinfo/NetworkChangeDetection.cpp \
247 communication/networkinfo/NetworkInformation.cpp \
248 communication/networkinfo/NetworkInterface.cpp
249
250nobase_libariba_la_HEADERS += \
251 communication/networkinfo/AddressInformation.h \
252 communication/networkinfo/NetworkChangeDetection.h \
253 communication/networkinfo/NetworkChangeInterface.h \
254 communication/networkinfo/NetworkInterface.h \
255 communication/networkinfo/NetworkInformation.h
256
257#------------> overlay
258
259libariba_la_SOURCES += \
260 overlay/BaseOverlay.cpp \
261 overlay/OverlayBootstrap.cpp
262
263nobase_libariba_la_HEADERS += \
264 overlay/BaseOverlay.h \
265 overlay/OverlayBootstrap.h
266
267#------------> overlay :: messages
268
269libariba_la_SOURCES += \
270 overlay/messages/JoinReply.cpp \
271 overlay/messages/JoinRequest.cpp \
272 overlay/messages/LinkRequest.cpp \
273 overlay/messages/OverlayMsg.cpp
274
275nobase_libariba_la_HEADERS += \
276 overlay/messages/JoinReply.h \
277 overlay/messages/JoinRequest.h \
278 overlay/messages/LinkRequest.h \
279 overlay/messages/OverlayMsg.h
280
281#------------> overlay :: modules
282
283libariba_la_SOURCES += \
284 overlay/modules/OverlayStructureEvents.cpp \
285 overlay/modules/OverlayFactory.cpp \
286 overlay/modules/OverlayInterface.cpp
287
288nobase_libariba_la_HEADERS += \
289 overlay/modules/OverlayStructureEvents.h \
290 overlay/modules/OverlayFactory.h \
291 overlay/modules/OverlayInterface.h
292
293#------------> overlay :: modules :: onehop
294
295libariba_la_SOURCES += \
296 overlay/modules/onehop/OneHop.cpp \
297 overlay/modules/onehop/messages/OneHopMessage.cpp \
298 overlay/modules/onehop/messages/NodeListingRequest.cpp \
299 overlay/modules/onehop/messages/NodeListingReply.cpp
300
301nobase_libariba_la_HEADERS += \
302 overlay/modules/onehop/OneHop.h \
303 overlay/modules/onehop/messages/OneHopMessage.h \
304 overlay/modules/onehop/messages/NodeListingRequest.h \
305 overlay/modules/onehop/messages/NodeListingReply.h
306
307#------------> overlay :: modules :: chord
308
309libariba_la_SOURCES += \
310 overlay/modules/chord/Chord.cpp \
311 overlay/modules/chord/messages/ChordMessage.cpp \
312 overlay/modules/chord/messages/Discovery.cpp
313
314nobase_libariba_la_HEADERS += \
315 overlay/modules/chord/Chord.h \
316 overlay/modules/chord/messages/ChordMessage.h \
317 overlay/modules/chord/messages/Discovery.h \
318 overlay/modules/chord/detail/chord_routing_table.hpp \
319 overlay/modules/chord/detail/comparators.hpp \
320 overlay/modules/chord/detail/distances.hpp \
321 overlay/modules/chord/detail/minimizer_table.hpp \
322 overlay/modules/chord/detail/table_listener.hpp
323
324#------------> utility
325
326nobase_libariba_la_HEADERS += \
327 utility/types.h \
328 utility/messages.h \
329 utility/serialization.h
330
331#------------> utility :: bootstrap
332
333libariba_la_SOURCES += \
334 utility/bootstrap/BootstrapManager.cpp \
335 utility/bootstrap/modules/BootstrapModule.cpp \
336 utility/bootstrap/modules/multicastdns/MulticastDns.cpp \
337 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp \
338 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp \
339 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.cpp
340
341nobase_libariba_la_HEADERS += \
342 utility/bootstrap/BootstrapManager.h \
343 utility/bootstrap/BootstrapInformationCallback.h \
344 utility/bootstrap/modules/BootstrapModule.h \
345 utility/bootstrap/modules/multicastdns/MulticastDns.h \
346 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.h \
347 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h \
348 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.h
349
350#------------> utility :: configuration
351
352libariba_la_SOURCES += \
353 utility/configuration/ConfigFile.cpp \
354 utility/configuration/Configuration.cpp
355
356nobase_libariba_la_HEADERS += \
357 utility/configuration/ConfigFile.h \
358 utility/configuration/Configuration.h
359
360#------------> utility :: internal
361
362nobase_libariba_la_HEADERS += \
363 utility/internal/Utilities.hpp
364
365#------------> utility :: logging
366
367nobase_libariba_la_HEADERS += \
368 utility/logging/Logging.h
369
370#------------> utility :: measurement
371
372libariba_la_SOURCES += \
373 utility/measurement/PathloadMeasurement.cpp
374
375nobase_libariba_la_HEADERS += \
376 utility/measurement/PathloadMeasurement.h
377
378#------------> utility :: messages
379
380libariba_la_SOURCES += \
381 utility/messages/Message.cpp \
382 utility/messages/MessageProvider.cpp \
383 utility/messages/MessageReceiver.cpp \
384 utility/messages/MessageSender.cpp \
385 utility/messages/TextMessage.cpp
386
387nobase_libariba_la_HEADERS += \
388 utility/messages/_namespace.h \
389 utility/messages/Message.h \
390 utility/messages/MessageProvider.h \
391 utility/messages/MessageReceiver.h \
392 utility/messages/MessageSender.h \
393 utility/messages/MessageUtilities.h \
394 utility/messages/TextMessage.h
395
396#------------> utility :: misc
397
398libariba_la_SOURCES += \
399 utility/misc/Helper.cpp \
400 utility/misc/OvlVis.cpp \
401 utility/misc/sha1.cpp \
402 utility/misc/StringFormat.cpp
403
404nobase_libariba_la_HEADERS += \
405 utility/misc/Demultiplexer.hpp \
406 utility/misc/Helper.h \
407 utility/misc/KeyMapping.hpp \
408 utility/misc/OvlVis.h \
409 utility/misc/sha1.h \
410 utility/misc/StringFormat.h
411
412#------------> utility :: serialization
413
414libariba_la_SOURCES += \
415 utility/serialization/Serialization.cpp
416
417nobase_libariba_la_HEADERS += \
418 utility/serialization/DataUtilities.hpp \
419 utility/serialization/Serialization.hpp \
420 utility/serialization/Data.hpp \
421 utility/serialization/DataStream.hpp
422
423#------------> utility :: system
424
425libariba_la_SOURCES += \
426 utility/system/BlockingMethod.cpp \
427 utility/system/EnterMethod.cpp \
428 utility/system/SystemEvent.cpp \
429 utility/system/SystemEventListener.cpp \
430 utility/system/SystemEventType.cpp \
431 utility/system/SystemQueue.cpp \
432 utility/system/Timer.cpp \
433 utility/system/StartupWrapper.cpp
434
435nobase_libariba_la_HEADERS += \
436 utility/system/BlockingMethod.h \
437 utility/system/EnterMethod.h \
438 utility/system/SystemEvent.h \
439 utility/system/SystemEventListener.h \
440 utility/system/SystemEventType.h \
441 utility/system/SystemQueue.h \
442 utility/system/Timer.h \
443 utility/system/StartupWrapper.h \
444 utility/system/StartupInterface.h
445
446#------------> utility :: types
447
448libariba_la_SOURCES += \
449 utility/types/Address.cpp \
450 utility/types/Identifier.cpp \
451 utility/types/LinkID.cpp \
452 utility/types/Locator.cpp \
453 utility/types/NodeID.cpp \
454 utility/types/OverlayParameterSet.cpp \
455 utility/types/QoSParameterSet.cpp \
456 utility/types/SecurityParameterSet.cpp \
457 utility/types/ServiceID.cpp \
458 utility/types/SpoVNetID.cpp
459
460nobase_libariba_la_HEADERS += \
461 utility/types/_namespace.h \
462 utility/types/Address.h \
463 utility/types/Data.hpp \
464 utility/types/Identifier.h \
465 utility/types/LinkID.h \
466 utility/types/Locator.h \
467 utility/types/NodeID.h \
468 utility/types/OverlayParameterSet.h \
469 utility/types/QoSParameterSet.h \
470 utility/types/SecurityParameterSet.h \
471 utility/types/ServiceID.h \
472 utility/types/SpoVNetID.h
Note: See TracBrowser for help on using the repository browser.