source: source/ariba/Makefile.am@ 5781

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