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