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