source: source/ariba/Makefile.am@ 2848

Last change on this file since 2848 was 2467, checked in by Christoph Mayer, 16 years ago

-logging farben über ./configure --enable-logcolors=yes einschaltbar, sonst per default ausgeschalten
-alls std::cout auskommentiert

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 SpoVNetProperties.cpp
76
77nobase_libariba_la_HEADERS += \
78 ariba.h \
79 AribaModule.h \
80 CommunicationListener.h \
81 Identifiers.h \
82 LinkProperties.h \
83 Message.h \
84 DataMessage.h \
85 Module.h \
86 Name.h \
87 Node.h \
88 NodeListener.h \
89 SpoVNetProperties.h
90
91# ------------> communication
92
93libariba_la_SOURCES += \
94 communication/BaseCommunication.cpp \
95 communication/CommunicationEvents.cpp \
96 communication/EndpointDescriptor.cpp
97
98nobase_libariba_la_HEADERS += \
99 communication/BaseCommunication.h \
100 communication/CommunicationEvents.h \
101 communication/EndpointDescriptor.h
102
103# ------------> communication :: messages
104
105libariba_la_SOURCES += \
106 communication/messages/AribaBaseMsg.cpp
107
108nobase_libariba_la_HEADERS += \
109 communication/messages/AribaBaseMsg.h
110
111# ------------> communication :: modules
112
113nobase_libariba_la_HEADERS += \
114 communication/modules/modules.h \
115 communication/modules/_namespace.h
116
117# ------------> communication :: modules :: network
118libariba_la_SOURCES += \
119 communication/modules/network/NetworkLocator.cpp \
120 communication/modules/network/NetworkProtocol.cpp
121
122nobase_libariba_la_HEADERS += \
123 communication/modules/network/NetworkLocator.h \
124 communication/modules/network/NetworkProtocol.h
125
126# ------------> communication :: modules :: network :: ip
127
128libariba_la_SOURCES += \
129 communication/modules/network/ip/IPv4Locator.cpp \
130 communication/modules/network/ip/IPv4NetworkProtocol.cpp
131
132nobase_libariba_la_HEADERS += \
133 communication/modules/network/ip/IPv4Locator.h \
134 communication/modules/network/ip/IPv4NetworkProtocol.h
135
136# ------------> communication :: modules :: network :: omnet
137
138if OMNET
139libariba_la_SOURCES += \
140 communication/modules/network/omnet/OmnetNetworkProtocol.cpp
141
142nobase_libariba_la_HEADERS += \
143 communication/modules/network/omnet/OmnetNetworkProtocol.h
144endif
145
146#------------> communication :: modules :: transport
147
148libariba_la_SOURCES += \
149 communication/modules/transport/TransportLocator.cpp \
150 communication/modules/transport/TransportProtocol.cpp
151
152nobase_libariba_la_HEADERS += \
153 communication/modules/transport/TransportLocator.h \
154 communication/modules/transport/TransportProtocol.h
155
156#------------> communication :: modules :: transport :: omnet
157
158if OMNET
159libariba_la_SOURCES += \
160 communication/modules/transport/omnet/AribaOmnetMessage_m.cc \
161 communication/modules/transport/omnet/AribaOmnetModule.cpp
162
163nobase_libariba_la_HEADERS += \
164 communication/modules/transport/omnet/AribaOmnetMessage_m.h \
165 communication/modules/transport/omnet/AribaOmnetModule.h
166endif
167
168#------------> communication :: modules :: transport :: protlib
169
170if OMNET
171else
172libariba_la_SOURCES += \
173 communication/modules/transport/protlib/timer_module.cpp \
174 communication/modules/transport/protlib/threadsafe_db.cpp \
175 communication/modules/transport/protlib/address.cpp \
176 communication/modules/transport/protlib/ie.cpp \
177 communication/modules/transport/protlib/tp_over_tcp.cpp \
178 communication/modules/transport/protlib/setuid.cpp \
179 communication/modules/transport/protlib/tp.cpp \
180 communication/modules/transport/protlib/connectionmap_uds.cpp \
181 communication/modules/transport/protlib/logfile.cpp \
182 communication/modules/transport/protlib/timer.cpp \
183 communication/modules/transport/protlib/connectionmap.cpp \
184 communication/modules/transport/protlib/fqueue.cpp \
185 communication/modules/transport/protlib/threads.cpp \
186 communication/modules/transport/protlib/messages.cpp \
187 communication/modules/transport/protlib/queuemanager.cpp \
188 communication/modules/transport/protlib/network_message.cpp \
189 communication/modules/transport/protlib/configuration.cpp \
190 communication/modules/transport/protlib/tp_over_uds.cpp \
191 communication/modules/transport/protlib/tp_over_udp.cpp \
192 communication/modules/transport/protlib/tp_over_tls_tcp.cpp \
193 communication/modules/transport/protlib/fastqueue.c \
194 communication/modules/transport/protlib/eclock_gettime.c \
195 communication/modules/transport/protlib/testqueue.c
196
197nobase_libariba_la_HEADERS += \
198 communication/modules/transport/protlib/tp_over_uds.h \
199 communication/modules/transport/protlib/threadsafe_db.h \
200 communication/modules/transport/protlib/configuration.h \
201 communication/modules/transport/protlib/ie.h \
202 communication/modules/transport/protlib/llhashers.h \
203 communication/modules/transport/protlib/fqueue.h \
204 communication/modules/transport/protlib/assocdata_uds.h \
205 communication/modules/transport/protlib/address.h \
206 communication/modules/transport/protlib/logfile.h \
207 communication/modules/transport/protlib/timer.h \
208 communication/modules/transport/protlib/queuemanager.h \
209 communication/modules/transport/protlib/messages.h \
210 communication/modules/transport/protlib/assocdata.h \
211 communication/modules/transport/protlib/protlib_types.h \
212 communication/modules/transport/protlib/tp_over_tcp.h \
213 communication/modules/transport/protlib/tp.h \
214 communication/modules/transport/protlib/threads.h \
215 communication/modules/transport/protlib/connectionmap.h \
216 communication/modules/transport/protlib/timer_module.h \
217 communication/modules/transport/protlib/fastqueue.h \
218 communication/modules/transport/protlib/tperror.h \
219 communication/modules/transport/protlib/tp_over_tls_tcp.h \
220 communication/modules/transport/protlib/network_message.h \
221 communication/modules/transport/protlib/tp_over_udp.h \
222 communication/modules/transport/protlib/setuid.h \
223 communication/modules/transport/protlib/cleanuphandler.h \
224 communication/modules/transport/protlib/connectionmap_uds.h
225endif
226
227#------------> communication :: modules :: transport :: tcp
228
229if OMNET
230else
231libariba_la_SOURCES += \
232 communication/modules/transport/tcp/TCPTransport.cpp \
233 communication/modules/transport/tcp/TCPTransportLocator.cpp
234
235nobase_libariba_la_HEADERS += \
236 communication/modules/transport/tcp/TCPTransport.h \
237 communication/modules/transport/tcp/TCPTransportLocator.h
238endif
239
240#------------> communication :: networkinfo
241
242libariba_la_SOURCES += \
243 communication/networkinfo/AddressInformation.cpp \
244 communication/networkinfo/NetworkChangeDetection.cpp \
245 communication/networkinfo/NetworkInformation.cpp \
246 communication/networkinfo/NetworkInterface.cpp
247
248nobase_libariba_la_HEADERS += \
249 communication/networkinfo/AddressInformation.h \
250 communication/networkinfo/NetworkChangeDetection.h \
251 communication/networkinfo/NetworkChangeInterface.h \
252 communication/networkinfo/NetworkInterface.h \
253 communication/networkinfo/NetworkInformation.h
254
255#------------> interface
256
257libariba_la_SOURCES += \
258 interface/UnderlayAbstraction.cpp \
259 interface/AribaContext.cpp \
260 interface/ServiceInterface.cpp
261
262nobase_libariba_la_HEADERS += \
263 interface/UnderlayAbstraction.h \
264 interface/AribaContext.h \
265 interface/ServiceInterface.h
266
267#------------> overlay
268
269libariba_la_SOURCES += \
270 overlay/BaseOverlay.cpp \
271 overlay/OverlayEvents.cpp
272
273nobase_libariba_la_HEADERS += \
274 overlay/BaseOverlay.h \
275 overlay/OverlayEvents.h
276
277#------------> overlay :: messages
278
279libariba_la_SOURCES += \
280 overlay/messages/JoinReply.cpp \
281 overlay/messages/JoinRequest.cpp \
282 overlay/messages/OverlayMsg.cpp
283
284nobase_libariba_la_HEADERS += \
285 overlay/messages/JoinReply.h \
286 overlay/messages/JoinRequest.h \
287 overlay/messages/OverlayMsg.h
288
289#------------> overlay :: modules
290
291libariba_la_SOURCES += \
292 overlay/modules/OverlayStructureEvents.cpp \
293 overlay/modules/OverlayFactory.cpp \
294 overlay/modules/OverlayInterface.cpp
295
296nobase_libariba_la_HEADERS += \
297 overlay/modules/OverlayStructureEvents.h \
298 overlay/modules/OverlayFactory.h \
299 overlay/modules/OverlayInterface.h
300
301#------------> overlay :: modules :: onehop
302
303libariba_la_SOURCES += \
304 overlay/modules/onehop/OneHop.cpp \
305 overlay/modules/onehop/messages/OneHopMessage.cpp \
306 overlay/modules/onehop/messages/NodeListingRequest.cpp \
307 overlay/modules/onehop/messages/NodeListingReply.cpp
308
309nobase_libariba_la_HEADERS += \
310 overlay/modules/onehop/OneHop.h \
311 overlay/modules/onehop/messages/OneHopMessage.h \
312 overlay/modules/onehop/messages/NodeListingRequest.h \
313 overlay/modules/onehop/messages/NodeListingReply.h
314
315#------------> utility
316
317nobase_libariba_la_HEADERS += \
318 utility/types.h \
319 utility/messages.h \
320 utility/serialization.h
321
322#------------> utility :: configuration
323
324libariba_la_SOURCES += \
325 utility/configuration/ConfigFile.cpp \
326 utility/configuration/Configuration.cpp
327
328nobase_libariba_la_HEADERS += \
329 utility/configuration/ConfigFile.h \
330 utility/configuration/Configuration.h
331
332#------------> utility :: internal
333
334nobase_libariba_la_HEADERS += \
335 utility/internal/Utilities.hpp
336
337#------------> utility :: logging
338
339nobase_libariba_la_HEADERS += \
340 utility/logging/Logging.h
341
342#------------> utility :: measurement
343
344libariba_la_SOURCES += \
345 utility/measurement/PathloadMeasurement.cpp
346
347nobase_libariba_la_HEADERS += \
348 utility/measurement/PathloadMeasurement.h
349
350#------------> utility :: messages
351
352libariba_la_SOURCES += \
353 utility/messages/Message.cpp \
354 utility/messages/MessageControlInfo.cpp \
355 utility/messages/MessageProvider.cpp \
356 utility/messages/MessageReceiver.cpp \
357 utility/messages/MessageSender.cpp \
358 utility/messages/TextMessage.cpp
359
360nobase_libariba_la_HEADERS += \
361 utility/messages/_namespace.h \
362 utility/messages/Message.h \
363 utility/messages/MessageControlInfo.h \
364 utility/messages/MessageProvider.h \
365 utility/messages/MessageReceiver.h \
366 utility/messages/MessageSender.h \
367 utility/messages/MessageUtilities.h \
368 utility/messages/TextMessage.h
369
370#------------> utility :: misc
371
372libariba_la_SOURCES += \
373 utility/misc/Helper.cpp \
374 utility/misc/OvlVis.cpp \
375 utility/misc/sha1.cpp \
376 utility/misc/StringFormat.cpp
377
378nobase_libariba_la_HEADERS += \
379 utility/misc/Demultiplexer.hpp \
380 utility/misc/Helper.h \
381 utility/misc/KeyMapping.hpp \
382 utility/misc/OvlVis.h \
383 utility/misc/sha1.h \
384 utility/misc/StringFormat.h
385
386#------------> utility :: serialization
387
388libariba_la_SOURCES += \
389 utility/serialization/Serialization.cpp
390
391nobase_libariba_la_HEADERS += \
392 utility/serialization/DataUtilities.hpp \
393 utility/serialization/Serialization.hpp \
394 utility/serialization/Data.hpp \
395 utility/serialization/DataStream.hpp
396
397#------------> utility :: system
398
399libariba_la_SOURCES += \
400 utility/system/BlockingMethod.cpp \
401 utility/system/SystemEvent.cpp \
402 utility/system/SystemEventListener.cpp \
403 utility/system/SystemEventType.cpp \
404 utility/system/SystemQueue.cpp \
405 utility/system/Timer.cpp \
406 utility/system/StartupWrapper.cpp
407
408nobase_libariba_la_HEADERS += \
409 utility/system/BlockingMethod.h \
410 utility/system/SystemEvent.h \
411 utility/system/SystemEventListener.h \
412 utility/system/SystemEventType.h \
413 utility/system/SystemQueue.h \
414 utility/system/Timer.h \
415 utility/system/StartupWrapper.h \
416 utility/system/StartupInterface.h
417
418#------------> utility :: types
419
420libariba_la_SOURCES += \
421 utility/types/Address.cpp \
422 utility/types/Identifier.cpp \
423 utility/types/LinkID.cpp \
424 utility/types/Locator.cpp \
425 utility/types/NodeID.cpp \
426 utility/types/OverlayParameterSet.cpp \
427 utility/types/QoSParameterSet.cpp \
428 utility/types/SecurityParameterSet.cpp \
429 utility/types/ServiceID.cpp \
430 utility/types/SpoVNetID.cpp
431
432nobase_libariba_la_HEADERS += \
433 utility/types/_namespace.h \
434 utility/types/Address.h \
435 utility/types/Data.hpp \
436 utility/types/Identifier.h \
437 utility/types/LinkID.h \
438 utility/types/Locator.h \
439 utility/types/NodeID.h \
440 utility/types/OverlayParameterSet.h \
441 utility/types/QoSParameterSet.h \
442 utility/types/SecurityParameterSet.h \
443 utility/types/ServiceID.h \
444 utility/types/SpoVNetID.h
Note: See TracBrowser for help on using the repository browser.