Changeset 2461
- Timestamp:
- Feb 19, 2009, 1:39:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/Makefile.am
r2460 r2461 1 # the rocking Ariba library 2 1 3 lib_LTLIBRARIES = libariba.la 2 libariba_la_SOURCES = 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 10 libariba_la_SOURCES = 11 nobase_libariba_la_HEADERS = 3 12 4 13 # compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 43 52 # sources and subdirs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 53 45 #tidy interface 54 # where to put the libs into -> /ariba 55 # currently we have no version number 56 # attached to the header/libs folder 57 libariba_ladir = ${pkgincludedir} 58 59 # ------------> tidy interface 60 46 61 libariba_la_SOURCES += \ 47 62 AribaModule.cpp \ 63 CommunicationListener.cpp \ 64 Identifiers.cpp \ 65 LinkProperties.cpp \ 66 DataMessage.cpp \ 67 Module.cpp \ 68 Name.cpp \ 69 Node.cpp \ 70 NodeListener.cpp \ 71 SpoVNetProperties.cpp 72 73 nobase_libariba_la_HEADERS += \ 74 ariba.h \ 48 75 AribaModule.h \ 49 CommunicationListener.cpp \50 76 CommunicationListener.h \ 51 Identifiers.cpp \52 77 Identifiers.h \ 53 LinkProperties.cpp \54 78 LinkProperties.h \ 55 79 Message.h \ 56 DataMessage.cpp \57 80 DataMessage.h \ 58 Module.cpp \59 81 Module.h \ 60 Name.cpp \61 82 Name.h \ 62 Node.cpp \63 83 Node.h \ 64 NodeListener.cpp \65 84 NodeListener.h \ 66 SpoVNetProperties.cpp \67 85 SpoVNetProperties.h 68 86 69 #communication 87 # ------------> communication 88 70 89 libariba_la_SOURCES += \ 71 90 communication/BaseCommunication.cpp \ 91 communication/CommunicationEvents.cpp \ 92 communication/EndpointDescriptor.cpp 93 94 nobase_libariba_la_HEADERS += \ 72 95 communication/BaseCommunication.h \ 73 communication/CommunicationEvents.cpp \74 96 communication/CommunicationEvents.h \ 75 communication/EndpointDescriptor.cpp \76 97 communication/EndpointDescriptor.h 77 98 78 #communication :: messages 79 libariba_la_SOURCES += \ 80 communication/messages/AribaBaseMsg.cpp \ 99 # ------------> communication :: messages 100 101 libariba_la_SOURCES += \ 102 communication/messages/AribaBaseMsg.cpp 103 104 nobase_libariba_la_HEADERS += \ 81 105 communication/messages/AribaBaseMsg.h 82 106 83 #communication :: modules 84 libariba_la_SOURCES += \ 107 # ------------> communication :: modules 108 109 nobase_libariba_la_HEADERS += \ 85 110 communication/modules/modules.h \ 86 111 communication/modules/_namespace.h 87 112 88 # communication :: modules :: network113 # ------------> communication :: modules :: network 89 114 libariba_la_SOURCES += \ 90 115 communication/modules/network/NetworkLocator.cpp \ 116 communication/modules/network/NetworkProtocol.cpp 117 118 nobase_libariba_la_HEADERS += \ 91 119 communication/modules/network/NetworkLocator.h \ 92 communication/modules/network/NetworkProtocol.cpp \93 120 communication/modules/network/NetworkProtocol.h 94 121 95 #communication :: modules :: network :: ip 122 # ------------> communication :: modules :: network :: ip 123 96 124 libariba_la_SOURCES += \ 97 125 communication/modules/network/ip/IPv4Locator.cpp \ 126 communication/modules/network/ip/IPv4NetworkProtocol.cpp 127 128 nobase_libariba_la_HEADERS += \ 98 129 communication/modules/network/ip/IPv4Locator.h \ 99 communication/modules/network/ip/IPv4NetworkProtocol.cpp \100 130 communication/modules/network/ip/IPv4NetworkProtocol.h 101 131 102 if OMNET 103 #communication :: modules :: network :: omnet 104 libariba_la_SOURCES += \ 105 communication/modules/network/omnet/OmnetNetworkProtocol.cpp \ 132 # ------------> communication :: modules :: network :: omnet 133 134 if OMNET 135 libariba_la_SOURCES += \ 136 communication/modules/network/omnet/OmnetNetworkProtocol.cpp 137 138 nobase_libariba_la_HEADERS += \ 106 139 communication/modules/network/omnet/OmnetNetworkProtocol.h 107 140 endif 108 141 109 #communication :: modules :: transport 142 #------------> communication :: modules :: transport 143 110 144 libariba_la_SOURCES += \ 111 145 communication/modules/transport/TransportLocator.cpp \ 146 communication/modules/transport/TransportProtocol.cpp 147 148 nobase_libariba_la_HEADERS += \ 112 149 communication/modules/transport/TransportLocator.h \ 113 communication/modules/transport/TransportProtocol.cpp \114 150 communication/modules/transport/TransportProtocol.h 115 151 116 if OMNET 117 #communication :: modules :: transport :: omnet 152 #------------> communication :: modules :: transport :: omnet 153 154 if OMNET 118 155 libariba_la_SOURCES += \ 119 156 communication/modules/transport/omnet/AribaOmnetMessage_m.cc \ 157 communication/modules/transport/omnet/AribaOmnetModule.cpp 158 159 nobase_libariba_la_HEADERS += \ 120 160 communication/modules/transport/omnet/AribaOmnetMessage_m.h \ 121 communication/modules/transport/omnet/AribaOmnetModule.cpp \122 161 communication/modules/transport/omnet/AribaOmnetModule.h 123 162 endif 124 163 164 #------------> communication :: modules :: transport :: protlib 165 125 166 if OMNET 126 167 else 127 #communication :: modules :: transport :: protlib128 168 libariba_la_SOURCES += \ 129 169 communication/modules/transport/protlib/timer_module.cpp \ … … 149 189 communication/modules/transport/protlib/fastqueue.c \ 150 190 communication/modules/transport/protlib/eclock_gettime.c \ 151 communication/modules/transport/protlib/testqueue.c \ 191 communication/modules/transport/protlib/testqueue.c 192 193 nobase_libariba_la_HEADERS += \ 152 194 communication/modules/transport/protlib/tp_over_uds.h \ 153 195 communication/modules/transport/protlib/threadsafe_db.h \ … … 179 221 endif 180 222 223 #------------> communication :: modules :: transport :: tcp 224 181 225 if OMNET 182 226 else 183 #communication :: modules :: transport :: tcp184 227 libariba_la_SOURCES += \ 185 228 communication/modules/transport/tcp/TCPTransport.cpp \ 229 communication/modules/transport/tcp/TCPTransportLocator.cpp 230 231 nobase_libariba_la_HEADERS += \ 186 232 communication/modules/transport/tcp/TCPTransport.h \ 187 communication/modules/transport/tcp/TCPTransportLocator.cpp \188 233 communication/modules/transport/tcp/TCPTransportLocator.h 189 234 endif 190 235 191 #communication :: networkinfo 236 #------------> communication :: networkinfo 237 192 238 libariba_la_SOURCES += \ 193 239 communication/networkinfo/AddressInformation.cpp \ 240 communication/networkinfo/NetworkChangeDetection.cpp \ 241 communication/networkinfo/NetworkInformation.cpp \ 242 communication/networkinfo/NetworkInterface.cpp 243 244 nobase_libariba_la_HEADERS += \ 194 245 communication/networkinfo/AddressInformation.h \ 195 communication/networkinfo/NetworkChangeDetection.cpp \196 246 communication/networkinfo/NetworkChangeDetection.h \ 197 247 communication/networkinfo/NetworkChangeInterface.h \ 198 248 communication/networkinfo/NetworkInterface.h \ 199 communication/networkinfo/NetworkInformation.cpp \ 200 communication/networkinfo/NetworkInformation.h \ 201 communication/networkinfo/NetworkInterface.cpp 202 203 #interface 249 communication/networkinfo/NetworkInformation.h 250 251 #------------> interface 252 204 253 libariba_la_SOURCES += \ 205 254 interface/UnderlayAbstraction.cpp \ 255 interface/AribaContext.cpp \ 256 interface/ServiceInterface.cpp 257 258 nobase_libariba_la_HEADERS += \ 206 259 interface/UnderlayAbstraction.h \ 207 interface/AribaContext.cpp \208 260 interface/AribaContext.h \ 209 interface/ServiceInterface.cpp \210 261 interface/ServiceInterface.h 211 262 212 #overlay 263 #------------> overlay 264 213 265 libariba_la_SOURCES += \ 214 266 overlay/BaseOverlay.cpp \ 267 overlay/OverlayEvents.cpp 268 269 nobase_libariba_la_HEADERS += \ 215 270 overlay/BaseOverlay.h \ 216 overlay/OverlayEvents.cpp \217 271 overlay/OverlayEvents.h 218 272 219 #overlay :: messages 273 #------------> overlay :: messages 274 220 275 libariba_la_SOURCES += \ 221 276 overlay/messages/JoinReply.cpp \ 277 overlay/messages/JoinRequest.cpp \ 278 overlay/messages/OverlayMsg.cpp 279 280 nobase_libariba_la_HEADERS += \ 222 281 overlay/messages/JoinReply.h \ 223 overlay/messages/JoinRequest.cpp \224 282 overlay/messages/JoinRequest.h \ 225 overlay/messages/OverlayMsg.cpp \226 283 overlay/messages/OverlayMsg.h 227 284 228 #overlay :: modules 285 #------------> overlay :: modules 286 229 287 libariba_la_SOURCES += \ 230 288 overlay/modules/OverlayStructureEvents.cpp \ 289 overlay/modules/OverlayFactory.cpp \ 290 overlay/modules/OverlayInterface.cpp 291 292 nobase_libariba_la_HEADERS += \ 231 293 overlay/modules/OverlayStructureEvents.h \ 232 overlay/modules/OverlayFactory.cpp \233 294 overlay/modules/OverlayFactory.h \ 234 overlay/modules/OverlayInterface.cpp \235 295 overlay/modules/OverlayInterface.h 236 296 237 #overlay :: modules :: chord 238 # libariba_la_SOURCES += \ 239 # overlay/modules/chord/ChordSuccessorList.h \ 240 # overlay/modules/chord/Chord.h \ 241 # overlay/modules/chord/ChordFingerTable.h \ 242 # overlay/modules/chord/ChordSuccessorList.cc \ 243 # overlay/modules/chord/Chord.cc \ 244 # overlay/modules/chord/ChordFingerTable.cc 245 246 #overlay :: modules :: onehop 297 #------------> overlay :: modules :: onehop 298 247 299 libariba_la_SOURCES += \ 248 300 overlay/modules/onehop/OneHop.cpp \ 301 overlay/modules/onehop/messages/OneHopMessage.cpp \ 302 overlay/modules/onehop/messages/NodeListingRequest.cpp \ 303 overlay/modules/onehop/messages/NodeListingReply.cpp 304 305 nobase_libariba_la_HEADERS += \ 249 306 overlay/modules/onehop/OneHop.h \ 250 overlay/modules/onehop/messages/OneHopMessage.cpp \251 307 overlay/modules/onehop/messages/OneHopMessage.h \ 252 overlay/modules/onehop/messages/NodeListingRequest.cpp \253 308 overlay/modules/onehop/messages/NodeListingRequest.h \ 254 overlay/modules/onehop/messages/NodeListingReply.cpp \255 309 overlay/modules/onehop/messages/NodeListingReply.h 256 310 257 #utility 258 libariba_la_SOURCES += \ 311 #------------> utility 312 313 nobase_libariba_la_HEADERS += \ 259 314 utility/types.h \ 260 315 utility/messages.h \ 261 316 utility/serialization.h 262 317 263 #utility :: configuration 318 #------------> utility :: configuration 319 264 320 libariba_la_SOURCES += \ 265 321 utility/configuration/ConfigFile.cpp \ 322 utility/configuration/Configuration.cpp 323 324 nobase_libariba_la_HEADERS += \ 266 325 utility/configuration/ConfigFile.h \ 267 utility/configuration/Configuration.cpp \268 326 utility/configuration/Configuration.h 269 327 270 #utility :: internal 271 libariba_la_SOURCES += \ 328 #------------> utility :: internal 329 330 nobase_libariba_la_HEADERS += \ 272 331 utility/internal/Utilities.hpp 273 332 274 #utility :: logging 275 libariba_la_SOURCES += \ 333 #------------> utility :: logging 334 335 nobase_libariba_la_HEADERS += \ 276 336 utility/logging/Logging.h 277 337 278 #utility :: measurement 279 libariba_la_SOURCES += \ 280 utility/measurement/PathloadMeasurement.cpp \ 338 #------------> utility :: measurement 339 340 libariba_la_SOURCES += \ 341 utility/measurement/PathloadMeasurement.cpp 342 343 nobase_libariba_la_HEADERS += \ 281 344 utility/measurement/PathloadMeasurement.h 282 345 283 #utility :: messages 284 libariba_la_SOURCES += \ 346 #------------> utility :: messages 347 348 libariba_la_SOURCES += \ 349 utility/messages/Message.cpp \ 350 utility/messages/MessageControlInfo.cpp \ 351 utility/messages/MessageProvider.cpp \ 352 utility/messages/MessageReceiver.cpp \ 353 utility/messages/MessageSender.cpp \ 354 utility/messages/TextMessage.cpp 355 356 nobase_libariba_la_HEADERS += \ 285 357 utility/messages/_namespace.h \ 286 utility/messages/Message.cpp \287 358 utility/messages/Message.h \ 288 utility/messages/MessageControlInfo.cpp \289 359 utility/messages/MessageControlInfo.h \ 290 utility/messages/MessageProvider.cpp \291 360 utility/messages/MessageProvider.h \ 292 utility/messages/MessageReceiver.cpp \293 361 utility/messages/MessageReceiver.h \ 294 utility/messages/MessageSender.cpp \295 362 utility/messages/MessageSender.h \ 296 363 utility/messages/MessageUtilities.h \ 297 utility/messages/TextMessage.cpp \298 364 utility/messages/TextMessage.h 299 365 300 #utility :: misc 301 libariba_la_SOURCES += \ 366 #------------> utility :: misc 367 368 libariba_la_SOURCES += \ 369 utility/misc/Helper.cpp \ 370 utility/misc/OvlVis.cpp \ 371 utility/misc/sha1.cpp \ 372 utility/misc/StringFormat.cpp 373 374 nobase_libariba_la_HEADERS += \ 302 375 utility/misc/Demultiplexer.hpp \ 303 utility/misc/Helper.cpp \304 376 utility/misc/Helper.h \ 305 377 utility/misc/KeyMapping.hpp \ 306 utility/misc/OvlVis.cpp \307 378 utility/misc/OvlVis.h \ 308 utility/misc/sha1.cpp \309 379 utility/misc/sha1.h \ 310 utility/misc/StringFormat.cpp \ 311 utility/misc/StringFormat.h 312 313 314 #utility :: serialization 315 libariba_la_SOURCES += \ 316 utility/serialization/Serialization.cpp \ 380 utility/misc/StringFormat.h 381 382 #------------> utility :: serialization 383 384 libariba_la_SOURCES += \ 385 utility/serialization/Serialization.cpp 386 387 nobase_libariba_la_HEADERS += \ 317 388 utility/serialization/DataUtilities.hpp \ 318 389 utility/serialization/Serialization.hpp \ … … 320 391 utility/serialization/DataStream.hpp 321 392 322 #utility :: system 393 #------------> utility :: system 394 323 395 libariba_la_SOURCES += \ 324 396 utility/system/BlockingMethod.cpp \ 397 utility/system/SystemEvent.cpp \ 398 utility/system/SystemEventListener.cpp \ 399 utility/system/SystemEventType.cpp \ 400 utility/system/SystemQueue.cpp \ 401 utility/system/Timer.cpp \ 402 utility/system/StartupWrapper.cpp 403 404 nobase_libariba_la_HEADERS += \ 325 405 utility/system/BlockingMethod.h \ 326 utility/system/SystemEvent.cpp \327 406 utility/system/SystemEvent.h \ 328 utility/system/SystemEventListener.cpp \329 407 utility/system/SystemEventListener.h \ 330 utility/system/SystemEventType.cpp \331 408 utility/system/SystemEventType.h \ 332 utility/system/SystemQueue.cpp \333 409 utility/system/SystemQueue.h \ 334 utility/system/Timer.cpp \335 410 utility/system/Timer.h \ 336 utility/system/StartupWrapper.cpp \337 411 utility/system/StartupWrapper.h \ 338 412 utility/system/StartupInterface.h 339 413 340 #utility :: types 341 libariba_la_SOURCES += \ 414 #------------> utility :: types 415 416 libariba_la_SOURCES += \ 417 utility/types/Address.cpp \ 418 utility/types/Identifier.cpp \ 419 utility/types/LinkID.cpp \ 420 utility/types/Locator.cpp \ 421 utility/types/NodeID.cpp \ 422 utility/types/OverlayParameterSet.cpp \ 423 utility/types/QoSParameterSet.cpp \ 424 utility/types/SecurityParameterSet.cpp \ 425 utility/types/ServiceID.cpp \ 426 utility/types/SpoVNetID.cpp 427 428 nobase_libariba_la_HEADERS += \ 342 429 utility/types/_namespace.h \ 343 utility/types/Address.cpp \344 430 utility/types/Address.h \ 345 431 utility/types/Data.hpp \ 346 utility/types/Identifier.cpp \347 432 utility/types/Identifier.h \ 348 utility/types/LinkID.cpp \349 433 utility/types/LinkID.h \ 350 utility/types/Locator.cpp \351 434 utility/types/Locator.h \ 352 utility/types/NodeID.cpp \353 435 utility/types/NodeID.h \ 354 utility/types/OverlayParameterSet.cpp \355 436 utility/types/OverlayParameterSet.h \ 356 utility/types/QoSParameterSet.cpp \357 437 utility/types/QoSParameterSet.h \ 358 utility/types/SecurityParameterSet.cpp \359 438 utility/types/SecurityParameterSet.h \ 360 utility/types/ServiceID.cpp \361 439 utility/types/ServiceID.h \ 362 utility/types/SpoVNetID.cpp \363 440 utility/types/SpoVNetID.h 364 365 # make install stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~366 367 # libariba_ladir = ${pkgincludedir}368 #369 # #interfaces headers for make install - don't370 # #remove the here listed .h files from _SOURCES!371 # libariba_la_HEADERS = \372 # tidy/ariba.h \373 # tidy/AribaModule.h \374 # tidy/DataMessage.h \375 # tidy/Identifiers.h \376 # tidy/LinkProperties.h \377 # tidy/Module.h \378 # tidy/Name.h \379 # tidy/Node.h \380 # tidy/NodeListener.h \381 # tidy/SpoVNetProperties.h \382 # tidy/TidyCommunicationListener.h \383 # tidy/TidyMessage.h384 385 # old make install stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~386 387 #autotools does not support hierarchical folders in the header dir388 #so we copy them on our own using, similar to 14.3 in the autobook389 # header files to install - TODO: extract all *.h and *.hpp files ~~~~390 391 libariba_ladir = ${pkgincludedir}392 393 install-data-local:394 @for f in $(libariba_la_SOURCES); do \395 d=`echo $$f | sed -e 's,/[^/]*$$,,'`; \396 $(mkinstalldirs) $(DESTDIR)$(libariba_ladir)/$$d; \397 if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \398 $(INSTALL_DATA) $$p $(DESTDIR)$(libariba_ladir)/$$f; \399 done400 401 uninstall-local:402 rm -rf $(DESTDIR)$(libariba_ladir)
Note:
See TracChangeset
for help on using the changeset viewer.