1 | # the rocking Ariba library
|
---|
2 |
|
---|
3 | lib_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 |
|
---|
10 | libariba_la_SOURCES =
|
---|
11 | nobase_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 |
|
---|
20 | libariba_la_LDFLAGS = -version-info 0:0:0
|
---|
21 |
|
---|
22 | # compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
23 |
|
---|
24 | AM_CPPFLAGS = -DLINUX -D_LINUX -I../ -D_REENTRANT -DSCTP_KERN
|
---|
25 | AM_CPPFLAGS += $(BOOST_CPPFLAGS)
|
---|
26 |
|
---|
27 | if DEBUG
|
---|
28 | AM_CPPFLAGS += -ggdb -DDEBUG -D_DEBUG -O0
|
---|
29 | endif
|
---|
30 |
|
---|
31 | if PROFILING
|
---|
32 | AM_CPPFLAGS += -pg
|
---|
33 | endif
|
---|
34 |
|
---|
35 | if OMNET
|
---|
36 | AM_CPPFLAGS += -fPIC -DUNDERLAY_OMNET
|
---|
37 | endif
|
---|
38 |
|
---|
39 | if LOGCOLORS
|
---|
40 | AM_CPPFLAGS += -DLOGCOLORS
|
---|
41 | endif
|
---|
42 |
|
---|
43 | # linker flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
44 |
|
---|
45 | AM_LDFLAGS = $(BOOST_THREAD_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_REGEX_LDFLAGS)
|
---|
46 | LIBS += $(BOOST_THREAD_LIBS) $(BOOST_SYSTEM_LIBS) $(BOOST_REGEX_LIBS)
|
---|
47 |
|
---|
48 | if PROFILING
|
---|
49 | AM_LDFLAGS += -pg
|
---|
50 | endif
|
---|
51 |
|
---|
52 | if OMNET
|
---|
53 | AM_LDFLAGS += -shared -rdynamic
|
---|
54 | endif
|
---|
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
|
---|
61 | libariba_ladir = ${pkgincludedir}
|
---|
62 |
|
---|
63 | # ------------> tidy interface
|
---|
64 |
|
---|
65 | libariba_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 |
|
---|
78 | nobase_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 |
|
---|
95 | libariba_la_SOURCES += \
|
---|
96 | communication/BaseCommunication.cpp \
|
---|
97 | communication/CommunicationEvents.cpp \
|
---|
98 | communication/EndpointDescriptor.cpp
|
---|
99 |
|
---|
100 | nobase_libariba_la_HEADERS += \
|
---|
101 | communication/BaseCommunication.h \
|
---|
102 | communication/CommunicationEvents.h \
|
---|
103 | communication/EndpointDescriptor.h
|
---|
104 |
|
---|
105 | # ------------> communication :: messages
|
---|
106 |
|
---|
107 | libariba_la_SOURCES += \
|
---|
108 | communication/messages/AribaBaseMsg.cpp
|
---|
109 |
|
---|
110 | nobase_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 | libariba_la_SOURCES += \
|
---|
121 | communication/modules/network/NetworkLocator.cpp \
|
---|
122 | communication/modules/network/NetworkProtocol.cpp
|
---|
123 |
|
---|
124 | nobase_libariba_la_HEADERS += \
|
---|
125 | communication/modules/network/NetworkLocator.h \
|
---|
126 | communication/modules/network/NetworkProtocol.h
|
---|
127 |
|
---|
128 | # ------------> communication :: modules :: network :: ip
|
---|
129 |
|
---|
130 | libariba_la_SOURCES += \
|
---|
131 | communication/modules/network/ip/IPv4Locator.cpp \
|
---|
132 | communication/modules/network/ip/IPv4NetworkProtocol.cpp
|
---|
133 |
|
---|
134 | nobase_libariba_la_HEADERS += \
|
---|
135 | communication/modules/network/ip/IPv4Locator.h \
|
---|
136 | communication/modules/network/ip/IPv4NetworkProtocol.h
|
---|
137 |
|
---|
138 | # ------------> communication :: modules :: network :: omnet
|
---|
139 |
|
---|
140 | if OMNET
|
---|
141 | libariba_la_SOURCES += \
|
---|
142 | communication/modules/network/omnet/OmnetNetworkProtocol.cpp
|
---|
143 |
|
---|
144 | nobase_libariba_la_HEADERS += \
|
---|
145 | communication/modules/network/omnet/OmnetNetworkProtocol.h
|
---|
146 | endif
|
---|
147 |
|
---|
148 | #------------> communication :: modules :: transport
|
---|
149 |
|
---|
150 | libariba_la_SOURCES += \
|
---|
151 | communication/modules/transport/TransportLocator.cpp \
|
---|
152 | communication/modules/transport/TransportProtocol.cpp
|
---|
153 |
|
---|
154 | nobase_libariba_la_HEADERS += \
|
---|
155 | communication/modules/transport/TransportLocator.h \
|
---|
156 | communication/modules/transport/TransportProtocol.h
|
---|
157 |
|
---|
158 | #------------> communication :: modules :: transport :: omnet
|
---|
159 |
|
---|
160 | if OMNET
|
---|
161 | libariba_la_SOURCES += \
|
---|
162 | communication/modules/transport/omnet/AribaOmnetMessage_m.cc \
|
---|
163 | communication/modules/transport/omnet/AribaOmnetModule.cpp
|
---|
164 |
|
---|
165 | nobase_libariba_la_HEADERS += \
|
---|
166 | communication/modules/transport/omnet/AribaOmnetMessage_m.h \
|
---|
167 | communication/modules/transport/omnet/AribaOmnetModule.h
|
---|
168 | endif
|
---|
169 |
|
---|
170 | #------------> communication :: modules :: transport :: protlib
|
---|
171 |
|
---|
172 | if OMNET
|
---|
173 | else
|
---|
174 | libariba_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 |
|
---|
199 | nobase_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
|
---|
227 | endif
|
---|
228 |
|
---|
229 | #------------> communication :: modules :: transport :: tcp
|
---|
230 |
|
---|
231 | if OMNET
|
---|
232 | else
|
---|
233 | libariba_la_SOURCES += \
|
---|
234 | communication/modules/transport/tcp/TCPTransport.cpp \
|
---|
235 | communication/modules/transport/tcp/TCPTransportLocator.cpp
|
---|
236 |
|
---|
237 | nobase_libariba_la_HEADERS += \
|
---|
238 | communication/modules/transport/tcp/TCPTransport.h \
|
---|
239 | communication/modules/transport/tcp/TCPTransportLocator.h
|
---|
240 | endif
|
---|
241 |
|
---|
242 | #------------> communication :: networkinfo
|
---|
243 |
|
---|
244 | libariba_la_SOURCES += \
|
---|
245 | communication/networkinfo/AddressInformation.cpp \
|
---|
246 | communication/networkinfo/NetworkChangeDetection.cpp \
|
---|
247 | communication/networkinfo/NetworkInformation.cpp \
|
---|
248 | communication/networkinfo/NetworkInterface.cpp
|
---|
249 |
|
---|
250 | nobase_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 |
|
---|
259 | libariba_la_SOURCES += \
|
---|
260 | overlay/BaseOverlay.cpp
|
---|
261 |
|
---|
262 | nobase_libariba_la_HEADERS += \
|
---|
263 | overlay/BaseOverlay.h
|
---|
264 |
|
---|
265 | #------------> overlay :: messages
|
---|
266 |
|
---|
267 | libariba_la_SOURCES += \
|
---|
268 | overlay/messages/JoinReply.cpp \
|
---|
269 | overlay/messages/JoinRequest.cpp \
|
---|
270 | overlay/messages/LinkRequest.cpp \
|
---|
271 | overlay/messages/OverlayMsg.cpp
|
---|
272 |
|
---|
273 | nobase_libariba_la_HEADERS += \
|
---|
274 | overlay/messages/JoinReply.h \
|
---|
275 | overlay/messages/JoinRequest.h \
|
---|
276 | overlay/messages/LinkRequest.h \
|
---|
277 | overlay/messages/OverlayMsg.h
|
---|
278 |
|
---|
279 | #------------> overlay :: modules
|
---|
280 |
|
---|
281 | libariba_la_SOURCES += \
|
---|
282 | overlay/modules/OverlayStructureEvents.cpp \
|
---|
283 | overlay/modules/OverlayFactory.cpp \
|
---|
284 | overlay/modules/OverlayInterface.cpp
|
---|
285 |
|
---|
286 | nobase_libariba_la_HEADERS += \
|
---|
287 | overlay/modules/OverlayStructureEvents.h \
|
---|
288 | overlay/modules/OverlayFactory.h \
|
---|
289 | overlay/modules/OverlayInterface.h
|
---|
290 |
|
---|
291 | #------------> overlay :: modules :: onehop
|
---|
292 |
|
---|
293 | libariba_la_SOURCES += \
|
---|
294 | overlay/modules/onehop/OneHop.cpp \
|
---|
295 | overlay/modules/onehop/messages/OneHopMessage.cpp \
|
---|
296 | overlay/modules/onehop/messages/NodeListingRequest.cpp \
|
---|
297 | overlay/modules/onehop/messages/NodeListingReply.cpp
|
---|
298 |
|
---|
299 | nobase_libariba_la_HEADERS += \
|
---|
300 | overlay/modules/onehop/OneHop.h \
|
---|
301 | overlay/modules/onehop/messages/OneHopMessage.h \
|
---|
302 | overlay/modules/onehop/messages/NodeListingRequest.h \
|
---|
303 | overlay/modules/onehop/messages/NodeListingReply.h
|
---|
304 |
|
---|
305 | #------------> overlay :: modules :: chord
|
---|
306 |
|
---|
307 | libariba_la_SOURCES += \
|
---|
308 | overlay/modules/chord/Chord.cpp \
|
---|
309 | overlay/modules/chord/messages/ChordMessage.cpp \
|
---|
310 | overlay/modules/chord/messages/Discovery.cpp
|
---|
311 |
|
---|
312 | nobase_libariba_la_HEADERS += \
|
---|
313 | overlay/modules/chord/Chord.h \
|
---|
314 | overlay/modules/chord/messages/ChordMessage.h \
|
---|
315 | overlay/modules/chord/messages/Discovery.h \
|
---|
316 | overlay/modules/chord/detail/chord_routing_table.hpp \
|
---|
317 | overlay/modules/chord/detail/comparators.hpp \
|
---|
318 | overlay/modules/chord/detail/distances.hpp \
|
---|
319 | overlay/modules/chord/detail/minimizer_table.hpp \
|
---|
320 | overlay/modules/chord/detail/table_listener.hpp
|
---|
321 |
|
---|
322 | #------------> utility
|
---|
323 |
|
---|
324 | nobase_libariba_la_HEADERS += \
|
---|
325 | utility/types.h \
|
---|
326 | utility/messages.h \
|
---|
327 | utility/serialization.h
|
---|
328 |
|
---|
329 | #------------> utility :: configuration
|
---|
330 |
|
---|
331 | libariba_la_SOURCES += \
|
---|
332 | utility/configuration/ConfigFile.cpp \
|
---|
333 | utility/configuration/Configuration.cpp
|
---|
334 |
|
---|
335 | nobase_libariba_la_HEADERS += \
|
---|
336 | utility/configuration/ConfigFile.h \
|
---|
337 | utility/configuration/Configuration.h
|
---|
338 |
|
---|
339 | #------------> utility :: internal
|
---|
340 |
|
---|
341 | nobase_libariba_la_HEADERS += \
|
---|
342 | utility/internal/Utilities.hpp
|
---|
343 |
|
---|
344 | #------------> utility :: logging
|
---|
345 |
|
---|
346 | nobase_libariba_la_HEADERS += \
|
---|
347 | utility/logging/Logging.h
|
---|
348 |
|
---|
349 | #------------> utility :: measurement
|
---|
350 |
|
---|
351 | libariba_la_SOURCES += \
|
---|
352 | utility/measurement/PathloadMeasurement.cpp
|
---|
353 |
|
---|
354 | nobase_libariba_la_HEADERS += \
|
---|
355 | utility/measurement/PathloadMeasurement.h
|
---|
356 |
|
---|
357 | #------------> utility :: messages
|
---|
358 |
|
---|
359 | libariba_la_SOURCES += \
|
---|
360 | utility/messages/Message.cpp \
|
---|
361 | utility/messages/MessageControlInfo.cpp \
|
---|
362 | utility/messages/MessageProvider.cpp \
|
---|
363 | utility/messages/MessageReceiver.cpp \
|
---|
364 | utility/messages/MessageSender.cpp \
|
---|
365 | utility/messages/TextMessage.cpp
|
---|
366 |
|
---|
367 | nobase_libariba_la_HEADERS += \
|
---|
368 | utility/messages/_namespace.h \
|
---|
369 | utility/messages/Message.h \
|
---|
370 | utility/messages/MessageControlInfo.h \
|
---|
371 | utility/messages/MessageProvider.h \
|
---|
372 | utility/messages/MessageReceiver.h \
|
---|
373 | utility/messages/MessageSender.h \
|
---|
374 | utility/messages/MessageUtilities.h \
|
---|
375 | utility/messages/TextMessage.h
|
---|
376 |
|
---|
377 | #------------> utility :: misc
|
---|
378 |
|
---|
379 | libariba_la_SOURCES += \
|
---|
380 | utility/misc/Helper.cpp \
|
---|
381 | utility/misc/OvlVis.cpp \
|
---|
382 | utility/misc/sha1.cpp \
|
---|
383 | utility/misc/StringFormat.cpp
|
---|
384 |
|
---|
385 | nobase_libariba_la_HEADERS += \
|
---|
386 | utility/misc/Demultiplexer.hpp \
|
---|
387 | utility/misc/Helper.h \
|
---|
388 | utility/misc/KeyMapping.hpp \
|
---|
389 | utility/misc/OvlVis.h \
|
---|
390 | utility/misc/sha1.h \
|
---|
391 | utility/misc/StringFormat.h
|
---|
392 |
|
---|
393 | #------------> utility :: serialization
|
---|
394 |
|
---|
395 | libariba_la_SOURCES += \
|
---|
396 | utility/serialization/Serialization.cpp
|
---|
397 |
|
---|
398 | nobase_libariba_la_HEADERS += \
|
---|
399 | utility/serialization/DataUtilities.hpp \
|
---|
400 | utility/serialization/Serialization.hpp \
|
---|
401 | utility/serialization/Data.hpp \
|
---|
402 | utility/serialization/DataStream.hpp
|
---|
403 |
|
---|
404 | #------------> utility :: system
|
---|
405 |
|
---|
406 | libariba_la_SOURCES += \
|
---|
407 | utility/system/BlockingMethod.cpp \
|
---|
408 | utility/system/SystemEvent.cpp \
|
---|
409 | utility/system/SystemEventListener.cpp \
|
---|
410 | utility/system/SystemEventType.cpp \
|
---|
411 | utility/system/SystemQueue.cpp \
|
---|
412 | utility/system/Timer.cpp \
|
---|
413 | utility/system/StartupWrapper.cpp
|
---|
414 |
|
---|
415 | nobase_libariba_la_HEADERS += \
|
---|
416 | utility/system/BlockingMethod.h \
|
---|
417 | utility/system/SystemEvent.h \
|
---|
418 | utility/system/SystemEventListener.h \
|
---|
419 | utility/system/SystemEventType.h \
|
---|
420 | utility/system/SystemQueue.h \
|
---|
421 | utility/system/Timer.h \
|
---|
422 | utility/system/StartupWrapper.h \
|
---|
423 | utility/system/StartupInterface.h
|
---|
424 |
|
---|
425 | #------------> utility :: types
|
---|
426 |
|
---|
427 | libariba_la_SOURCES += \
|
---|
428 | utility/types/Address.cpp \
|
---|
429 | utility/types/Identifier.cpp \
|
---|
430 | utility/types/LinkID.cpp \
|
---|
431 | utility/types/Locator.cpp \
|
---|
432 | utility/types/NodeID.cpp \
|
---|
433 | utility/types/OverlayParameterSet.cpp \
|
---|
434 | utility/types/QoSParameterSet.cpp \
|
---|
435 | utility/types/SecurityParameterSet.cpp \
|
---|
436 | utility/types/ServiceID.cpp \
|
---|
437 | utility/types/SpoVNetID.cpp
|
---|
438 |
|
---|
439 | nobase_libariba_la_HEADERS += \
|
---|
440 | utility/types/_namespace.h \
|
---|
441 | utility/types/Address.h \
|
---|
442 | utility/types/Data.hpp \
|
---|
443 | utility/types/Identifier.h \
|
---|
444 | utility/types/LinkID.h \
|
---|
445 | utility/types/Locator.h \
|
---|
446 | utility/types/NodeID.h \
|
---|
447 | utility/types/OverlayParameterSet.h \
|
---|
448 | utility/types/QoSParameterSet.h \
|
---|
449 | utility/types/SecurityParameterSet.h \
|
---|
450 | utility/types/ServiceID.h \
|
---|
451 | utility/types/SpoVNetID.h
|
---|