./configure make depend make(The make depend step is optional, but is helpful to ensure that things will be rebuild if you change a header file.)
To install Unix binaries in the default install directory (/usr/local), use:
make installTo install Unix manual pages, use:
make install.manTo remove intermediate files, use:
make cleanTo remove all derived files, use:
make clobber
make unixTo cross-compile just the Windows programs, use:
make windowsTo build an individual program, such as s3270, just make it:
make s3270Each of the top-level symbolic targets can be limited to a group (unix or windows) or to a program, by adding the desired prefix:
make group-depend make program-depend make unix-install make unix-install.man make program-install make program-install.man make group-clean make program-clean make group-clobber make program-clobber
--enable-unix | Include all of the Unix programs |
--enable-windows | Include all of the Windows programs |
--enable-x3270 | Include x3270 |
--enable-c3270 | Include c3270 |
--enable-s3270 | Include s3270 |
--enable-tcl3270 | Include tcl3270 |
--enable-pr3287 | Include pr3287 |
--enable-ws3270 | Include ws3270 |
--enable-wc3270 | Include wc3270 |
--enable-wpr3287 | Include wpr3287 |
make WIN64=1
msbuildThe usual msbuild options are available, such as /m, /p:Configuration (which can specify Debug, Release, SSL-Debug or SSL-Release) and /p:Platform (which can specify x86 or x64).
--help | Print a help message. |
--prefix=prefix | Install architecture-independent files under prefix (defaults to /usr/local) |
--exec-prefix=eprefix | Install architecture-dependent files (executables) under eprefix (defaults to same as prefix) |
--bindir=dir | Install user executables dir (defaults to eprefix/bin) |
--sysconfdir=dir | Install configuration files (ibm_hosts, character sets) in dir (defaults to prefix/etc). |
--disable-apl | Leave out APL character support. |
--disable-dbcs | Leave out DBCS (Double Byte Character Set) support. |
--disable-local-process | Leave out local process (connecting to "-e shell_command") support. This will be automatically disabled if the local system does not support the forkpty() library call. |
--disable-ssl | Leave out SSL (Secure Sockets Layer) support. SSL support requires the OpenSSL library. |
--with-ssl=dir | Specify the directory where the OpenSSL library is installed. |
./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include