c3270 Build and Install Instructions

All Platforms Except Sun Solaris 2 (and other SVR4-derived systems)

To build c3270, type:
    make
To install c3270 in the default install directory (/usr/local), type:
    make install
To install in a different directory, add an INSTALLDIR= clause to the make command, e.g.:
    make install INSTALLDIR=/tools

Sun Solaris 2 and other SVR4-derived systems

To build c3270, type:
    make -f Makefile.sun
To install c3270 in the default install directory (/usr/local), type:
    make -f Makefile.sun install
To install in a different directory, add an INSTALLDIR= clause to the make command, e.g.:
    make -f Makefile.sun install INSTALLDIR=/tools

Notes for Sun's C Compiler

Do not use Sun's BSD-compatibility compiler, /usr/ucb/cc. This is good advice in general, but in particular, c3270 will not build with it. If you have installed Sun's unbundled C compiler and have /usr/ucb in your $PATH before /usr/ccs/bin, then you might be using /usr/ucb/cc by accident. The workaround is to explicitly specify the compiler path to make:
make -f Makefile.sun CC=/usr/ccs/bin/cc