source: source/ariba/Makefile.am@ 6185

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

sigcomm release

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