SubDir TOP protocols msn ; SubDirSysHdrs [ FDirName $(TOP) ] ; SubDirSysHdrs [ FDirName $(TOP) libs ] ; SubDirSysHdrs [ FDirName $(TOP) libs libmsn ] ; SubDirSysHdrs [ FDirName $(OPENSSL_INCLUDE_DIR) ] ; SubDirSysHdrs [ FDirName $(CAYA_INCLUDE_DIR) ] ; AddOn msn : main.cpp MSN.cpp MSNContainer.cpp : be root $(TARGET_LIBSTDC++) ssl crypto network bnetapi libmsn.a : msn.rdef SettingsTemplate.rdef ; Depends msn : libmsn.a ; LINKFLAGS on msn += -L$(OPENSSL_LIBRARY_DIR) ; InstallBin $(CAYA_DIRECTORY)/protocols : msn ;