SubDir TOP protocols xmpp ; SubDirSysHdrs [ FDirName $(TOP) ] ; SubDirSysHdrs [ FDirName $(TOP) libs ] ; SubDirSysHdrs [ FDirName $(OPENSSL_INCLUDE_DIR) ] ; SubDirSysHdrs [ FDirName $(CAYA_INCLUDE_DIR) ] ; AddOn jabber : JabberMain.cpp JabberProtocol.cpp JabberHandler.cpp : be libsupport.a libgloox.a network ssl crypto z $(TARGET_LIBSTDC++) : jabber.rdef jabber_settings.rdef ; AddOn gtalk : GoogleTalkMain.cpp GoogleTalkProtocol.cpp JabberHandler.cpp : be libsupport.a libgloox.a network ssl crypto z $(TARGET_LIBSTDC++) : gtalk.rdef gtalk_settings.rdef ; AddOn facebook : FacebookMain.cpp FacebookProtocol.cpp JabberHandler.cpp : be libsupport.a libgloox.a network ssl crypto z $(TARGET_LIBSTDC++) : facebook.rdef facebook_settings.rdef ; Depends jabber : libsupport.a ; Depends jabber : libgloox.a ; Depends gtalk : libsupport.a ; Depends gtalk : libgloox.a ; Depends facebook : libsupport.a ; Depends facebook : libgloox.a ; LINKFLAGS on jabber += -L$(OPENSSL_LIBRARY_DIR) ; LINKFLAGS on gtalk += -L$(OPENSSL_LIBRARY_DIR) ; LINKFLAGS on facebook += -L$(OPENSSL_LIBRARY_DIR) ; InstallBin $(CAYA_DIRECTORY)/protocols : jabber ; InstallBin $(CAYA_DIRECTORY)/protocols : gtalk ; InstallBin $(CAYA_DIRECTORY)/protocols : facebook ;