An Overlay-based
Virtual Network Substrate
SpoVNet

source: source/ariba/Makefile.am @ 10653

Last change on this file since 10653 was 10653, checked in by Michael Tänzer, 7 years ago

Merge the ASIO branch back into trunk

File size: 11.6 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 1: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/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/transport_peer.cpp \
279  utility/transport/rfcomm/rfcomm_transport.cpp \
280  utility/transport/asio/unique_io_service.cpp \
281  utility/transport/messages/buffer.cpp \
282  utility/transport/messages/message.cpp \
283  utility/transport/messages/shared_buffer.cpp
284
285nobase_libariba_la_HEADERS += \
286  utility/transport/test_transport.hpp \
287  utility/transport/tcpip/tcpip.hpp \
288  utility/transport/transport_connection.hpp \
289  utility/transport/transport_listener.hpp \
290  utility/transport/transport_peer.hpp \
291  utility/transport/transport_protocol.hpp \
292  utility/transport/rfcomm/rfcomm_transport.hpp \
293  utility/transport/rfcomm/bluetooth_endpoint.hpp \
294  utility/transport/rfcomm/bluetooth_rfcomm.hpp \
295  utility/transport/transport.hpp \
296  utility/transport/asio/unique_io_service.h \
297  utility/transport/messages/buffer.hpp \
298  utility/transport/messages/buffers.hpp \
299  utility/transport/messages/message.hpp \
300  utility/transport/messages/shared_buffer.hpp
301
302#------------> utility :: messages
303
304libariba_la_SOURCES += \
305  utility/messages/Message.cpp \
306  utility/messages/MessageProvider.cpp \
307  utility/messages/MessageReceiver.cpp \
308  utility/messages/MessageSender.cpp \
309  utility/messages/TextMessage.cpp
310
311nobase_libariba_la_HEADERS += \
312  utility/messages/_namespace.h \
313  utility/messages/Message.h \
314  utility/messages/MessageProvider.h \
315  utility/messages/MessageReceiver.h \
316  utility/messages/MessageSender.h \
317  utility/messages/MessageUtilities.h \
318  utility/messages/TextMessage.h
319
320#------------> utility :: misc
321
322libariba_la_SOURCES += \
323  utility/misc/Helper.cpp \
324  utility/misc/sha1.cpp \
325  utility/misc/StringFormat.cpp
326
327nobase_libariba_la_HEADERS += \
328  utility/misc/Demultiplexer.hpp \
329  utility/misc/Helper.h \
330  utility/misc/KeyMapping.hpp \
331  utility/misc/sha1.h \
332  utility/misc/StringFormat.h
333
334#------------> utility :: serialization
335
336libariba_la_SOURCES += \
337  utility/serialization/Serialization.cpp \
338  utility/serialization/TestSerialization.cpp
339
340nobase_libariba_la_HEADERS += \
341  utility/serialization/DataUtilities.hpp \
342  utility/serialization/Serialization.hpp \
343  utility/serialization/TestSerialization.h \
344  utility/serialization/Data.hpp \
345  utility/serialization/DataStream.hpp
346
347#------------> utility :: system
348
349libariba_la_SOURCES += \
350  utility/system/BlockingMethod.cpp \
351  utility/system/EnterMethod.cpp \
352  utility/system/SystemEvent.cpp \
353  utility/system/SystemEventListener.cpp \
354  utility/system/SystemEventType.cpp \
355  utility/system/SystemQueue.cpp \
356  utility/system/Timer.cpp \
357  utility/system/StartupWrapper.cpp
358
359nobase_libariba_la_HEADERS += \
360  utility/system/BlockingMethod.h \
361  utility/system/EnterMethod.h \
362  utility/system/SystemEvent.h \
363  utility/system/SystemEventListener.h \
364  utility/system/SystemEventType.h \
365  utility/system/SystemQueue.h \
366  utility/system/Timer.h \
367  utility/system/StartupWrapper.h \
368  utility/system/StartupInterface.h
369
370#------------> utility :: types
371
372libariba_la_SOURCES += \
373  utility/types/Address.cpp \
374  utility/types/Identifier.cpp \
375  utility/types/LinkID.cpp \
376  utility/types/Locator.cpp \
377  utility/types/NodeID.cpp \
378  utility/types/PeerID.cpp \
379  utility/types/OverlayParameterSet.cpp \
380  utility/types/QoSParameterSet.cpp \
381  utility/types/SecurityParameterSet.cpp \
382  utility/types/ServiceID.cpp \
383  utility/types/SpoVNetID.cpp
384
385nobase_libariba_la_HEADERS += \
386  utility/types/_namespace.h \
387  utility/types/Address.h \
388  utility/types/Data.hpp \
389  utility/types/Identifier.h \
390  utility/types/LinkID.h \
391  utility/types/Locator.h \
392  utility/types/NodeID.h \
393  utility/types/PeerID.h \
394  utility/types/OverlayParameterSet.h \
395  utility/types/QoSParameterSet.h \
396  utility/types/SecurityParameterSet.h \
397  utility/types/ServiceID.h \
398  utility/types/SpoVNetID.h
399
400#------------> utility :: visual
401
402libariba_la_SOURCES += \
403  utility/visual/OvlVis.cpp \
404  utility/visual/ServerVis.cpp \
405  utility/visual/DddVis.cpp
406
407nobase_libariba_la_HEADERS += \
408  utility/visual/OvlVis.h \
409  utility/visual/ServerVis.h \
410  utility/visual/DddVis.h
Note: See TracBrowser for help on using the repository browser.