source: source/ariba/Makefile.am@ 9686

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

-branch merge back

File size: 13.5 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 = -Wall -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 Module.h \
86 DataMessage.h \
87 Name.h \
88 Node.h \
89 NodeListener.h \
90 SideportListener.h \
91 SpoVNetProperties.h \
92 config.h
93
94# ------------> communication
95
96libariba_la_SOURCES += \
97 communication/BaseCommunication.cpp \
98 communication/CommunicationEvents.cpp \
99 communication/EndpointDescriptor.cpp
100
101nobase_libariba_la_HEADERS += \
102 communication/BaseCommunication.h \
103 communication/CommunicationEvents.h \
104 communication/EndpointDescriptor.h
105
106# ------------> communication :: messages
107
108libariba_la_SOURCES += \
109 communication/messages/AribaBaseMsg.cpp
110
111nobase_libariba_la_HEADERS += \
112 communication/messages/AribaBaseMsg.h
113
114#------------> communication :: networkinfo
115
116libariba_la_SOURCES += \
117 communication/networkinfo/AddressDiscovery.cpp \
118 communication/networkinfo/NetworkChangeDetection.cpp \
119 communication/networkinfo/NetworkInformation.cpp \
120 communication/networkinfo/NetworkInterface.cpp
121
122nobase_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
131libariba_la_SOURCES += \
132 overlay/BaseOverlay.cpp \
133 overlay/OverlayBootstrap.cpp \
134 overlay/LinkDescriptor.cpp
135
136nobase_libariba_la_HEADERS += \
137 overlay/BaseOverlay.h \
138 overlay/OverlayBootstrap.h \
139 overlay/LinkDescriptor.h
140
141#------------> overlay :: messages
142
143libariba_la_SOURCES += \
144 overlay/messages/JoinReply.cpp \
145 overlay/messages/JoinRequest.cpp \
146 overlay/messages/DHTMessage.cpp \
147 overlay/messages/OverlayMsg.cpp
148
149nobase_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
157libariba_la_SOURCES += \
158 overlay/modules/OverlayStructureEvents.cpp \
159 overlay/modules/OverlayFactory.cpp \
160 overlay/modules/OverlayInterface.cpp
161
162nobase_libariba_la_HEADERS += \
163 overlay/modules/OverlayStructureEvents.h \
164 overlay/modules/OverlayFactory.h \
165 overlay/modules/OverlayInterface.h
166
167#------------> overlay :: modules :: onehop
168
169libariba_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
175nobase_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
183libariba_la_SOURCES += \
184 overlay/modules/chord/Chord.cpp \
185 overlay/modules/chord/messages/Discovery.cpp
186
187nobase_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
198nobase_libariba_la_HEADERS += \
199 utility/types.h \
200 utility/messages.h \
201 utility/serialization.h
202
203#------------> utility :: bootstrap
204
205libariba_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
213nobase_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
224libariba_la_SOURCES += \
225 utility/configuration/ConfigFile.cpp \
226 utility/configuration/Configuration.cpp
227
228nobase_libariba_la_HEADERS += \
229 utility/configuration/ConfigFile.h \
230 utility/configuration/Configuration.h
231
232#------------> utility :: internal
233
234nobase_libariba_la_HEADERS += \
235 utility/internal/Utilities.hpp
236
237#------------> utility :: logging
238
239nobase_libariba_la_HEADERS += \
240 utility/logging/Logging.h
241
242#------------> utility :: measurement
243
244libariba_la_SOURCES += \
245 utility/measurement/PathloadMeasurement.cpp
246
247nobase_libariba_la_HEADERS += \
248 utility/measurement/PathloadMeasurement.h
249
250#------------> utility :: addressing
251
252libariba_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
259nobase_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
278libariba_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
304nobase_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
343libariba_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
350nobase_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
361libariba_la_SOURCES += \
362 utility/misc/Helper.cpp \
363 utility/misc/sha1.cpp \
364 utility/misc/StringFormat.cpp
365
366nobase_libariba_la_HEADERS += \
367 utility/misc/Demultiplexer.hpp \
368 utility/misc/Helper.h \
369 utility/misc/KeyMapping.hpp \
370 utility/misc/sha1.h \
371 utility/misc/StringFormat.h
372
373#------------> utility :: serialization
374
375libariba_la_SOURCES += \
376 utility/serialization/Serialization.cpp \
377 utility/serialization/TestSerialization.cpp
378
379nobase_libariba_la_HEADERS += \
380 utility/serialization/DataUtilities.hpp \
381 utility/serialization/Serialization.hpp \
382 utility/serialization/TestSerialization.h \
383 utility/serialization/Data.hpp \
384 utility/serialization/DataStream.hpp
385
386#------------> utility :: system
387
388libariba_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
398nobase_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
411libariba_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/PeerID.cpp \
418 utility/types/OverlayParameterSet.cpp \
419 utility/types/QoSParameterSet.cpp \
420 utility/types/SecurityParameterSet.cpp \
421 utility/types/ServiceID.cpp \
422 utility/types/SpoVNetID.cpp
423
424nobase_libariba_la_HEADERS += \
425 utility/types/_namespace.h \
426 utility/types/Address.h \
427 utility/types/Data.hpp \
428 utility/types/Identifier.h \
429 utility/types/LinkID.h \
430 utility/types/Locator.h \
431 utility/types/NodeID.h \
432 utility/types/PeerID.h \
433 utility/types/OverlayParameterSet.h \
434 utility/types/QoSParameterSet.h \
435 utility/types/SecurityParameterSet.h \
436 utility/types/ServiceID.h \
437 utility/types/SpoVNetID.h
438
439#------------> utility :: visual
440
441libariba_la_SOURCES += \
442 utility/visual/OvlVis.cpp \
443 utility/visual/ServerVis.cpp \
444 utility/visual/DddVis.cpp
445
446nobase_libariba_la_HEADERS += \
447 utility/visual/OvlVis.h \
448 utility/visual/ServerVis.h \
449 utility/visual/DddVis.h
Note: See TracBrowser for help on using the repository browser.