As an example of linking with OpenSSL libraries, you can view the Tutorial makefiles and IDE Projects in the SDK directories. For example:
/linux.x64.64bit/sdk/ctree.ctdb/tutorials/cmdline/Makefile
TOCIndex