SubDir TOP libs libjabber ; SubDirSysHdrs [ FDirName $(TOP) ] ; SubDirSysHdrs [ FDirName $(TOP) libs ] ; if $(HAVE_OPENSSL) { SubDirSysHdrs [ FDirName $(OPENSSL_INCLUDE_DIR) ] ; } SEARCH_SOURCE += [ FDirName $(TOP) libs ] ; local sources = # libjabber JabberAgent.cpp JabberContact.cpp JabberElement.cpp JabberHandler.cpp JabberMessage.cpp JabberPresence.cpp JabberRegistration.cpp JabberVCard.cpp JabberSocketPlug.cpp Logger.cpp SHA1.cpp Base64.cpp VCardManager.cpp ; if $(HAVE_OPENSSL) { sources += JabberSSLPlug.cpp ; } StaticLibrary libjabber.a : $(sources) ;