Libcli provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
Tweaks a few header file includes and Makefile rules to permit building libcli on Mac OS X and FreeBSD.
The OS detection in the Makefile is GNU Make specific and does not appear to function in BSD Make, this shouldn't be a problem though as gmake is available to FreeBSD via its ports tree.
I'm not terribly certain of the implications of the OS definition at the top of the Makefile for Windows hosts, I don't have one with a toolchain on to test with unfortunately.
Tweaks a few header file includes and Makefile rules to permit building libcli on Mac OS X and FreeBSD.
The OS detection in the Makefile is GNU Make specific and does not appear to function in BSD Make, this shouldn't be a problem though as gmake is available to FreeBSD via its ports tree.
I'm not terribly certain of the implications of the OS definition at the top of the Makefile for Windows hosts, I don't have one with a toolchain on to test with unfortunately.