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 libgloox.a network ssl crypto z $(TARGET_LIBSTDC++) : jabber.rdef jabber_settings.rdef ; AddOn gtalk : GoogleTalkMain.cpp GoogleTalkProtocol.cpp JabberHandler.cpp : be libgloox.a network ssl crypto z $(TARGET_LIBSTDC++) : gtalk.rdef gtalk_settings.rdef ; AddOn facebook : FacebookMain.cpp FacebookProtocol.cpp JabberHandler.cpp : be libgloox.a network ssl crypto z $(TARGET_LIBSTDC++) : facebook.rdef facebook_settings.rdef ; Depends jabber : libgloox.a ; Depends gtalk : libgloox.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 ;