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 | # linker flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
40 |
|
---|
41 | AM_LDFLAGS = $(BOOST_THREAD_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_REGEX_LDFLAGS)
|
---|
42 | LIBS += $(BOOST_THREAD_LIBS) $(BOOST_SYSTEM_LIBS) $(BOOST_REGEX_LIBS)
|
---|
43 |
|
---|
44 | if PROFILING
|
---|
45 | AM_LDFLAGS += -pg
|
---|
46 | endif
|
---|
47 |
|
---|
48 | if OMNET
|
---|
49 | AM_LDFLAGS += -shared -rdynamic
|
---|
50 | endif
|
---|
51 |
|
---|
52 | # sources and subdirs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
53 |
|
---|
54 | # where to put the libs into -> /ariba
|
---|
55 | # currently we have no version number
|
---|
56 | # attached to the header/libs folder
|
---|
57 | libariba_ladir = ${pkgincludedir}
|
---|
58 |
|
---|
59 | # ------------> tidy interface
|
---|
60 |
|
---|
61 | libariba_la_SOURCES += \
|
---|
62 | AribaModule.cpp \
|
---|
63 | CommunicationListener.cpp \
|
---|
64 | Identifiers.cpp \
|
---|
65 | LinkProperties.cpp \
|
---|
66 | DataMessage.cpp \
|
---|
67 | Module.cpp \
|
---|
68 | Name.cpp \
|
---|
69 | Node.cpp \
|
---|
70 | NodeListener.cpp \
|
---|
71 | SpoVNetProperties.cpp
|
---|
72 |
|
---|
73 | nobase_libariba_la_HEADERS += \
|
---|
74 | ariba.h \
|
---|
75 | AribaModule.h \
|
---|
76 | CommunicationListener.h \
|
---|
77 | Identifiers.h \
|
---|
78 | LinkProperties.h \
|
---|
79 | Message.h \
|
---|
80 | DataMessage.h \
|
---|
81 | Module.h \
|
---|
82 | Name.h \
|
---|
83 | Node.h \
|
---|
84 | NodeListener.h \
|
---|
85 | SpoVNetProperties.h
|
---|
86 |
|
---|
87 | # ------------> communication
|
---|
88 |
|
---|
89 | libariba_la_SOURCES += \
|
---|
90 | communication/BaseCommunication.cpp \
|
---|
91 | communication/CommunicationEvents.cpp \
|
---|
92 | communication/EndpointDescriptor.cpp
|
---|
93 |
|
---|
94 | nobase_libariba_la_HEADERS += \
|
---|
95 | communication/BaseCommunication.h \
|
---|
96 | communication/CommunicationEvents.h \
|
---|
97 | communication/EndpointDescriptor.h
|
---|
98 |
|
---|
99 | # ------------> communication :: messages
|
---|
100 |
|
---|
101 | libariba_la_SOURCES += \
|
---|
102 | communication/messages/AribaBaseMsg.cpp
|
---|
103 |
|
---|
104 | nobase_libariba_la_HEADERS += \
|
---|
105 | communication/messages/AribaBaseMsg.h
|
---|
106 |
|
---|
107 | # ------------> communication :: modules
|
---|
108 |
|
---|
109 | nobase_libariba_la_HEADERS += \
|
---|
110 | communication/modules/modules.h \
|
---|
111 | communication/modules/_namespace.h
|
---|
112 |
|
---|
113 | # ------------> communication :: modules :: network
|
---|
114 | libariba_la_SOURCES += \
|
---|
115 | communication/modules/network/NetworkLocator.cpp \
|
---|
116 | communication/modules/network/NetworkProtocol.cpp
|
---|
117 |
|
---|
118 | nobase_libariba_la_HEADERS += \
|
---|
119 | communication/modules/network/NetworkLocator.h \
|
---|
120 | communication/modules/network/NetworkProtocol.h
|
---|
121 |
|
---|
122 | # ------------> communication :: modules :: network :: ip
|
---|
123 |
|
---|
124 | libariba_la_SOURCES += \
|
---|
125 | communication/modules/network/ip/IPv4Locator.cpp \
|
---|
126 | communication/modules/network/ip/IPv4NetworkProtocol.cpp
|
---|
127 |
|
---|
128 | nobase_libariba_la_HEADERS += \
|
---|
129 | communication/modules/network/ip/IPv4Locator.h \
|
---|
130 | communication/modules/network/ip/IPv4NetworkProtocol.h
|
---|
131 |
|
---|
132 | # ------------> communication :: modules :: network :: omnet
|
---|
133 |
|
---|
134 | if OMNET
|
---|
135 | libariba_la_SOURCES += \
|
---|
136 | communication/modules/network/omnet/OmnetNetworkProtocol.cpp
|
---|
137 |
|
---|
138 | nobase_libariba_la_HEADERS += \
|
---|
139 | communication/modules/network/omnet/OmnetNetworkProtocol.h
|
---|
140 | endif
|
---|
141 |
|
---|
142 | #------------> communication :: modules :: transport
|
---|
143 |
|
---|
144 | libariba_la_SOURCES += \
|
---|
145 | communication/modules/transport/TransportLocator.cpp \
|
---|
146 | communication/modules/transport/TransportProtocol.cpp
|
---|
147 |
|
---|
148 | nobase_libariba_la_HEADERS += \
|
---|
149 | communication/modules/transport/TransportLocator.h \
|
---|
150 | communication/modules/transport/TransportProtocol.h
|
---|
151 |
|
---|
152 | #------------> communication :: modules :: transport :: omnet
|
---|
153 |
|
---|
154 | if OMNET
|
---|
155 | libariba_la_SOURCES += \
|
---|
156 | communication/modules/transport/omnet/AribaOmnetMessage_m.cc \
|
---|
157 | communication/modules/transport/omnet/AribaOmnetModule.cpp
|
---|
158 |
|
---|
159 | nobase_libariba_la_HEADERS += \
|
---|
160 | communication/modules/transport/omnet/AribaOmnetMessage_m.h \
|
---|
161 | communication/modules/transport/omnet/AribaOmnetModule.h
|
---|
162 | endif
|
---|
163 |
|
---|
164 | #------------> communication :: modules :: transport :: protlib
|
---|
165 |
|
---|
166 | if OMNET
|
---|
167 | else
|
---|
168 | libariba_la_SOURCES += \
|
---|
169 | communication/modules/transport/protlib/timer_module.cpp \
|
---|
170 | communication/modules/transport/protlib/threadsafe_db.cpp \
|
---|
171 | communication/modules/transport/protlib/address.cpp \
|
---|
172 | communication/modules/transport/protlib/ie.cpp \
|
---|
173 | communication/modules/transport/protlib/tp_over_tcp.cpp \
|
---|
174 | communication/modules/transport/protlib/setuid.cpp \
|
---|
175 | communication/modules/transport/protlib/tp.cpp \
|
---|
176 | communication/modules/transport/protlib/connectionmap_uds.cpp \
|
---|
177 | communication/modules/transport/protlib/logfile.cpp \
|
---|
178 | communication/modules/transport/protlib/timer.cpp \
|
---|
179 | communication/modules/transport/protlib/connectionmap.cpp \
|
---|
180 | communication/modules/transport/protlib/fqueue.cpp \
|
---|
181 | communication/modules/transport/protlib/threads.cpp \
|
---|
182 | communication/modules/transport/protlib/messages.cpp \
|
---|
183 | communication/modules/transport/protlib/queuemanager.cpp \
|
---|
184 | communication/modules/transport/protlib/network_message.cpp \
|
---|
185 | communication/modules/transport/protlib/configuration.cpp \
|
---|
186 | communication/modules/transport/protlib/tp_over_uds.cpp \
|
---|
187 | communication/modules/transport/protlib/tp_over_udp.cpp \
|
---|
188 | communication/modules/transport/protlib/tp_over_tls_tcp.cpp \
|
---|
189 | communication/modules/transport/protlib/fastqueue.c \
|
---|
190 | communication/modules/transport/protlib/eclock_gettime.c \
|
---|
191 | communication/modules/transport/protlib/testqueue.c
|
---|
192 |
|
---|
193 | nobase_libariba_la_HEADERS += \
|
---|
194 | communication/modules/transport/protlib/tp_over_uds.h \
|
---|
195 | communication/modules/transport/protlib/threadsafe_db.h \
|
---|
196 | communication/modules/transport/protlib/configuration.h \
|
---|
197 | communication/modules/transport/protlib/ie.h \
|
---|
198 | communication/modules/transport/protlib/llhashers.h \
|
---|
199 | communication/modules/transport/protlib/fqueue.h \
|
---|
200 | communication/modules/transport/protlib/assocdata_uds.h \
|
---|
201 | communication/modules/transport/protlib/address.h \
|
---|
202 | communication/modules/transport/protlib/logfile.h \
|
---|
203 | communication/modules/transport/protlib/timer.h \
|
---|
204 | communication/modules/transport/protlib/queuemanager.h \
|
---|
205 | communication/modules/transport/protlib/messages.h \
|
---|
206 | communication/modules/transport/protlib/assocdata.h \
|
---|
207 | communication/modules/transport/protlib/protlib_types.h \
|
---|
208 | communication/modules/transport/protlib/tp_over_tcp.h \
|
---|
209 | communication/modules/transport/protlib/tp.h \
|
---|
210 | communication/modules/transport/protlib/threads.h \
|
---|
211 | communication/modules/transport/protlib/connectionmap.h \
|
---|
212 | communication/modules/transport/protlib/timer_module.h \
|
---|
213 | communication/modules/transport/protlib/fastqueue.h \
|
---|
214 | communication/modules/transport/protlib/tperror.h \
|
---|
215 | communication/modules/transport/protlib/tp_over_tls_tcp.h \
|
---|
216 | communication/modules/transport/protlib/network_message.h \
|
---|
217 | communication/modules/transport/protlib/tp_over_udp.h \
|
---|
218 | communication/modules/transport/protlib/setuid.h \
|
---|
219 | communication/modules/transport/protlib/cleanuphandler.h \
|
---|
220 | communication/modules/transport/protlib/connectionmap_uds.h
|
---|
221 | endif
|
---|
222 |
|
---|
223 | #------------> communication :: modules :: transport :: tcp
|
---|
224 |
|
---|
225 | if OMNET
|
---|
226 | else
|
---|
227 | libariba_la_SOURCES += \
|
---|
228 | communication/modules/transport/tcp/TCPTransport.cpp \
|
---|
229 | communication/modules/transport/tcp/TCPTransportLocator.cpp
|
---|
230 |
|
---|
231 | nobase_libariba_la_HEADERS += \
|
---|
232 | communication/modules/transport/tcp/TCPTransport.h \
|
---|
233 | communication/modules/transport/tcp/TCPTransportLocator.h
|
---|
234 | endif
|
---|
235 |
|
---|
236 | #------------> communication :: networkinfo
|
---|
237 |
|
---|
238 | libariba_la_SOURCES += \
|
---|
239 | communication/networkinfo/AddressInformation.cpp \
|
---|
240 | communication/networkinfo/NetworkChangeDetection.cpp \
|
---|
241 | communication/networkinfo/NetworkInformation.cpp \
|
---|
242 | communication/networkinfo/NetworkInterface.cpp
|
---|
243 |
|
---|
244 | nobase_libariba_la_HEADERS += \
|
---|
245 | communication/networkinfo/AddressInformation.h \
|
---|
246 | communication/networkinfo/NetworkChangeDetection.h \
|
---|
247 | communication/networkinfo/NetworkChangeInterface.h \
|
---|
248 | communication/networkinfo/NetworkInterface.h \
|
---|
249 | communication/networkinfo/NetworkInformation.h
|
---|
250 |
|
---|
251 | #------------> interface
|
---|
252 |
|
---|
253 | libariba_la_SOURCES += \
|
---|
254 | interface/UnderlayAbstraction.cpp \
|
---|
255 | interface/AribaContext.cpp \
|
---|
256 | interface/ServiceInterface.cpp
|
---|
257 |
|
---|
258 | nobase_libariba_la_HEADERS += \
|
---|
259 | interface/UnderlayAbstraction.h \
|
---|
260 | interface/AribaContext.h \
|
---|
261 | interface/ServiceInterface.h
|
---|
262 |
|
---|
263 | #------------> overlay
|
---|
264 |
|
---|
265 | libariba_la_SOURCES += \
|
---|
266 | overlay/BaseOverlay.cpp \
|
---|
267 | overlay/OverlayEvents.cpp
|
---|
268 |
|
---|
269 | nobase_libariba_la_HEADERS += \
|
---|
270 | overlay/BaseOverlay.h \
|
---|
271 | overlay/OverlayEvents.h
|
---|
272 |
|
---|
273 | #------------> overlay :: messages
|
---|
274 |
|
---|
275 | libariba_la_SOURCES += \
|
---|
276 | overlay/messages/JoinReply.cpp \
|
---|
277 | overlay/messages/JoinRequest.cpp \
|
---|
278 | overlay/messages/OverlayMsg.cpp
|
---|
279 |
|
---|
280 | nobase_libariba_la_HEADERS += \
|
---|
281 | overlay/messages/JoinReply.h \
|
---|
282 | overlay/messages/JoinRequest.h \
|
---|
283 | overlay/messages/OverlayMsg.h
|
---|
284 |
|
---|
285 | #------------> overlay :: modules
|
---|
286 |
|
---|
287 | libariba_la_SOURCES += \
|
---|
288 | overlay/modules/OverlayStructureEvents.cpp \
|
---|
289 | overlay/modules/OverlayFactory.cpp \
|
---|
290 | overlay/modules/OverlayInterface.cpp
|
---|
291 |
|
---|
292 | nobase_libariba_la_HEADERS += \
|
---|
293 | overlay/modules/OverlayStructureEvents.h \
|
---|
294 | overlay/modules/OverlayFactory.h \
|
---|
295 | overlay/modules/OverlayInterface.h
|
---|
296 |
|
---|
297 | #------------> overlay :: modules :: onehop
|
---|
298 |
|
---|
299 | libariba_la_SOURCES += \
|
---|
300 | overlay/modules/onehop/OneHop.cpp \
|
---|
301 | overlay/modules/onehop/messages/OneHopMessage.cpp \
|
---|
302 | overlay/modules/onehop/messages/NodeListingRequest.cpp \
|
---|
303 | overlay/modules/onehop/messages/NodeListingReply.cpp
|
---|
304 |
|
---|
305 | nobase_libariba_la_HEADERS += \
|
---|
306 | overlay/modules/onehop/OneHop.h \
|
---|
307 | overlay/modules/onehop/messages/OneHopMessage.h \
|
---|
308 | overlay/modules/onehop/messages/NodeListingRequest.h \
|
---|
309 | overlay/modules/onehop/messages/NodeListingReply.h
|
---|
310 |
|
---|
311 | #------------> utility
|
---|
312 |
|
---|
313 | nobase_libariba_la_HEADERS += \
|
---|
314 | utility/types.h \
|
---|
315 | utility/messages.h \
|
---|
316 | utility/serialization.h
|
---|
317 |
|
---|
318 | #------------> utility :: configuration
|
---|
319 |
|
---|
320 | libariba_la_SOURCES += \
|
---|
321 | utility/configuration/ConfigFile.cpp \
|
---|
322 | utility/configuration/Configuration.cpp
|
---|
323 |
|
---|
324 | nobase_libariba_la_HEADERS += \
|
---|
325 | utility/configuration/ConfigFile.h \
|
---|
326 | utility/configuration/Configuration.h
|
---|
327 |
|
---|
328 | #------------> utility :: internal
|
---|
329 |
|
---|
330 | nobase_libariba_la_HEADERS += \
|
---|
331 | utility/internal/Utilities.hpp
|
---|
332 |
|
---|
333 | #------------> utility :: logging
|
---|
334 |
|
---|
335 | nobase_libariba_la_HEADERS += \
|
---|
336 | utility/logging/Logging.h
|
---|
337 |
|
---|
338 | #------------> utility :: measurement
|
---|
339 |
|
---|
340 | libariba_la_SOURCES += \
|
---|
341 | utility/measurement/PathloadMeasurement.cpp
|
---|
342 |
|
---|
343 | nobase_libariba_la_HEADERS += \
|
---|
344 | utility/measurement/PathloadMeasurement.h
|
---|
345 |
|
---|
346 | #------------> utility :: messages
|
---|
347 |
|
---|
348 | libariba_la_SOURCES += \
|
---|
349 | utility/messages/Message.cpp \
|
---|
350 | utility/messages/MessageControlInfo.cpp \
|
---|
351 | utility/messages/MessageProvider.cpp \
|
---|
352 | utility/messages/MessageReceiver.cpp \
|
---|
353 | utility/messages/MessageSender.cpp \
|
---|
354 | utility/messages/TextMessage.cpp
|
---|
355 |
|
---|
356 | nobase_libariba_la_HEADERS += \
|
---|
357 | utility/messages/_namespace.h \
|
---|
358 | utility/messages/Message.h \
|
---|
359 | utility/messages/MessageControlInfo.h \
|
---|
360 | utility/messages/MessageProvider.h \
|
---|
361 | utility/messages/MessageReceiver.h \
|
---|
362 | utility/messages/MessageSender.h \
|
---|
363 | utility/messages/MessageUtilities.h \
|
---|
364 | utility/messages/TextMessage.h
|
---|
365 |
|
---|
366 | #------------> utility :: misc
|
---|
367 |
|
---|
368 | libariba_la_SOURCES += \
|
---|
369 | utility/misc/Helper.cpp \
|
---|
370 | utility/misc/OvlVis.cpp \
|
---|
371 | utility/misc/sha1.cpp \
|
---|
372 | utility/misc/StringFormat.cpp
|
---|
373 |
|
---|
374 | nobase_libariba_la_HEADERS += \
|
---|
375 | utility/misc/Demultiplexer.hpp \
|
---|
376 | utility/misc/Helper.h \
|
---|
377 | utility/misc/KeyMapping.hpp \
|
---|
378 | utility/misc/OvlVis.h \
|
---|
379 | utility/misc/sha1.h \
|
---|
380 | utility/misc/StringFormat.h
|
---|
381 |
|
---|
382 | #------------> utility :: serialization
|
---|
383 |
|
---|
384 | libariba_la_SOURCES += \
|
---|
385 | utility/serialization/Serialization.cpp
|
---|
386 |
|
---|
387 | nobase_libariba_la_HEADERS += \
|
---|
388 | utility/serialization/DataUtilities.hpp \
|
---|
389 | utility/serialization/Serialization.hpp \
|
---|
390 | utility/serialization/Data.hpp \
|
---|
391 | utility/serialization/DataStream.hpp
|
---|
392 |
|
---|
393 | #------------> utility :: system
|
---|
394 |
|
---|
395 | libariba_la_SOURCES += \
|
---|
396 | utility/system/BlockingMethod.cpp \
|
---|
397 | utility/system/SystemEvent.cpp \
|
---|
398 | utility/system/SystemEventListener.cpp \
|
---|
399 | utility/system/SystemEventType.cpp \
|
---|
400 | utility/system/SystemQueue.cpp \
|
---|
401 | utility/system/Timer.cpp \
|
---|
402 | utility/system/StartupWrapper.cpp
|
---|
403 |
|
---|
404 | nobase_libariba_la_HEADERS += \
|
---|
405 | utility/system/BlockingMethod.h \
|
---|
406 | utility/system/SystemEvent.h \
|
---|
407 | utility/system/SystemEventListener.h \
|
---|
408 | utility/system/SystemEventType.h \
|
---|
409 | utility/system/SystemQueue.h \
|
---|
410 | utility/system/Timer.h \
|
---|
411 | utility/system/StartupWrapper.h \
|
---|
412 | utility/system/StartupInterface.h
|
---|
413 |
|
---|
414 | #------------> utility :: types
|
---|
415 |
|
---|
416 | libariba_la_SOURCES += \
|
---|
417 | utility/types/Address.cpp \
|
---|
418 | utility/types/Identifier.cpp \
|
---|
419 | utility/types/LinkID.cpp \
|
---|
420 | utility/types/Locator.cpp \
|
---|
421 | utility/types/NodeID.cpp \
|
---|
422 | utility/types/OverlayParameterSet.cpp \
|
---|
423 | utility/types/QoSParameterSet.cpp \
|
---|
424 | utility/types/SecurityParameterSet.cpp \
|
---|
425 | utility/types/ServiceID.cpp \
|
---|
426 | utility/types/SpoVNetID.cpp
|
---|
427 |
|
---|
428 | nobase_libariba_la_HEADERS += \
|
---|
429 | utility/types/_namespace.h \
|
---|
430 | utility/types/Address.h \
|
---|
431 | utility/types/Data.hpp \
|
---|
432 | utility/types/Identifier.h \
|
---|
433 | utility/types/LinkID.h \
|
---|
434 | utility/types/Locator.h \
|
---|
435 | utility/types/NodeID.h \
|
---|
436 | utility/types/OverlayParameterSet.h \
|
---|
437 | utility/types/QoSParameterSet.h \
|
---|
438 | utility/types/SecurityParameterSet.h \
|
---|
439 | utility/types/ServiceID.h \
|
---|
440 | utility/types/SpoVNetID.h
|
---|