balabit / libtermcapparser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libtermcapparser

This repository contains a terminal emulator library originating from putty SSH client.

Build

# To build and install the library for linux:
make linux PREFIX=<path>

# To build and install the library for win32:
export XPATH=<the path containing the cross toolchain>
export XTYPE=<the type of the crosscompiler>  # eg. in case of "i686-w64-mingw32.shared",
                                              # the c compiler i686-w64-mingw32.shared-gcc will be used
make win32 PREFIX=<path>

Running the tests

# Tests check the installed version, so you'll need to specify the PREFIX:
make linux-check PREFIX=/tmp
make win32-check PREFIX=${XPATH}

Other make targets

# clean, distclean, install, install-strip, uninstall... subtargets:
make <os>-<subtarget>
# For example for the "clean" subtarget for "linux" build you would:
make linux-clean
# Note: For all these commands to work, you need to run the "dep" subtarget first!
# Note: Clean before changing os!

About

License:Other


Languages

Language:C 92.5%Language:C++ 6.1%Language:Hack 1.4%Language:Makefile 0.1%